It's impossible to check a librarian file's hash once it's expired
Bug #687752 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
The librarian hashes files on the LibraryFileContent record, which disappears when the files are garbage collected after they expire.
This means that it's impossible to check the hash has once the file is expired. This is important for Soyuz because it needs to prevent re-uploading of old files with a different hash even after they have expired.
tags: | added: soyuz-upload |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
I'm thinking this is outside the scope of the Librarian, and the one-upload-only hashes need to be duplicated in Soyuz. In particular, consider that the file had been uploaded previously as a bug attachment or a blob or similar.