dropping 'APT::Default-Release "experimental"' from pbuilder's experimental tarballs

Mattia Rizzolo mattia at debian.org
Sat Mar 19 15:27:28 UTC 2016


I'd like to apply the change mentioned in the subject to pbuilder.

In the meantime I pushed the change in a separated branch:
https://anonscm.debian.org/cgit/pbuilder/pbuilder.git/commit/?id=9ae2cf64331ca9cbaab1dec0217fc034f69abde3

From the commit message:

8<--------------------
modules: stop overriding APT::Default-Release for experimental

This override has been in place since the first support for experimental.
Though 'APT::Default-Release = "experimental"' is always a really really bad
idea, as it causes all packages to be upgraded to the the experimental version,
and always building using packages from experimental also when not needed.

Nowdays dependency resolvers are clever enough to understand when they need to
pick a package from experimental and when not to better satisfy the build-deps.

This makes pbuilder behaves more similar to Debian buildd's, and makes its
behaviour more inline with all the other partial overlay suites (e.g. like
*-backports).

This also means that starting from now packages needing packages from
experimental will need to mark the Build-Depedency with a version constriction
(but this is most likely a non-issue, given that this is already need for
packages uploading to the Debian archive).
8<--------------------


FTR, this also caused the appearance of things like
https://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_setup_pbuilder.sh?id=43f606f23d621b6d3e222dc7c5183b611ab10174#n91
which does the very same thing pbuilder does, except adding
APT::Default-Release.


With this I'd also add a message in NEWS, as it is a possible
problematic change.


I'd also welcome whatever comments you people may have about this.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20160319/23d12fcd/attachment.sig>


More information about the Pbuilder-maint mailing list