apache / apache/libcloud

Versioning or unique object identifiers in storage

Đang mở
#2,010 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2.1k
Fork
931
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
4

Mô tả

## Feature Request

I want to synchronize my local files with different cloud storages. So, for this I would like to have some mechanism to check if a file in the cloud differs from my file. Unfortunately, I could not find any appropriate feature in libcloud.

I propose using the same hash method for all storage drivers and make it public, so anyone can check if file is the same in a local system and in any cloud.

However, this approach doesn't allow to determine where the file was changed, so, alternatively, we can use modify_time from `os.stat(file).st_mtime` or, maybe, you have a better idea.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng việc xem xét các interface storage-driver của libcloud và cách metadata của tệp từ xa được cung cấp, sau đó so sánh hash dùng chung được đề xuất với os.stat(file).st_mtime. Issue không nêu tệp hay test nào; để hoàn thành sẽ cần một mã định danh dùng chung giữa các driver hoặc một contract đã được thống nhất về việc phát hiện thay đổi, cùng với một API công khai rõ ràng.

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

Đánh giá

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

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.