How do we handle API versioning?
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 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 小时
- 30 天内合并 PR
- 12
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
chaoss/CollectOSS 的其他 Issue
-
CLI: connectivity check prints diagnostics to stdout, breaking piped output可能重新可做 @Nimisha987 于 10 天前认领,目前没有进行中的 PR。 未关闭
难度 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-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 天内回复