mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-17 18:11:10 +00:00
sponsor-patch: Build a source package for lintian to run on, when not
test-building syncs.
This commit is contained in:
parent
83f9fba796
commit
d0f707f33d
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -10,6 +10,8 @@ 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.
|
||||
|
||||
-- Stefano Rivera <stefanor@debian.org> Mon, 21 Nov 2011 09:47:00 +0200
|
||||
|
||||
|
@ -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:
|
||||
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