1 |
"=?UTF-8?Q?Piotr_Jaroszy=C5=84ski?=" <peper@g.o> posted |
2 |
d77765540806091313i4c7f273fq2cbaaaac0654ac5a@××××××××××.com, excerpted |
3 |
below, on Mon, 09 Jun 2008 22:13:20 +0200: |
4 |
|
5 |
> What's the point of sourcing an ebuild that cannot be used anyway? |
6 |
|
7 |
As currently seen in portage at least... a PM can be aware of and source |
8 |
an EAPI it can't use, but with the sourcing, can at least print a message |
9 |
to the effect "You must have a PM that supports EAPI-X in ordered to |
10 |
merge this package." |
11 |
|
12 |
If the ebuild can't be sourced, then ignoring it altogether is the safest |
13 |
alternative -- and what portage would do with anything other |
14 |
than .ebuild. It can't print a message giving the EAPI that must be |
15 |
supported, because it can't get that info, it being in the content that |
16 |
can't be sourced. |
17 |
|
18 |
With major-suffix minor-source, once the major-suffix rules were laid |
19 |
out, it would be possible to print support messages for minor (within the |
20 |
same major), as we do now, and provided the suffix rules were specific |
21 |
enough, for cross-major (only) as well, but not cross-major minor. |
22 |
|
23 |
IOW, the PM could print EAPI minor-1 (major being zero) messages as |
24 |
portage does now, and be made to print major-1 messages, but since it |
25 |
couldn't source, it couldn't get to the detail of major-1.minor-x, except |
26 |
after upgrade to a version that handled major-1, after which minor-x |
27 |
would either be supported or a new message could be printed prompting |
28 |
further upgrade/sidegrade/downgrade within the major support, to support |
29 |
the correct minor, as the case may be. |
30 |
|
31 |
-- |
32 |
Duncan - List replies preferred. No HTML msgs. |
33 |
"Every nonfree program has a lord, a master -- |
34 |
and if you use the program, he is your master." Richard Stallman |
35 |
|
36 |
-- |
37 |
gentoo-dev@l.g.o mailing list |