]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
docs: Document how to backport patches
authorStephen Finucane <stephen@that.guru>
Tue, 13 Dec 2016 18:12:02 +0000 (18:12 +0000)
committerStephen Finucane <stephen@that.guru>
Tue, 13 Dec 2016 18:12:02 +0000 (18:12 +0000)
Signed-off-by: Stephen Finucane <stephen@that.guru>
docs/development/releasing.md

index 5974da22f7552d430462923e6668b787599cab14..e09b5243a7454cda46eb0863b1c8096542d6764d 100644 (file)
@@ -29,4 +29,21 @@ is to ensure stability for users of these versions of Patchwork.
 * Documentation has been updated with latest release version
 * Documentation references latest supported version of Django
 
+## Backporting
+
+We will occasionally backport bugfixes and security updates. When backporting
+a patch, said patch should first be merged into `master`. Once merged, you can
+backport by cherry-picking commits, using the `-x` flag for posterity:
+
+    $ git cherry-pick <master_commit> -x
+
+There may be some conflicts; resolve these, uncommenting the `Conflicts` line
+when commiting:
+
+    Conflicts
+            patchwork/bin/pwclient
+
+When enough patches have been backported, you should release a new `PATCH`
+release.
+
 [ref-semver]: http://semver.org/