Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-pms
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
To: Ulrich Mueller <ulm@g.o>
From: Ciaran McCreesh <ciaran.mccreesh@...>
Subject: Re: Variancy?
Date: Sun, 5 Dec 2010 22:21:16 +0000
On Sun, 5 Dec 2010 23:13:30 +0100
Ulrich Mueller <ulm@g.o> wrote:
> Thank you for your quick response, but this doesn't answer my
> questions:

Well, the entire thing's irrelevant, since Portage's implementation
ignored all the careful discussion and planning that went into the
wording in PMS... But if you're thinking of fixing Portage, then...

> >> Why is the second item needed? Changes to DISTDIR don't alter other
> >> packages, so aren't they covered by the first item anyway? Or do I
> >> misunderstand the first item's first sentence?

Modifying DISTDIR's technically modifying things on /. Or at least, it
can be interpreted that way, so the clarification's needed.

> >> Which of the following examples count as "variancy"?
> >>  - Calling enewuser() in pkg_setup,

That's a "simple addition of something that doesn't alter other
packages", unless you go out of your way to concoct a deliberately
perverse counterexample.

> >>  - Removing orphan files in pkg_setup,

Depends upon whether doing so modifies other packages. Although, orphan
stuff is a job for pkg_preinst or pkg_postinst, not pkg_setup.

> >>  - Calling pkg_pretend.

pkg_pretend's sandboxed and isn't supposed to be modifying /, so that
should be ok.

Ciaran McCreesh
signature.asc (PGP signature)
Re: Variancy?
-- Ulrich Mueller
-- Ulrich Mueller
Re: Variancy?
-- Ciaran McCreesh
Re: Variancy?
-- Ulrich Mueller
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Variancy?
Next by thread:
Re: Variancy?
Previous by date:
Re: Variancy?
Next by date:
Re: Variancy?

Updated Jul 18, 2012

Summary: Archive of the gentoo-pms mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.