Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 1/2] Document policy of not relying on implicit eclass inherits]
Date: Fri, 13 Mar 2015 21:25:40
Message-Id: 201503132210.17495.dilfridge@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 1/2] Document policy of not relying on implicit eclass inherits] by Jeroen Roovers
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 Am Freitag, 13. März 2015, 21:09:29 schrieb Jeroen Roovers:
5 > > From: Ian Delaney <idella4@g.o>
6 > >
7 > > This single change will make my commits of last 2 years a violation
8 > > of policy, in a retrograde manner ofcourse.
9 >
10 > You'll have to fix those ebuilds. The policy was already in place
11 > before[1] you were around[2].
12 >
13 > > The flaw here is that it is using a black and white and reductionist
14 > > approach.
15 >
16 > No, the flaw is that you directly use functions from an eclass that you
17 > are not inheriting. That you have been doing it for two years doesn't
18 > change anything.
19 >
20
21 I'm 100% fine if using functions from an indirectly inherited eclass is
22 forbidden >> unless otherwise documented in the eclass <<.
23
24 For example also the functions defined by kde4-functions.eclass are used in
25 many KDE ebuilds, which *all* inherit it indirectly via f.ex. kde4-
26 base.eclass. Manually adding an inherit to kde4-functions doesnt gain us
27 anything there except redundancy.
28
29 So, kde4-base.eclass could/should be able to declare somehow "everything from
30 kde4-functions is also after my taste and can be used".
31
32 - --
33
34 Andreas K. Huettel
35 Gentoo Linux developer
36 dilfridge@g.o
37 http://www.akhuettel.de/
38
39 -----BEGIN PGP SIGNATURE-----
40 Version: GnuPG v2.0
41
42 iQJ8BAEBCgBmBQJVA1I5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
43 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwNzlCRDk4QzA4RENBRkYzQUEwRjQzMDlF
44 QkU2QTMzNkJFMTkwMzlDAAoJEOvmoza+GQOcZKoP/36tQs6YCt1mXlApKafyB00L
45 iifUDW9JGqAZigp6BFzP0be9OANvtqtfRRDp2uzbsdAjZBmmIdOEWJoQpygc157r
46 YPQy2zCwq7fJcq1Pl1sWhPC7aLIhHWEJiC/wi2cYqB0K7z9x9tAKkWWMURC6mLqT
47 vB0IG2vI0RCMxwmP6Fsze+7/rHl2Zbt75JChHVTb+2TeCZwqUvY0DuV8+aeL4+2I
48 VKfjw7poTtzQ328rEk46BBInmT/EW7wEfToubVt0Osg1/A8Sx0B9NIL/YkReia8G
49 d6F6g4y6f/GbOHpHlKRcfRT3a2XjIZldzw/5+xcd7brp52kq5dN7QIF3lQ9b4Sk1
50 87NdPlbsJ5ubZB7dJwfTj04SznD31HaaUw6zC+BVDUb/i6cK85uU5UbOlcYObz8Z
51 uZYbTgl0u8mCevxk1UBUIR2kOcReXBytBoqb/1yYp3j42Zyc/gk4sOD2rHlUHWzP
52 s54TIgrvkexcejxMKKTr3QQkOucl9TALAUV908mSn7T3UOuTG43P2N7iR2vg7N4E
53 x8eJ08AVZqrx/XqqqFwRX/yB4hRQ1+sV0lX0/Cj9wpq939tBPIhTfZ/AoBBI/ADw
54 MXZ0uZiKczDH+AMSHgikStV0Ae7X6AE00jMI1s6/GeZmvHTgcZhunS1ljlba5Ens
55 UdtQ44qKd0KoinqwOMXS
56 =h3X+
57 -----END PGP SIGNATURE-----