Paperboy overwrites files with duplicate names
- Lingua principale
- Haskell
- Stelle
- 744
- Fork
- 22
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
If you accept the name suggestion from paperboy, it will happily overwrite any files that happen to have that name in the library folder. Luckily in this case it was overwriting another copy of the same paper but it would be nice to have overwrite safeguards.
Reproduction:
1. Create multiple copies of a pdf in Inbox folder
2. Move them to library with the same name
3. Watch duplicates vanish 😱.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Look for the file move/rename logic in the codebase, likely in a module handling file operations. The issue is about duplicate name handling during import from the Inbox to the library. Check how filenames are generated and if there's existing collision detection. A test case should be added to verify the fix prevents overwriting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- haskell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100