1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA256 |
3 |
|
4 |
On 11/21/2015 01:36 PM, Michał Górny wrote: |
5 |
> Hello, everyone. |
6 |
> |
7 |
> Currently PMS defines two variables that are being repeatedly |
8 |
> abused to access repository data in unpredictable and breaking |
9 |
> manners -- PORTDIR and ECLASSDIR. They both reference only |
10 |
> so-called 'master repository', are permitted in source builds and |
11 |
> src_* phases only. |
12 |
> |
13 |
> For quite some time, QA is monitoring their use and repeatedly |
14 |
> reporting abuses and spec violations. I'd like to run a joint QA & |
15 |
> PMS team effort in cleaning up those variables for sane |
16 |
> multi-repository support or banning them altogether. For this |
17 |
> reason, I would like to know your opinion. |
18 |
> |
19 |
> |
20 |
> Licenses [1] ------------ |
21 |
> |
22 |
> So far, the most common use of ${PORTDIR} was to access the |
23 |
> licenses subdirectory. That has a number of issues -- most |
24 |
> importantly, it fails when the license is provided by another |
25 |
> repository. It is also unusable in binary packages. |
26 |
> |
27 |
> So far I see two major possibilities here. We can either decide |
28 |
> that: |
29 |
> |
30 |
> a. ebuilds don't need to access licenses directly and if they do, |
31 |
> the licenses are usually included in distfiles or can be obtained |
32 |
> independently of ebuild tree, or |
33 |
> |
34 |
> b. we provide a proper, safe mechanism for obtaining licenses that |
35 |
> works with multiple repositories and binary packages. In |
36 |
> particular, I was thinking of establishing a LICENSEDIR that would |
37 |
> contain copies or symlinks to all needed licenses, both in source |
38 |
> and binary installs. |
39 |
> |
40 |
> [snip] |
41 |
> |
42 |
|
43 |
I have no opinions on the others since I'm still rather inexperienced, |
44 |
but LICENSEDIR seems like a sane solution to the licenses problem and |
45 |
should be able to handle the multi-repo use case. |
46 |
- -- |
47 |
Daniel Campbell - Gentoo Developer |
48 |
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net |
49 |
fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6 |
50 |
-----BEGIN PGP SIGNATURE----- |
51 |
Version: GnuPG v2 |
52 |
|
53 |
iQIcBAEBCAAGBQJWUrujAAoJEAEkDpRQOeFwqd8QAKca2FvSB9iLHDwGnwh/8c14 |
54 |
CoFxAn6vwXUvtCkZBqCzwKsaDKoSNWPxjCki6MQyYWb4KMKH++952vx3T5ILOqV5 |
55 |
6vo7PfvG3bjTOaES/XeRfWt+pjYUfGAfJ5UAfXECH7mrF7ZmA6EEyTrFr1SjLvVR |
56 |
jlnk+6Os8va/n8+KjZzAjhcf9BnNChv7MEwZPFrJFESjxr9Cx7Icie41jLfrOqKq |
57 |
grRL/F4RJJrsn1Hlfo8MWrDnLJDlAYNg8BdXzCzR7s6DfpGqTuqXdr2+WtHcNJfh |
58 |
vhKMeiTF8VJCRZgrVX6J8+3RMHVwiT4PaImf5SqX/xD692z+Og4Rl0sTb1IcJDSH |
59 |
pg0QkYp/ugp88GrXLvIVsaMQTr2wgMK9IZpibK6VfX8mpTHKBRBJxAZYZTHyK0mM |
60 |
+qI5qL3Q9XMTCIEGJrpGf+48T34iHxIyI2Th5jPn/SqyHGLSyEkHoRI/Yr9txy6n |
61 |
6/fZhuy9iEPkZNdEmzG8OOSvsObIvTGrDCbKMSaW9cEovEXmBgDFwLWViEwC5Dlj |
62 |
MK0OKkwASV9ukzyOJq28qf7/S+yt/eHlgSwo3xPyLBxdZ8ulpLoJq5SE0LbNU+4v |
63 |
DUV8EBt2e6NBlKuHXkPMp5sCu1t4oInYe16jXqU9N2j0dbluphuTLXdSIt0QD34t |
64 |
lKXAnfBcf55t2nj4f3mT |
65 |
=uAl3 |
66 |
-----END PGP SIGNATURE----- |