[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.44-827-g219614b

Andreas Beckmann debian at abeckmann.de
Wed Jun 20 23:15:05 UTC 2012


The following commit has been merged in the piatti branch:
commit c9d42c92bf7b34d0014e7306283a87aa8b5aa11a
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Wed Jun 20 11:37:33 2012 +0200

    p: set Debian fallback mirror to cdn.debian.net
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index bb64baa..962d55d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -84,6 +84,7 @@ piuparts (0.45) UNRELEASED; urgency=low
     - Remove metapackage build directory on error exit.  (Closes: #663702)
     - Don't remove eatmydata when minimizing a chroot.  (Closes: #658962)
     - Add support for version-qualified package arguments (--apt foo=1.2-3).
+    - Switch fallback mirror to http://cdn.debian.net/debian.
   * piuparts.conf:
     - Defaults for all [section] settings can be set in the [global] section.
     - Change master-command to not include the section name so that it can be
diff --git a/piuparts.1.txt b/piuparts.1.txt
index e924e7c..13b0453 100644
--- a/piuparts.1.txt
+++ b/piuparts.1.txt
@@ -110,7 +110,7 @@ The tarball can be created with the '-s' option, or you can use one that *pbuild
   Display messages from loglevel LEVEL, possible values are: error, info, dump, debug. The default is dump.
 
 *-m* 'url', *--mirror*='url'::
-  Which Debian mirror to use. The default is the first mirror named in _/etc/apt/sources.list_ or _http://ftp.debian.org/_ if none is found. This option may be used multiple times to use multiple mirrors. Only the first mirror is used with *debootstrap*.
+  Which Debian mirror to use. The default is the first mirror named in _/etc/apt/sources.list_ or _http://cdn.debian.net/debian_ if none is found. This option may be used multiple times to use multiple mirrors. Only the first mirror is used with *debootstrap*.
 +
 The 'components' that are used for a mirror can also be set with this option: a space separated list within the same argument (so you need to quote the entire argument in the shell). If no components are given explicitly, the usual Debian components are used (main, contrib, and non-free). For the mirrors read from _/etc/apt/sources.list_, the components are read from the same place.
 +
diff --git a/piuparts.py b/piuparts.py
index cffd2c0..75f3a45 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -84,7 +84,7 @@ class DebianDefaults(Defaults):
         return ["main", "contrib", "non-free"]
 
     def get_mirror(self):
-        return [("http://ftp.debian.org/debian", self.get_components())]
+        return [("http://cdn.debian.net/debian", self.get_components())]
 
     def get_distribution(self):
         return ["sid"]

-- 
piuparts git repository



More information about the Piuparts-commits mailing list