mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
ack-sync: State on which architecture the build was tested.
This commit is contained in:
parent
d55ea2647f
commit
13b6b4b9a8
7
ack-sync
7
ack-sync
@ -157,7 +157,7 @@ def main(bug_numbers, all_package, all_version, all_section, update,
|
||||
if sbuild:
|
||||
subprocess.call(LogCall(["sbuild-update", dist]))
|
||||
else:
|
||||
cmd = ["sudo", "env", "DIST=" + dist, pbuilder, "--update"]
|
||||
cmd = ["sudo", "-E", "DIST=" + dist, pbuilder, "--update"]
|
||||
subprocess.call(LogCall(cmd))
|
||||
|
||||
for bug_number in bug_numbers:
|
||||
@ -279,7 +279,10 @@ def main(bug_numbers, all_package, all_version, all_section, update,
|
||||
task.assignee = None
|
||||
print "unassigned me"
|
||||
task.lp_save()
|
||||
content = "%s %s builds. Sync request ACK'd." % (package, version)
|
||||
cmd = ["dpkg-architecture", "-qDEB_BUILD_ARCH"]
|
||||
process = subprocess.Popen(cmd, stdout=subprocess.PIPE)
|
||||
architecture = process.communicate()[0].strip()
|
||||
content = "%s %s builds on %s. Sync request ACK'd." % (package, version, architecture)
|
||||
bug.newMessage(content=content, subject="ack-sync")
|
||||
bug.subscribe(person=launchpad.people['ubuntu-archive'])
|
||||
print "subscribed ubuntu-archive"
|
||||
|
Loading…
x
Reference in New Issue
Block a user