Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Community Specification: `coc_policy='org'` is not in the `csl_coc_policy` vocabulary

オープン
#522 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

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 の本文から書いたものです。

説明

quality

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" through confirm_project_data, so a confirmed value can never select the org branch; only an explicit tool parameter can.
  • get_pending_data lists csl and umbrella as the only choices, while the tool text and scripts/csl_onboard.py --coc-policy offer org.

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日 28分
マージ済み PR(30日)
40

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

darnitdevorg/darnit のほかの issue

darnitdevorg/darnit の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。