From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-pms@lists.gentoo.org
Subject: Re: [gentoo-pms] What is meant by "once the current phase function has returned"?
Date: Thu, 4 Jun 2009 15:50:03 +0100 [thread overview]
Message-ID: <20090604155003.4f08252f@snowcone> (raw)
In-Reply-To: <18983.53536.118504.303900@a1ihome1.kph.uni-mainz.de>
[-- Attachment #1: Type: text/plain, Size: 960 bytes --]
On Thu, 4 Jun 2009 15:50:24 +0200
Ulrich Mueller <ulm@gentoo.org> wrote:
> in the description of several commands (e.g., "has_version" and
> "best_version") I find the following sentence:
>
> ,----
> | Ebuilds must not run any of these commands once the current phase
> | function has returned.
> `----
>
> Can somebody please enlighten me what is meant by this? (The only
> explanation I could think of is that the ebuild should not background
> the command, but that seems very far-fetched. ;-)
Yes, that's what it means. Really I wanted to ban ebuilds from spawning
any process that lasts beyond the scope of the phase function, but
unfortunately some ebuilds do naughty things with init scripts, so
we had to make do with things that query package manager internals...
I seem to recall this being discussed on gentoo-dev along with the
parallelisation stuff, although I can't seem to find an archives link.
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2009-06-04 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-04 13:50 [gentoo-pms] What is meant by "once the current phase function has returned"? Ulrich Mueller
2009-06-04 14:50 ` Ciaran McCreesh [this message]
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=20090604155003.4f08252f@snowcone \
--to=ciaran.mccreesh@googlemail.com \
--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