diff options
author | Jonathan Druart <jonathan.druart@gmail.com> | 2021-03-11 11:31:49 +0100 |
---|---|---|
committer | Jonathan Druart <jonathan.druart@gmail.com> | 2021-03-11 11:33:12 +0100 |
commit | df6e8f4d6c9641a952c5d878fb2fb7bb3472174c (patch) | |
tree | 97c8870559983208cf6059f27e76e3bc4e010e67 | |
parent | 13b9752115a0bcc9b329fcd1f0383342de3312bf (diff) | |
download | git-bz-df6e8f4d6c9641a952c5d878fb2fb7bb3472174c.tar.gz |
Issue #7 - Apply patches from 'Failed QA' dependencies
If one tries to apply patches from bug 4321 that is depending on bug 1234
that is "Failed QA", the patches from 1234 will be skipped silently.
This patch suggests to apply them and display the status in the "depends
on" string displayed to the user
-rwxr-xr-x | git-bz | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1758,8 +1758,9 @@ def do_apply(*args): s = dep_bug.bug_status if s == "Needs Signoff" \ or s == 'Signed Off' \ + or s == 'Failed QA' \ or s == 'Passed QA': - print "\nBug %s Depends on bug %s" % ( bug.id, dep_bug.id) + print "\nBug %s Depends on bug %s (%s)" % ( bug.id, dep_bug.id, s) opt = prompt_multi("Follow? [(y)es, (n)o]", ["y", "n"]) if opt == "n": continue |