-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 11/21/2015 01:36 PM, Michał Górny wrote:
> Hello, everyone.
> 
> Currently PMS defines two variables that are being repeatedly
> abused to access repository data in unpredictable and breaking
> manners -- PORTDIR and ECLASSDIR. They both reference only
> so-called 'master repository', are permitted in source builds and
> src_* phases only.
> 
> For quite some time, QA is monitoring their use and repeatedly 
> reporting abuses and spec violations. I'd like to run a joint QA &
> PMS team effort in cleaning up those variables for sane
> multi-repository support or banning them altogether. For this
> reason, I would like to know your opinion.
> 
> 
> Licenses [1] ------------
> 
> So far, the most common use of ${PORTDIR} was to access the
> licenses subdirectory. That has a number of issues -- most
> importantly, it fails when the license is provided by another
> repository. It is also unusable in binary packages.
> 
> So far I see two major possibilities here. We can either decide
> that:
> 
> a. ebuilds don't need to access licenses directly and if they do, 
> the licenses are usually included in distfiles or can be obtained 
> independently of ebuild tree, or
> 
> b. we provide a proper, safe mechanism for obtaining licenses that 
> works with multiple repositories and binary packages. In
> particular, I was thinking of establishing a LICENSEDIR that would
> contain copies or symlinks to all needed licenses, both in source
> and binary installs.
> 
> [snip]
> 

I have no opinions on the others since I'm still rather inexperienced,
but LICENSEDIR seems like a sane solution to the licenses problem and
should be able to handle the multi-repo use case.
- -- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWUrujAAoJEAEkDpRQOeFwqd8QAKca2FvSB9iLHDwGnwh/8c14
CoFxAn6vwXUvtCkZBqCzwKsaDKoSNWPxjCki6MQyYWb4KMKH++952vx3T5ILOqV5
6vo7PfvG3bjTOaES/XeRfWt+pjYUfGAfJ5UAfXECH7mrF7ZmA6EEyTrFr1SjLvVR
jlnk+6Os8va/n8+KjZzAjhcf9BnNChv7MEwZPFrJFESjxr9Cx7Icie41jLfrOqKq
grRL/F4RJJrsn1Hlfo8MWrDnLJDlAYNg8BdXzCzR7s6DfpGqTuqXdr2+WtHcNJfh
vhKMeiTF8VJCRZgrVX6J8+3RMHVwiT4PaImf5SqX/xD692z+Og4Rl0sTb1IcJDSH
pg0QkYp/ugp88GrXLvIVsaMQTr2wgMK9IZpibK6VfX8mpTHKBRBJxAZYZTHyK0mM
+qI5qL3Q9XMTCIEGJrpGf+48T34iHxIyI2Th5jPn/SqyHGLSyEkHoRI/Yr9txy6n
6/fZhuy9iEPkZNdEmzG8OOSvsObIvTGrDCbKMSaW9cEovEXmBgDFwLWViEwC5Dlj
MK0OKkwASV9ukzyOJq28qf7/S+yt/eHlgSwo3xPyLBxdZ8ulpLoJq5SE0LbNU+4v
DUV8EBt2e6NBlKuHXkPMp5sCu1t4oInYe16jXqU9N2j0dbluphuTLXdSIt0QD34t
lKXAnfBcf55t2nj4f3mT
=uAl3
-----END PGP SIGNATURE-----

Reply via email to