repo CLI: --json before the leaf name prints no document

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

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

まだ誰も着手していません。

評価

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

調査の方向性

dokimi/cli.py:83 のルート extras チェックから始め、葉の名前 repo より前に --json フラグが現れたときに、それがどのように格納されるかを追跡してください。dokimi --json repo validate . --bogus で再現し、名前の後にフラグを置いた場合と比較してください。フラグの位置にかかわらず、コマンドが期待される JSON エラードキュメントを出力すれば完了です。

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

説明

Raised in the review of PR #590 (intel/dokimi), thread PRR_kwDOVBg7g88AAAABXrLtSQ.c: https://github.com/intel/dokimi/pull/590

Found in PR #590 review. On main and on the PR, dokimi --json repo validate . --bogus exits 2 with empty stdout: the root extras check reads json from the leaf namespace (dokimi/cli.py:83), which is unset when the flag comes before the name. Outside the PR's lines.

Not fixed in PR #590: it is outside the lines that PR changes (another component, a design change, or too large for the round).

主要言語
Python
スター
15
フォーク
11
平均マージ
1日 9時間
マージ済み PR(30日)
464

環境構築

はじめの一歩

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

intel/dokimi のほかの issue

intel/dokimi の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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