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 — doc: add triaging section to releases.md · nodejs/node@23cd76e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc
    • releases.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/releases.md‎

Copy file name to clipboardExpand all lines: doc/releases.md
+32-7Lines changed: 32 additions & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,22 @@ $ git reset --hard upstream/v1.x-staging
138138
```
139139

140140
If the staging branch is not up to date relative to `master`, bring the
141-
appropriate commits into it. To determine the relevant commits, use
141+
appropriate PRs and commits into it.
142+
143+
Go through PRs with the label `vN.x`. e.g. [PRs with the `v8.x` label](https://github.com/nodejs/node/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc+label%3Av8.x).
144+
145+
For each PR:
146+
- Run or check that there is a passing CI.
147+
- Check approvals (you can approve yourself).
148+
- Check that the commit metadata was not changed from the `master` commit.
149+
- If there are merge conflicts, ask the PR author to rebase.
150+
Simple conflicts can be resolved when landing.
151+
152+
When landing the PR add the `Backport-PR-URL:` line to each commit. Close the
153+
backport PR with `Landed in ...`. Update the label on the original PR from
154+
`backport-requested-vN.x` to `backported-to-vN.x`.
155+
156+
To determine the relevant commits, use
142157
[`branch-diff`](https://github.com/nodejs/branch-diff). The tool is available on
143158
npm and should be installed globally or run with `npx`. It depends on our commit
144159
metadata, as well as the GitHub labels such as `semver-minor` and
@@ -152,14 +167,24 @@ For a list of commits that could be landed in a patch release on v1.x:
152167
$ branch-diff v1.x-staging master --exclude-label=semver-major,semver-minor,dont-land-on-v1.x,backport-requested-v1.x --filter-release --format=simple
153168
```
154169

155-
Carefully review the list of commits looking for errors (incorrect `PR-URL`,
156-
incorrect semver, etc.). Commits labeled as `semver-minor` or `semver-major`
157-
should only be cherry-picked when appropriate for the type of release being
158-
made. Previous release commits and version bumps do not need to be
170+
Previous release commits and version bumps do not need to be
159171
cherry-picked.
160172

161-
If commits were cherry-picked in this step, push to the staging branch to keep
162-
it up-to-date.
173+
Carefully review the list of commits:
174+
- Checking for errors (incorrect `PR-URL`)
175+
- Checking semver status - Commits labeled as `semver-minor` or `semver-major`
176+
should only be cherry-picked when appropriate for the type of release being
177+
made.
178+
- If you think it's risky so should wait for a while, add the `baking-for-lts`
179+
tag.
180+
181+
When cherry-picking commits, if there are simple conflicts you can resolve
182+
them. Otherwise, add the `backport-requested-vN.x` label to the original PR
183+
and post a comment stating that it does not land cleanly and will require a
184+
backport PR.
185+
186+
If commits were cherry-picked in this step, check that the test still pass and
187+
push to the staging branch to keep it up-to-date.
163188

164189
```console
165190
$ git push upstream v1.x-staging

0 commit comments

Comments
0 (0)
You are visitor 01402503 — 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.