ANN: autopkgtests are now specific for "triggering" package for better isolation

Steve Langasek steve.langasek at canonical.com
Tue Nov 10 17:31:54 UTC 2015


On Tue, Nov 10, 2015 at 09:12:25AM -0800, Robert Park wrote:
> On Tue, Nov 10, 2015 at 5:55 AM, Martin Pitt <martin.pitt at ubuntu.com> wrote:
> > Note that apt pinning is rather limited. Unfortunately you can't say
> > "from -proposed use these packages and any of their dependencies which
> > are not satisfiable in -release" -- pinning is not clever enough for
> > that.

> Are you sure about that? That sounds like exactly what I just did with
> the citrain tool, I set the pins so that packages from the silo PPA
> can be upgraded, but upgrades from -release pocket and overlay PPA are
> only brought in if explicitly depended upon by packages in the silo
> PPA.

> The pin looked like this:

> Package: *
> Pin: release o=*$PPA_NAME*
> Pin-Priority: 1100

> Package: *
> Pin: release a=$SERIES*
> Pin-Priority: 50

That works for a silo, because with a silo you want to install *all* of the
packages from the ppa together, and pull any additional dependencies from
the main archive.  For -proposed, we explicitly want to pick and choose
*which* packages we are pulling from -proposed vs. the release pocket,
because -proposed always contains multiple unrelated "landings" at the same
time and we want to be able to disambiguate the test results so we know
which package introduces the regression.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20151110/611cc447/attachment.pgp>


More information about the ubuntu-devel mailing list