Gentoo Archives: gentoo-dev

From: Joshua Kinard <kumba@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] About the 'eapi' file in profile directories
Date: Sun, 01 Aug 2021 04:58:13
Message-Id: f3ba5dc3-3b8d-0f87-de3e-c98c8f0b980a@gentoo.org
In Reply to: Re: [gentoo-dev] About the 'eapi' file in profile directories by Sam James
1 On 7/31/2021 22:02, Sam James wrote:
2 >
3 >
4 >> On 1 Aug 2021, at 00:23, Joshua Kinard <kumba@g.o> wrote:
5 >>
6 >>> [snip]
7 >>
8 >> Yeah, I found one mention in the Wiki[1], but not under "Profiles" in the
9 >> devmanual[2]. The Wiki description doesn't say why that file is needed in
10 >> every single subdirectory.
11 >>
12 >> [1] https://wiki.gentoo.org/wiki/Profile_(Portage)#Profile_structure
13 >> [2] https://devmanual.gentoo.org/profiles/index.html
14 >>
15 >> That said, the PMS reference actually provides the clearest explanation. I
16 >> think that language should be in the devmanual at [2], as it also explains
17 >> the lack of inheritance.
18 >>
19 >
20 > Does this PR [0] for the devmanual help a bit? Let me know if you have feedback
21 > (either here or on GitHub is fine, I don't mind).
22 >
23 >> Okay, mystery solved. We'll have to someday revisit why this file can't be
24 >> inherited, which would allow us to reduce the number of copies in the tree.
25 >>
26 >
27 > Yeah, I think this is worth investigating. I've wondered the same thing before.
28 >
29 > [0] https://github.com/gentoo/devmanual/pull/240
30 >
31 > best,
32 > sam
33
34 That does help, thanks!
35
36 Let's go one further, though, and also add a mention of eapi, borrowing some
37 of the lingo from PMS, since the file is so prolific. See the attached
38 patch and let me know how the language looks.
39
40 --
41 Joshua Kinard
42 Gentoo/MIPS
43 kumba@g.o
44 rsa6144/5C63F4E3F5C6C943 2015-04-27
45 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943
46
47 "The past tempts us, the present confuses us, the future frightens us. And
48 our lives slip away, moment by moment, lost in that vast, terrible in-between."
49
50 --Emperor Turhan, Centauri Republic

Attachments

File name MIME type
devmanual_add-eapi-info.patch text/plain

Replies