Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Start-up warning lists PaperPi's own built-in-* storage folders as unused

クローズ 初心者向け
#264 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

関連するプルリクエストがすでにマージされています。

  • #287 @txoof-bot による — マージ済み

評価

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

調査の方向性

この警告は src/paperpi/storage.py(270行目付近)の未使用フォルダチェックによって出力されます。このチェックは、プラグインのフォルダを [[plugin]] ブロックとだけ比較しています。src/paperpi/scheduler.py で定義された組み込みIDや config.BUILT_IN プレフィックスと合わせて読んでください。built-in-* フォルダが存在する状態で起動したときにそのフォルダに対する警告が出ないこと、それをテストが確認していること、そして削除された [[plugin]] ブロックに由来する未使用フォルダが引き続き一覧に表示されることが満たされれば完了です。

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

説明

area:core bug

Seen in the web interface demo log (2026-10-10), at start:

WARNING: plugin folders no [[plugin]] block uses (not cleaned; remove them by hand if they are not needed): ['built-in-splash']

Problem: built-in-splash is the storage folder of PaperPi's own splash screen (the built-in plugins are made in src/paperpi/scheduler.py with the IDs built-in-default, built-in-clock, built-in-splash; a [[plugin]] block can't use an ID starting with built-in). The check in src/paperpi/storage.py (around line 270) only compares the folders with the [[plugin]] blocks, so it tells the user to remove a folder PaperPi itself uses.

Wanted: the built-in plugins' folders are not listed as unused (for example: leave out every folder whose name starts with config.BUILT_IN, or pass the built-in plugins to the check too).

Done when: a start with a built-in-* folder present gives no warning for it, with a test; an unused folder of a removed [[plugin]] block is still listed.

主要言語
Python
スター
205
フォーク
17
平均マージ
5時間 42分
マージ済み PR(30日)
50

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

txoof/PaperPi のほかの issue

txoof/PaperPi の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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