Community Specification: `coc_policy='org'` is not in the `csl_coc_policy` vocabulary
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 52/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- documentation, tooling
调研方向
Read framework-design.md section 7.8 and the csl_coc_policy definition in community-spec.toml, then compare the accepted values with the tool description, templates/csl_notices.tmpl, scripts/csl_onboard.py, and docs/CSL_ONBOARDING.md. Decide which vocabulary to use and make the listed sources agree. Add the proposed test verifying every value accepted by the tool appears in the key's values; done means that test passes.
由索引模型根据 Issue 内容生成。
描述
remediate_community_spec and its tool description tell agents to pass coc_policy='org' (with coc_reference) when a project already has a Code of Conduct, and templates/csl_notices.tmpl branches on context.csl_coc_policy == 'org'. The context definition in community-spec.toml declares [context.csl_coc_policy] as an enum with values = ["csl", "umbrella"].
Since feature 042 each key has one vocabulary (framework-design.md 7.8), and confirm_project_data accepts only a key's values. So:
- A person cannot confirm
csl_coc_policy = "org"throughconfirm_project_data, so a confirmed value can never select the org branch; only an explicit tool parameter can. get_pending_datalistscslandumbrellaas the only choices, while the tool text andscripts/csl_onboard.py --coc-policyofferorg.
Proposed fix: decide the vocabulary once (either add org to values with a prompt/hint that describes it, or map org onto umbrella everywhere), then make the TOML, the template, the tool description and validation, scripts/csl_onboard.py, and docs/CSL_ONBOARDING.md agree. Add a test that every value the tool accepts is in the key's values.
- 主要语言
- Python
- 星标
- 22
- 派生
- 27
- 平均合并
- 2 天 5 分钟
- 30 天内合并 PR
- 50
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
darnitdevorg/darnit 的其他 Issue
-
ci needs triage
难度 2/5 1-3 小时 新手友好度 62/100
darnitdevorg/darnit#607 ·
维护者通常 2 天内回复
-
dependencies module-baseline needs triage
难度 2/5 1-3 小时 新手友好度 68/100
darnitdevorg/darnit#606 ·
维护者通常 2 天内回复
-
A test starts real Sigstore signing (interactive OIDC login) when the attestation extra is installed可能已有人在做 @mlieberman85 于 1 天前认领。 未关闭module-baseline needs triage testing
难度 2/5 1-3 小时 新手友好度 65/100
darnitdevorg/darnit#604 ·
维护者通常 2 天内回复
-
`darnit validate` crashes on openssf-baseline.toml summarising levels可能已有人在做 @i-am-paradox 于 5 天前认领。 未关闭interface-cli module-core
难度 2/5 1-3 小时 新手友好度 78/100
darnitdevorg/darnit#589 · 1 条评论 ·
维护者通常 2 天内回复
-
good first issue maintenance
难度 2/5 1-3 小时 新手友好度 83/100
darnitdevorg/darnit#587 · 2 条评论 ·
维护者通常 2 天内回复
查看 darnitdevorg/darnit 的全部 Issue
相似的 Issue
-
Issue Triage-Needed
难度 2/5 1-3 小时 新手友好度 68/100
pulp/pulp_container#2581 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
521xueweihan/HelloGitHub#4040 ·
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
ClanGenOfficial/clangen#6313 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug(trainer): CustomTrainer func_args with non literal values fail inside the TrainJob可能已有人在做 @avanishkasar 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复