mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-27 19:01:08 +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
|
* pull-lp-source, requestbackport: Take the latest version from any
|
||||||
non-backports pocket. Implemented by making lpapicache's getSourcePackage
|
non-backports pocket. Implemented by making lpapicache's getSourcePackage
|
||||||
smarter.
|
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
|
-- 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()
|
previous_version = task.get_previous_version()
|
||||||
successful = source_package.check_version(previous_version)
|
successful = source_package.check_version(previous_version)
|
||||||
|
|
||||||
if successful and build:
|
if successful:
|
||||||
|
if build:
|
||||||
dist = UbuntuDistroInfo().devel()
|
dist = UbuntuDistroInfo().devel()
|
||||||
successful = source_package.build(update, dist)
|
successful = source_package.build(update, dist)
|
||||||
update = False
|
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 successful:
|
||||||
#if source_package.sync(upload, bug_number, keyid):
|
#if source_package.sync(upload, bug_number, keyid):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user