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
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-pms@g.o
From: Ulrich Mueller <ulm@g.o>
Subject: Variancy?
Date: Sun, 5 Dec 2010 22:55:50 +0100
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


Replies:
Re: Variancy?
-- Ciaran McCreesh
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Patch for review: Fix scope of ED variable
Next by thread:
Re: Variancy?
Previous by date:
Re: Patch for review: Fix scope of ED variable
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.