3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-03-13 08:01:09 +00:00

Only conclude that we don't need an orig tarball if we're sent to the

librarian (as opposed to the login page from a private PPA). (LP:
)
This commit is contained in:
Evan Broder 2013-07-12 13:38:32 -07:00
parent 6b84afdeeb
commit 2b5e91e32e
2 changed files with 9 additions and 2 deletions

@ -291,7 +291,9 @@ def orig_needed(upload, workdir, pkg):
% (user, ppa, filename))
try:
headers, body = h.request(url, 'HEAD')
if headers.status != 200:
if (headers.status != 200 or
not headers['content-location'].
startswith('https://launchpadlibrarian.net')):
return True
except HttpLib2Error, e:
Logger.info(e)

7
debian/changelog vendored

@ -10,7 +10,12 @@ ubuntu-dev-tools (0.149) UNRELEASED; urgency=low
[ Adam Gandelman ]
* backportpackage: Fix destination for --dont-sign option. (LP: #1183985)
-- Adam Gandelman <adamg@ubuntu.com> Fri, 24 May 2013 12:56:08 -0700
[ Evan Broder ]
* Only conclude that we don't need an orig tarball if we're sent to the
librarian (as opposed to the login page from a private PPA). (LP:
#1106429)
-- Evan Broder <evan@stripe.com> Tue, 09 Jul 2013 17:49:21 -0700
ubuntu-dev-tools (0.148) unstable; urgency=low