diff options
| author | Carnhof Daki <[email protected]> | 2019-10-16 12:13:28 +0200 |
|---|---|---|
| committer | Daki Carnhof <[email protected]> | 2020-01-06 13:57:13 +0100 |
| commit | 2a6bce482c13cff37c1af00231265de4656a454b (patch) | |
| tree | d9d3811d3f3dd709dbcc29ed16e1a84a49646e08 /CONTRIBUTING.md | |
| parent | Merge #17857: scripts: fix symbol-check & security-check argument passing (diff) | |
| download | discoin-2a6bce482c13cff37c1af00231265de4656a454b.tar.xz discoin-2a6bce482c13cff37c1af00231265de4656a454b.zip | |
doc: Add a note about backporting
See laanwj's comment in #17158
https://github.com/bitcoin/bitcoin/pull/17158#issuecomment-542627090
Co-Authored-By: Wladimir J. van der Laan <[email protected]>
Co-Authored-By: Hennadii Stepanov <[email protected]>
Co-Authored-By: João Barbosa <[email protected]>
Co-Authored-By: Michael <[email protected]>
Co-Authored-By: Luke Dashjr <[email protected]>
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 33c797d79..c87628666 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -309,6 +309,31 @@ about: when someone else is asking for feedback on their code, and universe balances out. +Backporting +----------- + +Security and bug fixes can be backported from `master` to release +branches. +If the backport is non-trivial, it may be appropriate to open an +additional PR, to backport the change, only after the original PR +has been merged. +Otherwise, backports will be done in batches and +the maintainers will use the proper `Needs backport (...)` labels +when needed (the original author does not need to worry). + +A backport should contain the following metadata in the commit body: + +``` +Github-Pull: #<PR number> +Rebased-From: <commit hash of the original commit> +``` + +Have a look at [an example backport PR]( +https://github.com/bitcoin/bitcoin/pull/16189). + +Also see the [backport.py script]( +https://github.com/bitcoin-core/bitcoin-maintainer-tools#backport). + Release Policy -------------- |