nova/tools
Dan Smith f1ab10b825 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)
2020-07-16 18:17:44 +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 Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04: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-16 18:17:44 +02: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
reserve-migrations.py Prevent blank line at start of migration placeholders 2017-08-25 18:43:19 +01:00
test-setup.sh Prepare for using standard python tests 2017-02-09 17:52:55 +00:00