Gentoo Archives: gentoo-dev

From: "Piotr Jaroszyński" <peper@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Re: Re: A few questions to our nominees
Date: Mon, 09 Jun 2008 20:13:23
Message-Id: d77765540806091313i4c7f273fq2cbaaaac0654ac5a@mail.gmail.com
In Reply to: [gentoo-dev] Re: Re: Re: A few questions to our nominees by "Tiziano Müller"
1 2008/6/9 Tiziano Müller <dev-zero@g.o>:
2 > Ciaran McCreesh wrote:
3 >
4 >> On Mon, 09 Jun 2008 10:27:56 +0200
5 >> Tiziano Müller <dev-zero@g.o> wrote:
6 >>> Ciaran McCreesh wrote:
7 >>> > No point. A 0 package manager still couldn't use a 0.1 ebuild.
8 >>> >
9 >>> That's true, it has at least to be aware the there's an EAPI.
10 >>> But how does such a package manager handle .ebuild-0 files? Ignore
11 >>> them? Failing because of unknown files in a package-dir?
12 >>> Should we care about package managers not being aware of the
13 >>> existence of EAPI's?
14 >>
15 >> Package managers can't do *anything* with ebuilds with unsupported
16 >> EAPIs anyway. Encouraging package managers to handle ebuilds with
17 >> unsupported EAPIs in any way just massively limits what can be done in
18 >> future EAPIs.
19 >>
20 > Em, that's really not what I meant. The main problem GLEP 55 describes is
21 > that with the current system we're limited to changes which don't break
22 > sourcing the ebuild (since if it would break sourcing we couldn't even find
23 > out the ebuild's EAPI version and therefore not whether the currently used
24 > package manager can handle that ebuild).
25 > That package managers can't do anything else than masking ebuilds with
26 > unsupported EAPIs is clear.
27 > But what I wanted to say is:
28 > Having the EAPI versioned like this: X.Y where X is the postfix part of the
29 > ebuild (foo-1.0.ebuild-X) and Y the "EAPI=Y" in the ebuild itself we could
30 > increment Y in case the changes to the EAPI don't break sourcing (again: a
31 > package manager will have to mask those ebuilds) while changes breaking the
32 > sourcing of the ebuild need an increment of X to avoid that pm's not being
33 > able to even source such an ebuild still can mask it properly (or just
34 > ignore it).
35
36 What's the point of sourcing an ebuild that cannot be used anyway?
37
38 --
39 Best Regards,
40 Piotr Jaroszyński

Replies

Subject Author
[gentoo-dev] Re: A few questions to our nominees Duncan <1i5t5.duncan@×××.net>