GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use the shared release-drafter config instead of a local copy by slachiewicz · Pull Request #333 · codehaus-plexus/plexus-utils

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Aug 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Part of #58, companion to codehaus-plexus/.github#64.

plexus-utils is the only repo in the org carrying a full copy of the release-drafter configuration instead of extending the shared one. Every other repo uses _extends. This replaces the copy with _extends plus the three things that are genuinely specific to plexus-utils:

  • tag-template: plexus-utils-$NEXT_PATCH_VERSION — the org default is a bare version
  • version-template: $MAJOR.$MINOR.$PATCH
  • filter-by-commitish: true — this repo releases from both master and plexus-utils-3.x, so a draft must only collect commits from the branch being released. Losing this would mix the two lines together, which is why it is kept and now carries a comment explaining why.

_extends merges at the top level, so those three keys override the shared file cleanly. The one thing to know for the future: categories is an array, and overriding it replaces the whole array rather than appending — so a future plexus-utils-only category would mean reinstating a full local categories block. Nothing here needs that.

Net effect: 59 lines of duplication removed, and the config stops drifting away from the org default on its own.


Correction to an earlier version of this description. I originally claimed the local copy had a bug — that its five categories using the singular label: key (Removed, Deprecated, Documentation, Build, Tests) never matched anything. That is wrong and I've removed it. Release-drafter accepts label: as documented shorthand for a single labels: entry — schema.json at v7.7.0 declares it as a valid category property, and the README states it plainly:

| label | Shorthand for one labels entry. |

Those categories have been working the whole time. This PR is deduplication, not a bug fix. Thanks to the reviewer who caught it.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@slachiewicz
Use the shared release-drafter config instead of a local copy
f8eda05
plexus-utils carried a full duplicate of the org release-drafter config.
It had drifted: five categories (Removed, Deprecated, Documentation,
Build, and the Removed title) used the singular `label:` key, which
release-drafter does not honour, so those categories never matched
anything. Replace the copy with `_extends` and keep only the three
plexus-utils specifics: the tag template, the version scheme and
filter-by-commitish for the parallel 3.x release line.
@slachiewicz slachiewicz added the build Pull requests that change the build process label Aug 8, 2026
@slachiewicz slachiewicz mentioned this pull request Aug 8, 2026
Documentation cleanup across the org: plan and tracking codehaus-plexus/.github#58
Closed
@slachiewicz
slachiewicz merged commit 4df3a86 into master Aug 8, 2026
13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@slachiewicz
slachiewicz deleted the release-drafter-extends branch August 8, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

build Pull requests that change the build process

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@slachiewicz
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.