1 |
On Sat, 27 Apr 2013 19:59:20 +0300 |
2 |
Petteri Räty <betelgeuse@g.o> wrote: |
3 |
|
4 |
> Please respond to this email with agenda items. Please do not hesitate |
5 |
> to repeat your agenda item here with a pointer if you previously |
6 |
> suggested one (since the last meeting). |
7 |
|
8 |
I would like to request the Council to vote on the topic of changing |
9 |
the ${D} and ${ROOT} variables not to be terminated with a trailing |
10 |
slash. To decrease confusion and improve forward compatibility, this |
11 |
would benefit from retroactively removing the 'must end with a trailing |
12 |
slash' guarantees from PMS, changing it to undefined and working on |
13 |
fixing the ebuilds which relied on those. |
14 |
|
15 |
Then, in a future EAPI a common guarantee will be added that all path |
16 |
variables do not end with a trailing slash. |
17 |
|
18 |
The topic has been brought on the ml [1] and there was some discussion |
19 |
in the relevant bug [2] as well. I've written a simple plan on how to |
20 |
handle it effectively [3], attached a PMS patch and two dedicated QA |
21 |
checks for repoman. |
22 |
|
23 |
The idea has met mostly positive feedback. Ciaran is opposed to it. |
24 |
The number of ebuilds needing changing for the 'no trailing slash' |
25 |
standard is estimated to be at least 30 times smaller than those which |
26 |
incorrectly assume no trailing slash in ${D} -- which proves that |
27 |
the current rule is unknown to most of the developers. |
28 |
|
29 |
[1]:http://thread.gmane.org/gmane.linux.gentoo.devel/84989 |
30 |
[2]:https://bugs.gentoo.org/show_bug.cgi?id=465772 |
31 |
[3]:https://bugs.gentoo.org/show_bug.cgi?id=465772#c20 |
32 |
|
33 |
-- |
34 |
Best regards, |
35 |
Michał Górny |