feat: Pin records which Upstream Version the Rebuild counts against #17
No reviewers
Labels
No labels
bug
enhancement
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
vicoli-oss/docker-forgejo-mcp!17
Loading…
Reference in a new issue
No description provided.
Delete branch "piscis/forgejo-16-implement"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Pin now records which Upstream Version its Rebuild counts against (ADR 0003). Bumping
UPSTREAM_VERSIONalone resets the Rebuild to 1, so Renovate never has to touchREBUILD.make print-tagprints onlyTAG, so CI (#6, #7) reads the tag from the Makefile instead of repeating the rule.MAKEFLAGS += --no-print-directorykeepsmake -C <dir> print-tagclean on GNU Make 4.x (explicit-wstill prints the directory lines, by request).Evidence
v3.3.0withREBUILD=2→3.3.0-r2. There was no target that printed the tag.After (local GNU Make 3.81, command-line overrides):
GNU Make 4.4.1 (alpine container),
make -C <dir> print-tag:make buildandmake smoke-test(Docker 29.4.0, buildx v0.33.0; build layers came from the local cache):Review follow-up: the match is now an exact
ifeqon the stripped values, not$(filter), so malformed values fall back tor1. Before this change the same commands gave3.2.0-r2and3.%-r2:I re-ran all the checks above after this change. Same output, and the build and smoke test still pass on both architectures.
Merge Danger
Door: two-way
Only
pin.envand the Makefile change. Revert restores the oldTAG.Blast Radius: local-build
Nothing publishes yet. The tag for the current Pin is still
3.2.0-r1. Watch out: a Rebuild that raisesREBUILDbut forgetsREBUILD_OFsilently stays atr1. Thepin.envcomment now spells out both cases: raiseREBUILDifREBUILD_OFalready matches, otherwise setREBUILD_OFandREBUILD=2. CI's "tag already exists" refusal (ADR 0003) will catch this.Closes #16