hydrusnetwork / hydrusnetwork/hydrus
Duplicates system: account for re-importing previously deleted files
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.2k
- Forks
- 207
- PR merge metrics
- No merged PRs in 30d
Description
(sort of related to #803)
If you unknowingly re-import previously deleted files, it's difficult to detect them as duplicates again.
Please provide something similar to "exclude previously deleted files" for imports that recognizes if the hash has an existing duplicate (and the file exists), i.e. a way to exclude previously deleted files with existing duplicate vs. those without.
This helps when when consolidating files, e.g. if you're importing a large folder and just want to delete files that already exist in hydrus, which may have better versions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review related issue #803 and trace the import flow that checks file hashes against existing and previously deleted files. Define how imports distinguish files with an existing duplicate from those with no surviving duplicate, then verify the behavior when consolidating a large folder. Done means the import can exclude the requested category without excluding the other.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100