summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>2018-07-12 19:34:02 +0300
committerGitHub <noreply@github.com>2018-07-12 19:34:02 +0300
commit97cc0cce7f53b704f8541530e42d5e515584cd95 (patch)
treea7dd3cd8c29458a33ae77bf7bc3f2eaf3a1efddb
parent7c97bb50776e35369d36be52b568b0cb7fa5897c (diff)
downloadansible-97cc0cce7f53b704f8541530e42d5e515584cd95.tar.gz
🚸 🐍 🍒 ⛏ Integrate cherry picker (#41403)
This enables developers to use cherry-picker for backporting purposes. This tool originally comes from Core Python Development Workflow. Ref: https://pypi.org/p/cherry-picker Ref: https://github.com/python/core-workflow/tree/master/cherry_picker Also: * 📝 Add docs about supporting cherry-picker
-rw-r--r--.cherry_picker.toml5
-rw-r--r--docs/docsite/rst/community/development_process.rst7
2 files changed, 12 insertions, 0 deletions
diff --git a/.cherry_picker.toml b/.cherry_picker.toml
new file mode 100644
index 0000000000..9a128daedf
--- /dev/null
+++ b/.cherry_picker.toml
@@ -0,0 +1,5 @@
+team = "ansible"
+repo = "ansible"
+check_sha = "f31421576b00f0b167cdbe61217c31c21a41ac02" # the very first commit in repo
+fix_commit_msg = false # Don't replace "#" with "GH-"
+default_branch = "devel"
diff --git a/docs/docsite/rst/community/development_process.rst b/docs/docsite/rst/community/development_process.rst
index 9cebe5fe63..9d85ee00df 100644
--- a/docs/docsite/rst/community/development_process.rst
+++ b/docs/docsite/rst/community/development_process.rst
@@ -82,6 +82,13 @@ pull request to backport the change to a previous stable branch.
but it can be helpful, especially when making multiple backport PRs for
multiple stable branches.
+.. note::
+
+ If you prefer, you can use CPython's cherry-picker tool to backport commits
+ from devel to stable branches in Ansible. Take a look at the `cherry-picker
+ documentation <https://pypi.org/p/cherry-picker#cherry-picking>`_ for
+ details on installing, configuring, and using it.
+
Ansibullbot
===========