Versioning or unique object identifiers in storage
- 主要言語
- Python
- スター
- 2.1k
- フォーク
- 931
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 4
説明
## 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.
コントリビューションガイド
調査の方向性
まず libcloud の storage-driver インターフェースと、リモートファイルのメタデータがどのように公開されているかを確認し、次に提案されている共通ハッシュを os.stat(file).st_mtime と比較します。issue ではファイルやテストが指定されていないため、完了にはドライバー間で合意された識別子または変更検出の契約と、明確な公開 API が必要です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cloud
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100