[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.49-147-g5e9a5c3
Andreas Beckmann
anbe at debian.org
Mon Mar 4 09:54:43 UTC 2013
The following commit has been merged in the piatti branch:
commit 901f261556effb8efad2b2c401b3e5e6dcd7bf2c
Author: Andreas Beckmann <anbe at debian.org>
Date: Sun Mar 3 18:59:41 2013 +0100
distros.conf: add target-release
e.g. backports and experimental should be used with
apt-get -t <target-release> ...
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/conf/distros.conf b/conf/distros.conf
index 79c1355..dbf5fc4 100644
--- a/conf/distros.conf
+++ b/conf/distros.conf
@@ -7,10 +7,14 @@
# distribution = <distribution>
# components = <default components>
# depends =
+# target-release =
#
# These are the standard fields for sources.list entries:
# uri, distribution, components
#
+# A non-empty "target-release" will add a -t argument to apt-get:
+# apt-get -t <target-release> ...
+#
# The "depends" entry can be used to refer to the "parent distribution"
# (e.g. stable) of a "partial distribution" (e.g. stable-backports).
#
@@ -30,15 +34,13 @@ depends = squeeze
[squeeze-updates]
depends = squeeze
-[squeeze-updates]
-depends = squeeze
-
[squeeze-proposed-updates]
depends = squeeze
[squeeze-backports]
uri = http://backports.debian.org/debian-backports
depends = squeeze
+target-release = squeeze-backports
[wheezy/updates]
@@ -48,19 +50,18 @@ depends = wheezy
[wheezy-updates]
depends = wheezy
-[wheezy-updates]
-depends = wheezy
-
[wheezy-proposed-updates]
depends = wheezy
[wheezy-backports]
uri = http://backports.debian.org/debian-backports
depends = wheezy
+target-release = wheezy-backports
[experimental]
depends = sid
+target-release = experimental
# It's also possible to have "virtual" entries to provide aliases
diff --git a/debian/changelog b/debian/changelog
index b74e11f..d65eb47 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,7 @@ piuparts (0.50) UNRELEASED; urgency=low
sid, squeeze) and partial distributions (e.g. squeeze/security,
squeeze-backports, experimental) along with their dependencies (e.g. base
distribution) and non-default mirrors. Shipped in package piuparts-common.
+ Also allows setting a target-release (for apt-get -t ...).
* piupartslib/conf.py:
- Add methods: get_distros(), get_start_distro().
- Add class DistroConfig for reading distros.conf.
--
piuparts git repository
More information about the Piuparts-commits
mailing list