Versioning or unique object identifiers in storage
- 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
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