On 13:11 Wed 13 Aug , Doug Goldstein wrote: > Further questions regarding use.desc have come up with regard to this > GLEP. My proposed solution would be a potential amendment to the GLEP to > state that > > <flag name='png' /> > > Would be allowed. This syntax is not actually disallowed or allowed by > the current GLEP, but mentioning it would allow a metadata.xml contain > all the USE flags that appear in IUSE, even the global ones. By using > the above syntax, it would simply state that there is no additional > descriptions or details but to just use the use.desc description. > > Further more, it would allow us in the future to make that mandatory and > repoman would only have to check metadata.xml for your USE flag.
It seems like this doesn't have much benefit and is a bit confusing to me. You now need to know which flags in metadata.xml are global so you don't allow descriptions for them. You also need to verify the globals between the two places they'll be specified (metadata.xml and use.desc for the description) so you don't have things claiming they're global but aren't. The benefit here doesn't end up saving anything at all once you have a consistency check anyway. Halcy0n also mentioned that this gets really annoying when USE flags inherited from eclasses change. You'd need to edit every metadata.xml of all inheriting packages. -- Thanks, Donnie Donnie Berkholz Developer, Gentoo Linux Blog: http://dberkholz.wordpress.com
pgpOM2C0Wc6rW.pgp
Description: PGP signature
