From: Ulrich Mueller <ulm@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Subject: [gentoo-pms] Variancy?
Date: Sun, 5 Dec 2010 22:55:50 +0100 [thread overview]
Message-ID: <19708.2662.412210.696119@a1i15.kph.uni-mainz.de> (raw)
Hi,
I don't understand the following passage from section "The state of
the system between functions":
* Variancy is any package manager action that modifies either ROOT
or / in any way that isn't merely a simple addition of something
that doesn't alter other packages. This includes any non-default
call to any pkg phase function except pkg_setup, a merge of any
package or an unmerge of any package.
* As an exception, changes to DISTDIR do not count as variancy.
* The pkg_setup function may be assumed not to introduce variancy.
Thus, ebuilds must not perform variant actions in this phase.
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?
Which of the following examples count as "variancy"?
- Calling enewuser() in pkg_setup,
- Removing orphan files in pkg_setup,
- Calling pkg_pretend.
Ulrich
next reply other threads:[~2010-12-05 21:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-05 21:55 Ulrich Mueller [this message]
2010-12-05 22:06 ` [gentoo-pms] Variancy? Ciaran McCreesh
2010-12-05 22:13 ` Ulrich Mueller
2010-12-05 22:21 ` Ciaran McCreesh
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=19708.2662.412210.696119@a1i15.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=gentoo-pms@lists.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