How do we handle API versioning?
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
Start by reading the discussion in this issue and the related issue #309, then trace where CollectOSS makes GitHub and GitLab API calls. The issue raises open design questions about version detection, comparison, and storage but names no files or tests. Done means agreeing on a versioning approach for supported platforms and defining how it handles instances that update.
索引モデルが issue の本文から書いたものです。
説明
In looking at #309 recently I was playing with gitlab API calls such as https://gitlab.com/api/v4/groups/redhat%2fOSAIPO
And that /v4 in the url made me realize that we will likely need to handle several different versions of the gitlab API because we have less control over what version any particular instance may be running on a forge someone wants to use.
i assume all versioning schemes have some notion of "earlier than" and "later than" when comparing any two versions, so at least we should be able to have logic in CollectOSS that can work differently based on the version
Github docs: https://docs.github.com/en/rest/about-the-rest-api/api-versions
gitlab: https://docs.gitlab.com/api/rest/#versioning-and-deprecations
Is this also going to put us on the endless treadmill of cat and mouse games that is keeping up with the changes that github and gitlab make to their APIs?
Things to account for:
- different platforms use different version signals (
v4vs a date) so we need to handle this in a way that accepts all known/reasonable methods of doing versioning - do we need to store the version an api is using? how do we detect/avoid the need to store this and/or update this dynamically as the instance updates?
- 主要言語
- Python
- スター
- 18
- フォーク
- 33
- 平均マージ
- 2日 16時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
chaoss/CollectOSS のほかの issue
-
CLI: connectivity check prints diagnostics to stdout, breaking piped output再び着手できるかも @Nimisha987 が 10 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
chaoss/CollectOSS#548 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chaoss/CollectOSS#521 ·
メンテナーはふだん 1 日以内に返信
-
devops
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chaoss/CollectOSS#406 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Bump codeql SARIF upload Ci dependency to v4対応中かも @Dipro-cyber が 181 日前に担当しました。 オープンdependencies devops good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chaoss/CollectOSS#349 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chaoss/CollectOSS#307 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
chaoss/CollectOSS の issue をすべて見る
似ている issue
-
[Resource]: Spaicelyオープンresource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
hesreallyhim/awesome-claude-code#3875 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
bvis/aegis-hass#725 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.x対応中かも @NimaVaziri が今日担当しました。 オープンPytorch
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NVIDIA/TensorRT-LLM#23406 ·
メンテナーはふだん 1 日以内に返信