Integrate Jetpack Changelogger CLI for changelog management - #41
Open
datengraben wants to merge 3 commits into
Open
Integrate Jetpack Changelogger CLI for changelog management#41datengraben wants to merge 3 commits into
datengraben wants to merge 3 commits into
Conversation
Add automattic/jetpack-changelogger as a dev dependency so each contribution records its changelog entry as a separate file in the changelog/ directory, avoiding merge conflicts on a shared changelog. - Configure extra.changelogger with the project's change types (added, enhanced, fixed, updated) and semver versioning - Add composer changelog:add / changelog:validate / changelog:write helper scripts - Exclude the changelog/ working directory from the built plugin zip - Document the workflow in the Contribute section of the Readme Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0157FaUSs1ZeUYSU5sjL2DYu
Point the changelogger at the plugin's readme.txt and add a custom Jetpack Changelogger formatter so 'composer changelog:write' compiles pending entries straight into the '## Changelog' section, using the project's existing 'TYPE: text' format (e.g. FIXED:, ENHANCED:). The formatter preserves every existing entry verbatim and only renders and prepends the new release, so historical changelog text (including hand-written quirks) is never rewritten. Verified round-trip fidelity against the current readme.txt and repeated releases. - tools/changelogger/class-readme-changelog-formatter.php: the formatter - Exclude tools/ from phpcs (dev-only tooling) and from the plugin zip Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0157FaUSs1ZeUYSU5sjL2DYu
Explain how contributors without a local checkout can add a changelog entry by hand-creating a file in changelog/ via GitHub's web editor, matching what composer changelog:add would generate. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0157FaUSs1ZeUYSU5sjL2DYu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add automattic/jetpack-changelogger as a dev dependency so each
contribution records its changelog entry as a separate file in the
changelog/ directory, avoiding merge conflicts on a shared changelog.
(added, enhanced, fixed, updated) and semver versioning
helper scripts
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_0157FaUSs1ZeUYSU5sjL2DYu