Docs: document `doctor --json` output and exit codes for monitoring scripts
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 75/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- documentation, testing
調査の方向性
hub/cloudbridge_hub/doctor.pyを読んで--jsonの出力フィールドと終了コードを特定し、次にhub/tests/test_selfhost.pyを確認して既存のテストパターンを調べます。docs/install/hub-docker.mdまたは新しいdocs/operations.mdにドキュメントアドレスを使った例を記載し、終了コード2に対するローカルなシェルアラートの例を追加して、hub/tests/配下のテストでトップレベルのJSONキーを固定します。
索引モデルが issue の本文から書いたものです。
説明
Context
cloudbridge-hub doctor exits 0/1/2 and supports --json, which is handy for cron or monitoring, but the JSON shape
is only visible in the code.
Acceptance criteria
- A section in
docs/install/hub-docker.md(or a newdocs/operations.md) with an example JSON output using
documentation addresses, the meaning of each field and the exit codes. - A small example shell snippet that alerts locally on exit code 2.
- A test in
hub/tests/that pins the top-level JSON keys, so the docs stay correct.
Pointers
hub/cloudbridge_hub/doctor.py,hub/tests/test_selfhost.py
- 主要言語
- Kotlin
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ft-dev-org/cloudbridge-oss のほかの issue
-
difficulty: beginner documentation help wanted networking
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
difficulty: beginner documentation help wanted self-hosting
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
difficulty: beginner documentation good first issue self-hosting
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
difficulty: beginner documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
backend difficulty: beginner enhancement self-hosting
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ft-dev-org/cloudbridge-oss の issue をすべて見る
似ている issue
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
codual-ai/designlane#58 ·
メンテナーはふだん 1 日以内に返信
-
[Request]: Kylleneオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
ScoopInstaller/Extras#19589 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
feature request needs decision
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
tswistak/Battery-Monitor#207 ·
メンテナーはふだん 1 日以内に返信