mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-24 17:31:09 +00:00
ack-sync: Improve bug-locking and set statuses - In Progress, build, review, Fix Committed, upload.
This commit is contained in:
parent
1c84ef2f93
commit
50ff107d7f
7
ack-sync
7
ack-sync
@ -187,10 +187,12 @@ def main(bug_numbers, all_package, all_version, all_section, update,
|
|||||||
task.assignee = launchpad.me
|
task.assignee = launchpad.me
|
||||||
print "assigned me"
|
print "assigned me"
|
||||||
task.lp_save()
|
task.lp_save()
|
||||||
elif task.assignee != launchpad.me:
|
if task.assignee != launchpad.me:
|
||||||
print >> sys.stderr, "E: %s is already assigned to https://launchpad.net/bugs/%i" % \
|
print >> sys.stderr, "E: %s is already assigned to https://launchpad.net/bugs/%i" % \
|
||||||
(task.assignee.display_name, bug.id)
|
(task.assignee.display_name, bug.id)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
old_status = task.status
|
||||||
|
task.status = 'In Progress'
|
||||||
unsubscribe_sponsors(launchpad, bug)
|
unsubscribe_sponsors(launchpad, bug)
|
||||||
if task.importance == "Undecided":
|
if task.importance == "Undecided":
|
||||||
task.importance = "Wishlist"
|
task.importance = "Wishlist"
|
||||||
@ -228,13 +230,14 @@ def main(bug_numbers, all_package, all_version, all_section, update,
|
|||||||
test_install(dist, dsc_file)
|
test_install(dist, dsc_file)
|
||||||
|
|
||||||
print bug.title
|
print bug.title
|
||||||
print task.status
|
print '%s (was %s)' % (task.status, old_status)
|
||||||
print "Uploader:", uploader_name + " <" + uploader_email + ">"
|
print "Uploader:", uploader_name + " <" + uploader_email + ">"
|
||||||
try:
|
try:
|
||||||
raw_input('Press [Enter] to continue or [Ctrl-C] to abort.')
|
raw_input('Press [Enter] to continue or [Ctrl-C] to abort.')
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
task.status = 'Fix Committed'
|
||||||
task.assignee = None
|
task.assignee = None
|
||||||
print "unassigned me"
|
print "unassigned me"
|
||||||
task.lp_save()
|
task.lp_save()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user