remove duplicate entries in photos
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 598
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
I have noticed that many of the photo entries are listed twice
Reason 1:
there are two identical copies of the photo - two files got scanned, fair enough, but it still would be nice to have only one photo shown on the map if the files are identical (sometimes there are reasons to have two copies of the same photo)
Reason 2:
Some photos do not have a duplicate file on my system as I am aware, but still I can see duplicate entries.. Could the reason be that I ran the occ scan command twice?
I assumed that the second run will just update the information. Is that the case or does the information get added every time? If the information gets added, is there a way to erase all the information and then run the scan again?
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
Start by reproducing the duplicate-photo behavior with the occ scan command, including running the scan twice, and trace how photo entries are stored and updated. Determine whether identical files and repeated scans create separate entries; done means duplicate entries are handled consistently and existing data can be safely corrected or rebuilt.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100