mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-12 01:11:29 +00:00
Update in more places
This commit is contained in:
parent
dea3df2e40
commit
bc1e0be5d7
14
requestsync
14
requestsync
@ -7,7 +7,7 @@
|
|||||||
# Steve Kowalik <stevenk@ubuntu.com>
|
# Steve Kowalik <stevenk@ubuntu.com>
|
||||||
# Michael Bienia <geser@ubuntu.com> (python-launchpad-bugs support)
|
# Michael Bienia <geser@ubuntu.com> (python-launchpad-bugs support)
|
||||||
# Daniel Hahler <ubuntu@thequod.de>
|
# Daniel Hahler <ubuntu@thequod.de>
|
||||||
# Iain Lane <iain@orangesquash.org.uk>
|
# Iain Lane <laney@ubuntu.com>
|
||||||
# Jonathan Davies <jpds@ubuntu.com>
|
# Jonathan Davies <jpds@ubuntu.com>
|
||||||
# Markus Korn <thekorn@gmx.de> (python-launchpadlib support)
|
# Markus Korn <thekorn@gmx.de> (python-launchpadlib support)
|
||||||
#
|
#
|
||||||
@ -130,8 +130,9 @@ def checkExistingReports(package):
|
|||||||
pkgBugList = pkg.searchTasks()
|
pkgBugList = pkg.searchTasks()
|
||||||
|
|
||||||
# Search bug list for other sync requests.
|
# Search bug list for other sync requests.
|
||||||
matchingBugs = [bug for bug in pkgBugList if "Sync %s" %
|
matchingBugs = [bug for bug in pkgBugList
|
||||||
package in bug.title]
|
if "Sync %s" % package in bug.title
|
||||||
|
or "Please sync %s" % package in bug.title]
|
||||||
|
|
||||||
if len(matchingBugs) == 0:
|
if len(matchingBugs) == 0:
|
||||||
return # No sync bugs found.
|
return # No sync bugs found.
|
||||||
@ -538,8 +539,9 @@ if __name__ == '__main__':
|
|||||||
else:
|
else:
|
||||||
subscribe = 'ubuntu-universe-sponsors'
|
subscribe = 'ubuntu-universe-sponsors'
|
||||||
|
|
||||||
report = 'Please sync %s %s (%s) from Debian %s (%s).\n\n' % (srcpkg, deb_version, component, distro, debiancomponent)
|
pkg_to_sync = '%s %s (%s) from Debian %s (%s).' % (srcpkg, deb_version, component, distro, debiancomponent)
|
||||||
title = report[:-2]
|
title = "Sync %s" % pkg_to_sync
|
||||||
|
report = "Please sync %s\n\n" % pkg_to_sync
|
||||||
|
|
||||||
base_ver = cur_ver
|
base_ver = cur_ver
|
||||||
uidx = base_ver.find('ubuntu')
|
uidx = base_ver.find('ubuntu')
|
||||||
@ -569,7 +571,7 @@ if __name__ == '__main__':
|
|||||||
report += debian_changelog(srcpkg, debiancomponent, base_ver) + '\n'
|
report += debian_changelog(srcpkg, debiancomponent, base_ver) + '\n'
|
||||||
|
|
||||||
if need_interaction:
|
if need_interaction:
|
||||||
(_, report) = edit_report(title, report, changes_required=True)
|
(title, report) = edit_report(title, report, changes_required=True)
|
||||||
|
|
||||||
# Post sync request using Launchpad interface:
|
# Post sync request using Launchpad interface:
|
||||||
srcpkg = not newsource and srcpkg or None
|
srcpkg = not newsource and srcpkg or None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user