public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] Variancy?
@ 2010-12-05 21:55 Ulrich Mueller
  2010-12-05 22:06 ` Ciaran McCreesh
  0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Mueller @ 2010-12-05 21:55 UTC (permalink / raw
  To: gentoo-pms

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-05 22:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-12-05 22:49       ` Ulrich Mueller
2010-12-05 22:53         ` Ciaran McCreesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox