genomic-medicine-sweden / NGPIris

NGPIris 👁 (intelligence and repository interface software) is a light-weight tool for interacting with a Boto3 backed Hitachi Content Platform
GNU General Public License v2.0
0 stars 3 forks source link

When a file is "already present" do an e-tag check to make sure its the same file #35

Open sylvinite opened 2 years ago

sylvinite commented 2 years ago

What needs to be done:

Suggestions on how to get it done:

What are the arguments for getting it done:

Task is considered finished when:

sylvinite commented 2 years ago

Subtask of #33

NisseBoman commented 2 years ago

please see https://support.hitachivantara.com/download/epcra/arc0373.pdf on page 137 for more information on how to interact with HCP using the Etag

JPWerling commented 1 week ago

Keep in mind that the generated etags are chunk size-dependent when using multipart upload. A check for similarity can therefore only work under the assumption that the chunk size has never changed.