summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJustin Humm <justin.humm@posteo.de>2021-01-13 11:51:44 +0100
committerJustin Humm <justin.humm@posteo.de>2021-01-13 12:19:19 +0100
commit073ddd892eb354d77902e3a6b5d6dcb5aa02eeca (patch)
tree4d4723f0a50f22b87aacce8d6d8fc0c8f40df6a5 /.github
parentb451286b1f56a65ad37fb606b7a77e73b10911e5 (diff)
contributing.md: Change labels for backported PRs
This is somewhat convention already and it makes keeping track of missing backports a lot easier.
Diffstat (limited to '.github')
-rw-r--r--.github/CONTRIBUTING.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 8ec9d535332d..31060040c1a7 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -57,6 +57,7 @@ Follow these steps to backport a change into a release branch in compliance with
3. Create a branch for your change, e.g. `git checkout -b backport`.
4. 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.
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]`.
+6. 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.
## Reviewing contributions