2mol / 2mol/pboy

Paperboy overwrites files with duplicate names

Ouverte
#6 11 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
enhancement good first issue
Langage dominant
Haskell
Étoiles
744
Forks
22
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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 😱.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
haskell
Domaine
cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.