add a startup task to populate `forge_instances` on startup if none are configured
维护者通常 1 天内回复
@MoralCode 已经在做这个了。
开始于 2026年10月6日。
评估
这个 Issue 还没有评估数据。
描述
preflight.py needs a function that can conditionally populate data at startup.
This would be used to populate instance entries in the new forge_instances table (#293) because, after #132 is resolved, new instances will not replay the migrations on initialization, and thus will need their own mechanism to populate this and other data that makes this issue a blocker.
This startup population mechanism should only really be used for the GitHub and GitLab forges for historical reasons. Other forges should be configured by the user.
Both methods of populating forge_instances (this and the migration) should initially populate the same data (including privacy information - #521), however this startup check mechanism to guard against starting up with zero forges configured may be updated, such as when future privacy policy reviews are completed by the maintainers.
This data population mechanism at startup can (and should) also be reused to provide things like default repos (to resolve #34) when the new database initialization comes about.
- 主要语言
- 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
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionError可能已有人在做 @jejjohnson 今天认领。 未关闭type:bug
难度 2/5 1-3 小时 新手友好度 72/100
jejjohnson/integrix#144 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
finos/ai-governance-framework#459 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
freelawproject/litigant-portal#1307 ·
维护者通常 2 天内回复
-
type/bug
难度 1/5 1 小时以内 新手友好度 86/100
h2oai/h2o-llmstudio#1163 ·
维护者通常 1 天内回复