(auto)generate up-to-date documentation
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- api, backend, documentation
調査の方向性
まず、リンクされた staging /docs エンドポイントにある既存の FastAPI ドキュメントと、概念実証で示されている kernelci.api.models モジュールを確認します。現在、kci コマンド、API エンドポイント、Node サブクラスがどのように表現されているかを比較し、そのうえで、生成されるドキュメントで 3 つすべての領域をカバーする必要があるものを定義します。合意したドキュメントが生成され、ユーザーと開発者の両方が利用できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
As mentioned in other issues (such as #2040 and #2092), the new system lacks documentation for both users and developers.
A first step in solving this problem could be to look at auto-generation for items easily documented in the code itself. this includes:
kcicommands- API endpoints
fastapialready provides some kind of endpoint/schema documentation, but it's incomplete and barely usable; we could, however, have a look at how this works and get some inspiration there
- Node types & formats
- Partly provided by
fastapi(see above) but only documents the top-levelNodemodel, not any of its sub-classes - We could create a script which would leverage pydantic's schema() creation facilities, see the following PoC for an example:
- Partly provided by
import kernelci, inspect
from kernelci.api.models import *
def iskcimodel(model):
if (inspect.isclass(model) and
model.__module__ == "kernelci.api.models" and
hasattr(model, 'schema')):
return True
return False
for name, myclass in inspect.getmembers(kernelci.api.models, iskcimodel):
print(f"{name} -> {myclass.schema()}")
- 主要言語
- Python
- スター
- 119
- フォーク
- 109
- 平均マージ
- 7時間 30分
- マージ済み PR(30日)
- 14
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
kernelci/kernelci-core のほかの issue
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
kernelci/kernelci-core#2591 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
kernelci/kernelci-core#3243 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
kernelci/kernelci-core#3234 ·
メンテナーはふだん 1 日以内に返信
-
Make Kubernetes job network readiness checks bounded and deployment-independent再び着手できるかも @Aniket1260 が 47 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンgood first issue techdebt
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
kernelci/kernelci-core#3197 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
chromeos techdebt
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
kernelci/kernelci-core#3196 ·
メンテナーはふだん 1 日以内に返信
kernelci/kernelci-core の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
sierra-research/tau2-bench#635 ·
メンテナーはふだん 1 日以内に返信
-
The add-ssm-model skill requires a Cython simulator; the contributing guide allows Python ones対応中かも @fmuia が今日担当しました。 オープンdocumentation skill
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
lnccbrown/ssm-simulators#406 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
btclib-org/btclib-ecc#309 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jbacalso24/mimry#459 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] POST /revoke with a FastMCP access token is a silent no-op (ownership gate never matches)オープンauth bug high-priority
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信