Add the changelog and the check of its convention (MIL-004 task 2) #77

Merged
Tirsvad merged 1 commits from mil-004-changelog-convention into main 2026-10-10 16:51:45 +02:00
Owner

Adds the changelog and the check of its convention (MIL-004 task 2, issue #21).

Changes

  • CHANGELOG.md: the header states the version rules of ADR-0006 and the four groups in their fixed order (Breaking, Added, Changed, Fixed). [Unreleased] holds what the first release 1.0.0 will contain: the sync and publish-wiki scoped workflows, the credential preflight and categorized errors, the reusable quality-checks workflow, the guides and wiki pages, the scripts as files, and the secret change (bare tokens TOKEN_FOR_GITEA, PAT_FOR_GITHUB and TOKEN_FOR_GITEA_WIKI, replacing the JSON CREDENTIALS_FOR_GITHUB).
  • tools/changelog.py: check verifies the convention (Unreleased first, descending versions, dates, known groups, no empty group; a Breaking entry needs a new major version and a new major version needs a Breaking entry; --version requires an entry for a version) and notes <version> prints the text for the release page. Task 4 of this milestone (the release workflow, #24) can use both.
  • guides/release-process.md: steps 3 and 6 use the two commands.
  • Tests (211 pass, 18 new): tests/test_changelog.py covers the parser, each rule, the notes, the command line, and that this repository's own changelog passes.

Not done here

No tag is created and 1.0.0 is not cut: the changelog says plainly that until it is tagged the workflows are delivered from main and are not pinned. Cutting the release is a separate, deliberate step of the release process.

Wiki pages changed (rule 8)

None.

Closes #21

Adds the changelog and the check of its convention (MIL-004 task 2, issue #21). ## Changes - `CHANGELOG.md`: the header states the version rules of ADR-0006 and the four groups in their fixed order (Breaking, Added, Changed, Fixed). `[Unreleased]` holds what the first release `1.0.0` will contain: the sync and publish-wiki scoped workflows, the credential preflight and categorized errors, the reusable quality-checks workflow, the guides and wiki pages, the scripts as files, and the secret change (bare tokens `TOKEN_FOR_GITEA`, `PAT_FOR_GITHUB` and `TOKEN_FOR_GITEA_WIKI`, replacing the JSON `CREDENTIALS_FOR_GITHUB`). - `tools/changelog.py`: `check` verifies the convention (Unreleased first, descending versions, dates, known groups, no empty group; a `Breaking` entry needs a new major version and a new major version needs a `Breaking` entry; `--version` requires an entry for a version) and `notes <version>` prints the text for the release page. Task 4 of this milestone (the release workflow, #24) can use both. - `guides/release-process.md`: steps 3 and 6 use the two commands. - Tests (211 pass, 18 new): `tests/test_changelog.py` covers the parser, each rule, the notes, the command line, and that this repository's own changelog passes. ## Not done here No tag is created and `1.0.0` is not cut: the changelog says plainly that until it is tagged the workflows are delivered from `main` and are not pinned. Cutting the release is a separate, deliberate step of the release process. ## Wiki pages changed (rule 8) None. Closes #21
Tirsvad added 1 commit 2026-10-10 16:51:24 +02:00
Add the changelog and the check of its convention
TirSystem/github-action: Publish wiki / publish-wiki (push) Skipped
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Skipped
Validate workflows / validate (pull_request) Successful in 16s
930e67ad7e
CHANGELOG.md holds an [Unreleased] section with what the first release
v1.0.0 will contain, in the groups Breaking, Added, Changed and Fixed.
tools/changelog.py checks the convention of ADR-0006 (Unreleased first,
descending versions, dates, a Breaking entry needs a new major and a new major
needs one) and prints the notes of a release for the release page. The
release process guide uses both.

Task: MIL-004#2
Tirsvad merged commit 297095bdfb into main 2026-10-10 16:51:45 +02:00
Tirsvad deleted branch mil-004-changelog-convention 2026-10-10 16:51:45 +02:00
Sign in to join this conversation.