mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
archive.py: use Regular, Ports, and Internal mirrors by default. Thus enabling pull-lp-debs to work with ports architectures, and inside launchpad builds too.
This commit is contained in:
parent
5a428b462d
commit
02c531dfb5
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -23,6 +23,9 @@ ubuntu-dev-tools (0.178) UNRELEASED; urgency=medium
|
|||||||
* pullpkg.py: fix --mirror option parsing.
|
* pullpkg.py: fix --mirror option parsing.
|
||||||
* config.py: add UBUNTU_INTERNAL_MIRROR option, for launchpad internal
|
* config.py: add UBUNTU_INTERNAL_MIRROR option, for launchpad internal
|
||||||
mirror.
|
mirror.
|
||||||
|
* archive.py: use Regular, Ports, and Internal mirrors by default. Thus
|
||||||
|
enabling pull-lp-debs to work with ports architectures, and inside
|
||||||
|
launchpad builds too.
|
||||||
|
|
||||||
-- Mattia Rizzolo <mattia@debian.org> Tue, 22 Dec 2020 17:50:52 +0100
|
-- Mattia Rizzolo <mattia@debian.org> Tue, 22 Dec 2020 17:50:52 +0100
|
||||||
|
|
||||||
|
@ -161,8 +161,13 @@ class SourcePackage(object):
|
|||||||
# Mirrors
|
# Mirrors
|
||||||
self.mirrors = list(mirrors)
|
self.mirrors = list(mirrors)
|
||||||
if self.distribution:
|
if self.distribution:
|
||||||
self.masters = [UDTConfig.defaults['%s_MIRROR'
|
masters = []
|
||||||
% self.distribution.upper()]]
|
for suffix in ["MIRROR", "PORTS_MIRROR", "INTERNAL_MIRROR"]:
|
||||||
|
masters.append(
|
||||||
|
UDTConfig.defaults.get('%s_%s' %
|
||||||
|
(self.distribution.upper(),
|
||||||
|
suffix)))
|
||||||
|
self.masters = filter(None, masters)
|
||||||
|
|
||||||
# if a dsc was specified, pull it to get the source/version info
|
# if a dsc was specified, pull it to get the source/version info
|
||||||
if self._dsc_source:
|
if self._dsc_source:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user