public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: Ulrich Mueller <ulm@gentoo.org>
Cc: gentoo-pms@lists.gentoo.org
Subject: Re: [gentoo-pms] Variancy?
Date: Sun, 5 Dec 2010 22:21:16 +0000	[thread overview]
Message-ID: <20101205222116.310262cc@snowcone> (raw)
In-Reply-To: <19708.3722.816939.875731@a1i15.kph.uni-mainz.de>

[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]

On Sun, 5 Dec 2010 23:13:30 +0100
Ulrich Mueller <ulm@gentoo.org> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-12-05 22:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05 21:55 [gentoo-pms] Variancy? Ulrich Mueller
2010-12-05 22:06 ` Ciaran McCreesh
2010-12-05 22:13   ` Ulrich Mueller
2010-12-05 22:21     ` Ciaran McCreesh [this message]
2010-12-05 22:49       ` Ulrich Mueller
2010-12-05 22:53         ` Ciaran McCreesh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101205222116.310262cc@snowcone \
    --to=ciaran.mccreesh@googlemail.com \
    --cc=gentoo-pms@lists.gentoo.org \
    --cc=ulm@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox