Repository navigation
docs: backport to every newer minor version too - #27621
Conversation
vaadin-review-bot
left a comment
There was a problem hiding this comment.
✅ Nothing to flag — the changes look good.
vaadin-review-bot
left a comment
There was a problem hiding this comment.
Reviewed the changes — left 1 comment.
| Finding | |
|---|---|
| 📝 | The rule says "every minor version" where only the maintained branches can take a target/ label |
| converting the existing call sites — is a behavior change of its own, open it | ||
| on top of the branch under review instead of growing that branch. | ||
|
|
||
| Backport a change to every minor version from the one it has to reach up to |
There was a problem hiding this comment.
📝 The rule says "every minor version" where only the maintained branches can take a target/ label
This repository already defines the set of branches that take backports: the on.push.branches list in .github/workflows/validation.yml, which scripts/checkReleases.js reads as the single source of maintained branches (today 23.6, 23.7, 24.4–24.10, 25.0–25.3). "Every minor version" is wider than that set. A fix that has to reach 23.7, read by the letter, asks for target/24.0 through target/24.3, lines that get no releases and no picks.
Scoping the rule to maintained minors, and pointing at that list, keeps it followable outside the one range the example happens to cover.
CONVENTIONS.md:638 · documentation
Docs · CONVENTIONS.md · contributors backporting fixes
Adds a rule to the Commit & PR Hygiene section of
CONVENTIONS.md: a backport goes to every minor version from the oldest one it has to reach up tomain, not only to that one, so a fix never disappears when an application upgrades to a newer minor or major.Risks:
✅ Documentation only, no code change.
Example in the rule: with
mainat 25.5, getting a fix into 24.4 meanstarget/labels for 24.4 through 24.10 and for 25.0 through 25.4.Working on behalf of @Artur-