docs: README examples no longer match v0.21.0's output
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 77/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
README.mdで引用されたセクションから始めます。1472〜1525行付近の例、-V=fullの説明、不正なディレクティブの表、行番号の例を確認します。commit 510cad4でドキュメントに記載されたコマンドを実行し、その出力をREADMEの各ブロックと比較します。古い、または不完全な例や記述を更新し、行番号の表記規則を一つに定め、可能であればsurveyおよびinspectブロックのgolden testを追加します。ドキュメントに記載された出力と主張がコマンドと一致したら完了です。
索引モデルが issue の本文から書いたものです。
説明
These were checked by running the commands at 510cad4.
Example output
-
"Silencing an unused report" (
README.md:591-594): it runs plaindeclscope ./..., which is strict by default, but shows the loose wordingnothing it reaches takes a scope. v0.21.0 prints…on B: it already has shared scope, and the same forT.F. -
Survey and inspect samples (
README.md:1472-1525): several numbers are out of date, and rows are silently left out.Item README v0.21.0 Survey declared20 29 markdown → cellmutualempty yesmarkdown → cellreached7 of 107 of 18markdown → sink5 of 17, 28 uses5 of 18, 25 usesgolden → (core)4 of 784 of 79format → json2 of 1052 of 107Open declarations 114 109 The survey sample leaves out the
Packages — qualifytable. The inspect sample drops rows such asjson → summaryfrom the middle of the table, and cuts the "Declarations crossed" sentence short.
Statements
-
-V=full(README.md:227) says "A build from a checkout answersdevel".go buildin a checkout answers a VCS version. Onlygo run, or a build with-buildvcs=false, answersdevel. -
The malformed-directive table (
README.md:628-630) gives one directive's message for another:Input README Actual //declscope:coretwiceduplicate declscope:namespace directiveduplicate declscope:core directiveTwo identical ignores duplicate declscope:shared directiveduplicate declscope:ignore directiveA stray //declscope:coredeclscope:namespace must appear…declscope:core must appear… -
Line numbers are counted two ways. Most examples treat the
// file.gocaption as outside the file (lines 114-115, 770-778, 1066 and 1159). The strict-fix example (534-537) and theaccount.goexample (1100) count it as line 1.
Suggested fix
- Regenerate the samples, or mark them as excerpts.
- Use
<name>in the message table. - Pick one convention for line numbers.
- A golden test over the survey and inspect README blocks would keep them from drifting again.
- 主要言語
- Go
- スター
- 42
- フォーク
- 1
- 平均マージ
- 1時間 18分
- マージ済み PR(30日)
- 94
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mpyw/declscope のほかの issue
-
bug P3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mpyw/declscope#262 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation P3
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
bug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
bug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
usage: a custom provider's balance meters ("…%" in the balance path) ignore the Left/Used switchオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug iam-service
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
platform-mesh/platform-mesh#425 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
grafana/tempo-operator#1691 ·
メンテナーはふだん 1 日以内に返信
-
fix: presentation.go with mcp-table.go: the message for each MCP server comes back対応中かも @mge1512 が今日担当しました。 オープンbug
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
mark3labs/kit#242 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
slavakurilyak/awesome-ai-agents#827 ·
メンテナーはふだん 1 日以内に返信