2mol / 2mol/pboy

Paperboy overwrites files with duplicate names

Abierto
#6 11 comentarios 2 reacciones 0 asignados Ver en GitHub
enhancement good first issue
Lenguaje dominante
Haskell
Estrellas
744
Forks
22
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
haskell
Área
cli
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.