From: "Fernando J. Pereda" <ferdy@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Phase invariancy and exclusivity requirements
Date: Mon, 12 Nov 2007 14:33:58 +0100 [thread overview]
Message-ID: <20071112133358.GB14491@ferdyx.org> (raw)
In-Reply-To: <47384686.8030506@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 1522 bytes --]
On Mon, Nov 12, 2007 at 01:26:46PM +0100, Marijn Schouten (hkBst) wrote:
> Ciaran McCreesh wrote:
> > On Fri, 9 Nov 2007 22:40:08 +0000
> > Ciaran McCreesh <ciaran.mccreesh@blueyonder.co.uk> wrote:
> >> Is the following set sufficient? Is the following set the least
> >> restrictive correct solution?
> >
> > ... to explain the implications of these...
> >
> > Say we have packages a, b and c, and none of them have any
> > dependencies. One valid solution to the build ordering is as follows:
> >
> > * Install a
> > * Install b
> > * Install c
> >
> > One of many solutions that is *not* valid is:
> >
> > * Start doing a, b and c in parallel. Install them as they become
> > ready, doing only one merge at once.
> >
> > Another that is not valid is:
> >
> > * Start doing a, b and c in parallel, but don't merge them.
> > * Merge a.
> > * Merge b.
> > * Merge c.
> >
> > One that is valid is:
> >
> > * Build binary packages for a, b and c in parallel.
> > * Merge a's binary.
> > * Merge b's binary.
> > * Merge c's binary.
>
> What exactly is the difference between this valid situation and the previous
> invalid one?
The state of the environment when pkg_setup is run. In the first
situation you can't trust it (it is racy and unpredictable among other
things). In the second one, you can.
That's the first thing that I can think of, there might be others.
- ferdy
--
Fernando J. Pereda Garcimartín
20BB BDC3 761A 4781 E6ED ED0B 0A48 5B0C 60BD 28D4
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-11-12 13:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-09 22:40 [gentoo-dev] Phase invariancy and exclusivity requirements Ciaran McCreesh
2007-11-11 19:56 ` Ciaran McCreesh
2007-11-12 12:26 ` Marijn Schouten (hkBst)
2007-11-12 13:31 ` Piotr Jaroszyński
2007-11-12 13:33 ` Fernando J. Pereda [this message]
2007-11-13 15:44 ` 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=20071112133358.GB14491@ferdyx.org \
--to=ferdy@gentoo.org \
--cc=gentoo-dev@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