diff --git a/.github/DISCUSSION_TEMPLATE/proposals.yml b/.github/DISCUSSION_TEMPLATE/proposals.yml new file mode 100644 index 0000000..acde1a5 --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/proposals.yml @@ -0,0 +1,61 @@ +labels: [waiting-for-triage] +body: + - type: markdown + attributes: + value: | + Breaking changes are allowed when introducing a new major version + of the Spec, including version 1. Changes within a stable major + version must keep every valid publiccode.yml file valid. At most a + key or a value gets deprecated and the tools show a deprecation + message. + + The pull request of a change is merged only after the pull + requests in the affected core tools are approved. Read + [how to propose a change](https://github.com/publiccodeyml/publiccode.yml/blob/main/CONTRIBUTING.md#i-want-to-propose-a-change-to-the-spec) + and the + [AI tools policy](https://github.com/publiccodeyml/publiccode.yml/blob/main/AI_POLICY.md) + before you submit. + - type: textarea + id: proposal + attributes: + label: Proposal + description: The problem and the keys or values you want to add, change or deprecate. + validations: + required: true + - type: dropdown + id: compatibility + attributes: + label: Compatibility impact + options: + - No compatibility impact + - Deprecation + - Breaking change for a new major version (including version 1) + validations: + required: true + - type: textarea + id: deprecations + attributes: + label: Deprecations + description: The keys or values that get deprecated and what replaces them. Leave it empty if there are none. + - type: checkboxes + id: core-tools + attributes: + label: Affected core tools + description: See the [core tools](https://github.com/publiccodeyml/publiccode.yml#core-tools). + options: + - label: libpubliccode + - label: JSON Schema + - label: publiccode-crawler + - label: open-catalog-api + - label: publiccode-issueopener + - type: checkboxes + id: policy + attributes: + label: Commitments + options: + - label: I checked that every valid publiccode.yml file stays valid, or my proposal introduces a new major version (including version 1) + required: true + - label: I will open the pull requests in the affected core tools + required: true + - label: I understand every line I submit and can explain it without an AI tool + required: true diff --git a/.github/ISSUE_TEMPLATE/bug_or_enhancement.yml b/.github/ISSUE_TEMPLATE/bug_or_enhancement.yml index 4e0a23f..87c3916 100644 --- a/.github/ISSUE_TEMPLATE/bug_or_enhancement.yml +++ b/.github/ISSUE_TEMPLATE/bug_or_enhancement.yml @@ -6,7 +6,7 @@ body: attributes: value: | To propose a change to the Spec, open a - [discussion](https://github.com/publiccodeyml/publiccode.yml/discussions/new?category=general) + [proposal](https://github.com/publiccodeyml/publiccode.yml/discussions/new?category=proposals) instead. - type: textarea id: description diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 6974280..4479d1e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,11 @@ blank_issues_enabled: false contact_links: - - name: Proposal to change something in the Standard - url: https://github.com/publiccodeyml/publiccode.yml/discussions/new?category=general - about: I want to propose a change to the Standard + - name: Proposal to change the Spec + url: https://github.com/publiccodeyml/publiccode.yml/discussions/new?category=proposals + about: I want to propose a change to the Spec - name: New question url: https://github.com/publiccodeyml/publiccode.yml/discussions/new?category=Q-A - about: I have a question about the code or the Standard + about: I have a question about the code or the Spec - name: New idea url: https://github.com/publiccodeyml/publiccode.yml/discussions/new?category=ideas about: I have a new idea I want to share diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index a0fa205..d9f2691 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,6 +1,10 @@ - [ ] I understand every line I submit and can explain it without an AI tool ([AI tools policy](https://github.com/publiccodeyml/publiccode.yml/blob/main/AI_POLICY.md)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 52e5785..74241e0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,6 +20,22 @@ The best ways to do so are: * [Participate in discussions](https://github.com/publiccodeyml/publiccode.yml/discussions) * Once you know your contribution is ready, [open a pull request](https://github.com/publiccodeyml/publiccode.yml/pulls) +## I want to propose a change to the Spec + +Keep in mind that changes to the Spec will need to be maintained +indefinitely. Each proposal must be carefully evaluated for its long term +impact on users and tools. + +Propose the change in the +[Proposals](https://github.com/publiccodeyml/publiccode.yml/discussions/categories/proposals) +category and fill in its form: what gets deprecated, if anything, and +which [core tools](README.md#core-tools) have to implement the change. + +A pull request that changes the Spec is merged only after its pull +requests in the affected core tools are approved, +[libpubliccode](https://github.com/publiccodeyml/libpubliccode) and the +JSON Schema at least. Opening them is part of the proposal. + ## I am a Free Software developer Help us bring new Free Software into governments!