@@ -53,10 +53,10 @@ For package version upgrades and such a one-line commit message is usually suffi
5353Follow these steps to backport a change into a release branch in compliance with the [commit policy](https://nixos.org/nixpkgs/manual/#submitting-changes-stable-release-branches).
5454
55551. Take note of the commits in which the change was introduced into `master` branch.
56−2. Check out the target _release branch_, e.g. `release-20.09`. Do not use a _channel branch_ like `nixos-20.09` or `nixpkgs-20.09`.
56+2. Check out the target _release branch_, e.g. `release-21.11`. Do not use a _channel branch_ like `nixos-21.11` or `nixpkgs-21.11-darwin`.
57573. Create a branch for your change, e.g. `git checkout -b backport`.
58584. When the reason to backport is not obvious from the original commit message, use `git cherry-pick -xe <original commit>` and add a reason. Otherwise use `git cherry-pick -x <original commit>`. That's fine for minor version updates that only include security and bug fixes, commits that fixes an otherwise broken package or similar. Please also ensure the commits exists on the master branch; in the case of squashed or rebased merges, the commit hash will change and the new commits can be found in the merge message at the bottom of the master pull request.
59−5. Push to GitHub and open a backport pull request. Make sure to select the release branch (e.g. `release-20.09`) as the target branch of the pull request, and link to the pull request in which the original change was comitted to `master`. The pull request title should be the commit title with the release version as prefix, e.g. `[20.09]`.
59+5. Push to GitHub and open a backport pull request. Make sure to select the release branch (e.g. `release-21.11`) as the target branch of the pull request, and link to the pull request in which the original change was comitted to `master`. The pull request title should be the commit title with the release version as prefix, e.g. `[21.11]`.
60606. When the backport pull request is merged and you have the necessary privileges you can also replace the label `9.needs: port to stable` with `8.has: port to stable` on the original pull request. This way maintainers can keep track of missing backports easier.
6161
6262## Criteria for Backporting changes
@@ -68,17 +68,17 @@ Anything that does not cause user or downstream dependency regressions can be ba
6868- Services which require a client to be up-to-date regardless. (E.g. `spotify`, `steam`, or `discord`)
6969- Security critical applications (E.g. `firefox`)
7070
71−## Generating 21.11 Release Notes
71+## Generating 22.05 Release Notes
7272
73−(This section also applies to backporting 21.05 release notes: substitute "rl-2111" for "rl-2105".)
73+(This section also applies to backporting 21.11 release notes: substitute "rl-2205" for "rl-2111".)
7474
7575Documentation in nixpkgs is transitioning to a markdown-centric workflow. Release notes now require a translation step to convert from markdown to a compatible docbook document.
7676
77−Steps for updating 21.11 Release notes:
77+Steps for updating 22.05 Release notes:
7878
79−1. Edit `nixos/doc/manual/release-notes/rl-2111.section.md` with the desired changes
80−2. Run `./nixos/doc/manual/md-to-db.sh` to render `nixos/doc/manual/from_md/release-notes/rl-2111.section.xml`
81−3. Include changes to `rl-2111.section.md` and `rl-2111.section.xml` in the same commit.
79+1. Edit `nixos/doc/manual/release-notes/rl-2205.section.md` with the desired changes
80+2. Run `./nixos/doc/manual/md-to-db.sh` to render `nixos/doc/manual/from_md/release-notes/rl-2205.section.xml`
81+3. Include changes to `rl-2205.section.md` and `rl-2205.section.xml` in the same commit.
8282
8383## Reviewing contributions
8484