2mol / 2mol/pboy

Paperboy overwrites files with duplicate names

オープン
#6 コメント 11 件 リアクション 2 件 担当者 0 名 GitHub で見る
enhancement good first issue
主要言語
Haskell
スター
744
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
haskell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。