Pin records which Upstream Version the Rebuild counts against #16
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.
Blocks
#7 Publish the Image on push to main
vicoli-oss/docker-forgejo-mcp
#8 Renovate opens bump PRs for new Upstream Versions
vicoli-oss/docker-forgejo-mcp
Reference
vicoli-oss/docker-forgejo-mcp#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What to build
Make the Pin record which Upstream Version its Rebuild number counts against, so that bumping the Upstream Version never has to touch the Rebuild (decided in the grilling on #5, recorded in ADR 0003).
pin.envgetsREBUILD_OF=v3.2.0next toREBUILD=1. Update its comment: for a Rebuild, setREBUILD_OFto the currentUPSTREAM_VERSIONand raiseREBUILD.REBUILDifREBUILD_OFequalsUPSTREAM_VERSION, otherwise1.TAGuses it.maketarget that prints the tag (e.g.make print-tag), so CI (#6, #7) reads the tag from one place instead of repeating this logic.Acceptance criteria
UPSTREAM_VERSION=v3.2.0 REBUILD=2 REBUILD_OF=v3.2.0gives tag3.2.0-r2UPSTREAM_VERSION=v3.3.0 REBUILD=2 REBUILD_OF=v3.2.0gives tag3.3.0-r13.2.0-r1, andmake buildandmake smoke-teststill workmake print-tagprints only the tagBlocked by
Context: see
GLOSSARY.md(Upstream, Upstream Version, Image, Rebuild, Consumer, Pin) anddocs/adr/(0001 build from Upstream source for multi-arch, 0002 canonical Upstream not the Codeberg mirror, 0003 tag scheme and immutable Rebuild tags, 0004 public orgvicoli-oss).