mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
Port scripts to Launchpad web service version "1.0".
This commit is contained in:
parent
f463f63c67
commit
2a08a1f02b
7
ack-sync
7
ack-sync
@ -169,13 +169,14 @@ def main(bug_numbers, package, version, section, update, verbose=False, silent=F
|
||||
us = launchpad.people['ubuntu-sponsors']
|
||||
bug.unsubscribe(person=us)
|
||||
print "ubuntu-sponsors unsubscribed"
|
||||
task.transitionToAssignee(assignee=None)
|
||||
task.assignee = None
|
||||
print "unassigned me"
|
||||
task.transitionToStatus (status="Triaged")
|
||||
task.status = "Triaged"
|
||||
print "status set to Triaged"
|
||||
if task.importance == "Undecided":
|
||||
task.transitionToImportance(importance="Wishlist")
|
||||
task.importance = "Wishlist"
|
||||
print "importance set to Wishlist"
|
||||
task.lp_save()
|
||||
if piuparts:
|
||||
bug.newMessage(content="package builds and installs, sync request ACK'd")
|
||||
else:
|
||||
|
5
fakesync
5
fakesync
@ -159,10 +159,11 @@ def main(bug_number, package, version, update, verbose=False, silent=False):
|
||||
us = launchpad.people['ubuntu-sponsors']
|
||||
bug.unsubscribe(person=us)
|
||||
print "ubuntu-sponsors unsubscribed"
|
||||
task.transitionToAssignee(assignee=None)
|
||||
task.assignee = None
|
||||
print "unassigned me"
|
||||
task.transitionToStatus (status="Fix Committed")
|
||||
task.status = "Fix Committed"
|
||||
print "status set to Fix Committed"
|
||||
task.lp_save()
|
||||
# bug.newMessage(content="package builds, sync request ACK'd")
|
||||
# print "Ack comment added"
|
||||
bug.subscribe(person=launchpad.me)
|
||||
|
Loading…
x
Reference in New Issue
Block a user