Remove the random suffix from uploads #11
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Priorità
Media
Priorità
Urgente
Rifiutato
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
techbloc/caricari#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We save files with a random suffix, to avoid conflicts. But we don't need to upload those files the same way. We can use the intended file name.
This requires a change to the interface of
uploader.UploaderBackendsubclasses:def copynow need to have a second parameter, of typedatabase.Original.name. That will allowArchiveBackend.copyto usename, instead offilename.name, as the destination bucket and filename.