nova/tools
Dan Smith 2d97bfcdff Check cherry-pick hashes in pep8 tox target
NOTE(elod.illes): This is a combination of 2 commits: the cherry-pick
hash checker script and a fix for the script.

1. Check cherry-pick hashes in pep8 tox target

This adds a tools/ script that checks any cherry-picked hashes
on the current commit (or a provided commit) to make sure that
all the hashes exist on at least master or stable/.* branches.
This should help avoid accidentally merging stable backports
where one of the hashes along the line has changed due to conflicts.

2. Fix cherry-pick check for merge patch

Cherry-pick check script validates the proposed patch's commit message.
If a patch is not on top of the given branch then Zuul rebases it to
the top and the patch becomes a merge patch. In this case the script
validates the merge patch's commit message instead of the original
patch's commit message and fails.

This fix selects the parent of the patch if it is a merge patch.

(cherry picked from commit c7c48c6f52)
(cherry picked from commit 02f213b831)
(cherry picked from commit 7a5111ba29)

Change-Id: I4afaa0808b75cc31a8dd14663912c162281a1a42
(cherry picked from commit aebc829c4e)
(cherry picked from commit 5cacfaab82)
(cherry picked from commit d307b964ce)
(cherry picked from commit c3dd9f86f1)
(cherry picked from commit f1ab10b825)
(cherry picked from commit e605600d9e)
2020-07-21 16:41:23 +02:00
..
db remove db2 support from tree 2016-05-23 07:33:20 -04:00
hooks move gate hooks to gate/ 2017-01-04 11:05:16 +00:00
xenserver tools/xenserver: Remove 'cleanup_sm_locks' 2017-08-07 12:26:53 +00:00
abandon_old_reviews.sh include python-novaclient in abandon policy 2014-12-08 16:11:08 -05:00
build_latex_pdf.sh Add tool to build a doc latex pdf 2015-07-14 16:13:47 -04:00
check-cherry-picks.sh Check cherry-pick hashes in pep8 tox target 2020-07-21 16:41:23 +02:00
ebtables.workaround ebtables/libvirt workaround 2016-02-04 09:38:34 -05:00
flake8wrap.sh tox: make it possible to run pep8 on current patch only 2015-07-24 16:15:38 +01:00
nova-manage.bash_completion add nova-manage bash completion script 2012-06-20 17:02:49 +02:00
placement_api_docs.py [placement] Fix placement-api-ref check tool 2017-05-24 12:15:28 +03:00
pretty_tox3.sh Add Python 3.5 functional tests in tox.ini 2016-12-14 13:33:07 +08:00
regression_tester.py Remove white space between print and () 2016-08-02 07:31:35 +00:00
releasenotes_tox.sh Make releasenotes reminder detect added and untracked notes 2016-09-28 21:52:28 +00:00
reserve-migrations.py Add a tool for reserving migration placeholders during release time 2016-02-09 10:54:08 -08:00
test-setup.sh Prepare for using standard python tests 2017-02-09 17:52:55 +00:00