Avoid duplicate of attachment by using a hash algorithm
Registered by
Nicolas DS
Each time a file is uploaded, compute the hash of the file.
Check if the hash already exists in database:
yes => make a link
no => Store the hash, with file content.
It will avoid using disk space for nothing.
A hash algorithm like SHA-1, SHA-256 could be used.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
(?)
Work Items
Dependency tree
![](deptree.png)
* Blueprints in grey have been implemented.