Support deduplication before upload occurs

Đang mở
#1,082 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

The issue does not name files, tests, or an entry point. Start by locating pulp-cli’s upload actions and the existing two-step checksum/object lookup, then clarify the checksum size threshold, repository scope, and expected behavior. Done means upload actions consistently avoid sending objects already present on the server.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature request

Summary

when using any of the upload actions pulp-cli should check if an object with the same checksum already exists on the server

This can already be done as 2 step process but i see no reason why this shouldn’t be the default behaviour

  • the md5checksum is a bit expensive so constrain it so file size is larger that some configured value

  • Potentially limit the asset search to a give repo

Maybe this is a design decision to keep the calls 1:1 with the API but in this case its a client side activity that needs to occur

Versions

n/a

Examples

n/a

Ngôn ngữ chính
Python
Star
44
Fork
52
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pulp/pulp-cli

Tất cả issue của pulp/pulp-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.