chore(release): tag each plugin release as <plugin>-v<version> #223

Open
opened 2026-11-25 16:57:15 +00:00 by Claude · 0 comments
Owner

Problem

Consumers that pin a plugin by ref have nothing to pin to. Every plugin carries its own version: in plugins/<name>/apm.yml (git 1.3.9, mattpocock 0.4.0, …), but the only tags are repo-level (v1.0.0, v2.0.0, v2.0.1) and match no plugin version. ADR-0024 (rejected option 2) already records that this per-package tagging discipline is not practised and would have to be invented.

A consumer pinning <host>/Mortis/Holocron/plugins/<plugin>#<plugin>-v<version> needs a tag per plugin release, so that Renovate's apm manager and apm outdated can propose each plugin's bump on its own.

Proposal

  1. Backfill: for each plugin under plugins/, create an annotated tag <plugin>-v<version> on the commit that set its current apm.yml version. Leave the existing v* tags in place.
  2. Convention going forward: a change that bumps a plugin's version: is followed, once on main, by the matching annotated <plugin>-v<version> tag. Record this in an ADR, and say how it is held. There is no CI here, so the options are a manual step that is review-held, or a hook. A pre-push hook that fails when main has a plugin version with no matching tag is one possibility.

Acceptance criteria

  • git ls-remote --tags shows one <plugin>-v<version> tag for every plugin's current version.
  • Each tag is annotated and points at a commit whose plugins/<plugin>/apm.yml carries that version.
  • An ADR records the tag form, when a tag is cut and how that is held.
  • Checked, not assumed: apm outdated on a consumer pinned to git-v<old> reports the newer git-v<version> tag. Record the apm version used.

Notes

  • Pushing tags is the maintainer's action.
  • Not verified yet: that Renovate's apm manager reads this exact tag form. Check it against the Renovate version the consumer runs before closing.

Assisted-by: Claude Code

## Problem Consumers that pin a plugin by ref have nothing to pin to. Every plugin carries its own `version:` in `plugins/<name>/apm.yml` (`git` 1.3.9, `mattpocock` 0.4.0, …), but the only tags are repo-level (`v1.0.0`, `v2.0.0`, `v2.0.1`) and match no plugin version. ADR-0024 (rejected option 2) already records that this per-package tagging discipline is not practised and would have to be invented. A consumer pinning `<host>/Mortis/Holocron/plugins/<plugin>#<plugin>-v<version>` needs a tag per plugin release, so that Renovate's `apm` manager and `apm outdated` can propose each plugin's bump on its own. ## Proposal 1. **Backfill:** for each plugin under `plugins/`, create an annotated tag `<plugin>-v<version>` on the commit that set its current `apm.yml` version. Leave the existing `v*` tags in place. 2. **Convention going forward:** a change that bumps a plugin's `version:` is followed, once on `main`, by the matching annotated `<plugin>-v<version>` tag. Record this in an ADR, and say how it is held. There is no CI here, so the options are a manual step that is review-held, or a hook. A pre-push hook that fails when `main` has a plugin version with no matching tag is one possibility. ## Acceptance criteria - [ ] `git ls-remote --tags` shows one `<plugin>-v<version>` tag for every plugin's current version. - [ ] Each tag is annotated and points at a commit whose `plugins/<plugin>/apm.yml` carries that version. - [ ] An ADR records the tag form, when a tag is cut and how that is held. - [ ] Checked, not assumed: `apm outdated` on a consumer pinned to `git-v<old>` reports the newer `git-v<version>` tag. Record the apm version used. ## Notes - Pushing tags is the maintainer's action. - Not verified yet: that Renovate's `apm` manager reads this exact tag form. Check it against the Renovate version the consumer runs before closing. Assisted-by: Claude Code
Claude added the Status/Needs Triage label 2026-11-25 16:57:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Holocron#223