mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-20 23:01:07 +00:00
Check that there are published binaries (i.e. not stuck in bin-NEW).
This commit is contained in:
parent
9ba1790863
commit
430fc81aab
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -4,7 +4,9 @@ ubuntu-dev-tools (0.136ubuntu1) UNRELEASED; urgency=low
|
||||
* Remove dgetlp. No longer needed.
|
||||
* Use httplib2 everywhere that we do https. The python stdlib doesn't do
|
||||
certificate verification.
|
||||
* requestbackport: Check for existing backport bugs first.
|
||||
* requestbackport:
|
||||
- Check for existing backport bugs first.
|
||||
- Check that there are published binaries (i.e. not stuck in bin-NEW).
|
||||
* pull-lp-source, requestbackport: Take the latest version from any
|
||||
non-backports pocket. Implemented by making lpapicache's getSourcePackage
|
||||
smarter.
|
||||
|
@ -175,6 +175,14 @@ def request_backport(package_spph, source, destinations):
|
||||
for bpph in package_spph.getBinaries():
|
||||
published_binaries.add(bpph.getPackageName())
|
||||
|
||||
if not published_binaries:
|
||||
Logger.error("%s (%s) has no published binaries in %s. ",
|
||||
package_spph.getPackageName(), package_spph.getVersion(),
|
||||
source)
|
||||
Logger.normal("Is it stuck in bin-NEW? It can't be backported until "
|
||||
"the binaries have been accepted.")
|
||||
sys.exit(1)
|
||||
|
||||
testing = []
|
||||
testing += ["You can test-build the backport in your PPA with "
|
||||
"backportpackage:"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user