mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
* sponsor-patch: Build a source package for lintian to run on, when not
test-building syncs. * sponsor-patch: Check the bug's title, not the task, when determining source series for syncs.
This commit is contained in:
commit
20e757b2a5
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,6 +1,5 @@
|
||||
ubuntu-dev-tools (0.137) UNRELEASED; urgency=low
|
||||
|
||||
[ Stefano Rivera ]
|
||||
* mk-sbuild: Make --eatmydata command line flag actually work.
|
||||
* Remove dgetlp. No longer needed.
|
||||
* Use httplib2 everywhere that we do https. The python stdlib doesn't do
|
||||
@ -11,11 +10,12 @@ ubuntu-dev-tools (0.137) UNRELEASED; urgency=low
|
||||
* pull-lp-source, requestbackport: Take the latest version from any
|
||||
non-backports pocket. Implemented by making lpapicache's getSourcePackage
|
||||
smarter.
|
||||
* sponsor-patch: Build a source package for lintian to run on, when not
|
||||
test-building syncs.
|
||||
* sponsor-patch: Check the bug's title, not the task, when determining
|
||||
source series for syncs.
|
||||
|
||||
[ Andreas Moog ]
|
||||
* sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884)
|
||||
|
||||
-- Andreas Moog <amoog@ubuntu.com> Sun, 27 Nov 2011 15:54:10 +0100
|
||||
-- Stefano Rivera <stefanor@debian.org> Mon, 21 Nov 2011 09:47:00 +0200
|
||||
|
||||
ubuntu-dev-tools (0.136) unstable; urgency=low
|
||||
|
||||
|
@ -119,7 +119,7 @@ class BugTask(object):
|
||||
|
||||
if self.is_derived_from_debian() and not latest_release:
|
||||
project = "debian"
|
||||
title = self.bug_task.title.lower().split()
|
||||
title = self.bug_task.bug.title.lower().split()
|
||||
if "experimental" in title:
|
||||
series = "experimental"
|
||||
elif "testing" in title:
|
||||
|
@ -115,7 +115,7 @@ class SourcePackage(object):
|
||||
|
||||
def ask_and_upload(self, upload):
|
||||
"""Ask the user before uploading the source package.
|
||||
|
||||
|
||||
Returns true if the source package is uploaded successfully. Returns
|
||||
false if the user wants to change something.
|
||||
"""
|
||||
|
@ -266,10 +266,15 @@ def sponsor_patch(bug_number, build, builder, edit, keyid, lpinstance, update,
|
||||
previous_version = task.get_previous_version()
|
||||
successful = source_package.check_version(previous_version)
|
||||
|
||||
if successful and build:
|
||||
dist = UbuntuDistroInfo().devel()
|
||||
successful = source_package.build(update, dist)
|
||||
update = False
|
||||
if successful:
|
||||
if build:
|
||||
dist = UbuntuDistroInfo().devel()
|
||||
successful = source_package.build(update, dist)
|
||||
update = False
|
||||
else:
|
||||
# We are going to run lintian, so we need a source package
|
||||
successful = source_package.build_source(None, upload,
|
||||
previous_version)
|
||||
|
||||
if successful:
|
||||
#if source_package.sync(upload, bug_number, keyid):
|
||||
|
Loading…
x
Reference in New Issue
Block a user