1 |
>>>>> On Thu, 3 Aug 2017, Michael Orlitzky wrote: |
2 |
|
3 |
> On 08/03/2017 06:33 PM, Ulrich Mueller wrote: |
4 |
>> It did, even back in 2004: |
5 |
>> https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/xml/htdocs/proj/en/devrel/handbook/hb-guide-ebuild.xml?hideattic=0&revision=1.10&view=markup#l534 |
6 |
|
7 |
> You got me, but now we can see where that text came from and it |
8 |
> proves my original point that the last line was added as an |
9 |
> afterthought and isn't any sort of policy: |
10 |
|
11 |
> https://bugs.gentoo.org/show_bug.cgi?id=73272 |
12 |
|
13 |
Huh? We don't know if these changes result from a previous discussion, |
14 |
or codify best practice at the time. Given that the comment says |
15 |
"consolidate [...] into the Ebuild HOWTO" I would assume that they |
16 |
don't appear out of the blue there. |
17 |
|
18 |
Besides, something that sits in the handbook and devmanual uncontested |
19 |
since more than a decade certainly is a policy. |
20 |
|
21 |
> Which is good, because it's a silly rule, and hundreds of ebuilds in |
22 |
> the tree wisely ignore it. |
23 |
|
24 |
> Why single out HOMEPAGE? I might like to copy/paste the econf |
25 |
> arguments, so should we forbid the use of $(use_enable foo) and |
26 |
> force everyone to use "if" statements? Of course not; if you need |
27 |
> the value of HOMEPAGE (or anything else), there are more intelligent |
28 |
> ways to get it than opening up the ebuild, digging though the source |
29 |
> code, and manually performing the variable substitutions that the |
30 |
> programming language is there to do for us. |
31 |
|
32 |
> Use the metadata, use eix, use emerge --search, write an echo |
33 |
> statement into the ebuild, whatever. Don't handicap everyone so that |
34 |
> you can treat their source code as part of your user interface. |
35 |
|
36 |
All very well, but it requires the ebuild to a) be parseable by the |
37 |
package manager and b) already exist inside of an ebuild repository. |
38 |
Which is for example not the case for a user contributed ebuild |
39 |
attached to bugzilla. |
40 |
|
41 |
Ulrich |