Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/DISCUSSION_TEMPLATE/proposals.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_or_enhancement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<!--
Describe the problem this pull request solves and link the issue or
discussion.

A change to the Spec is merged only after its pull requests in the
affected core tools are approved, libpubliccode and the JSON Schema at
least. Link them here.
-->

- [ ] 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))
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down