]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
script/ceph-backport.sh: wholesale refactor
authorNathan Cutler <ncutler@suse.com>
Wed, 28 Aug 2019 11:57:43 +0000 (13:57 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 29 Aug 2019 12:35:36 +0000 (14:35 +0200)
commitdeca13e83a9974eb8ff572efcba8de5713eda860
tree7229af5cb133a37714689b7828ded465f45976d6
parent918fd28f88f5519e002cf845834f95cfe713f2d6
script/ceph-backport.sh: wholesale refactor

This commit refactors the script to make it more user-friendly and
maintainable. Added features:

* script now determine release/milestone from backport issue instead of
  requiring user to provide it
* script now generates a more verbose PR description
* backport PR title is based on original PR instead of the tracker issue
* improved error handling
* new --debug option that triggers "set -x"
* new --verbose option
* errors and diagnostic messages are now printed to stderr

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/script/ceph-backport.sh