-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bo Ørsted Andresen wrote:
> On Monday 29 September 2008 01:37:03 Zac Medico wrote:
>>> Why the need for multiple solutions at all? PROPERTIES=set is too weird
>>> and involves too much nonsensical behaviour to be useful.
>> I don't see the PROPERTIES=set approach as being worse than any
>> other approach for package set definition. It has lots of advantages
>> because of the way that it fits into the existing ebuild framework
>> like virtual ebuilds do [1], allowing it to leverage all of the
>> existing features of the framework (including package.use) and also
>> allowing it to leverage the tools that have been designed to work
>> with the framework.
>>
>> [1] http://www.gentoo.org/proj/en/glep/glep-0037.html
> 
> I really don't see the advantages of fitting 'into the existing ebuild 
> framework like virtual ebuilds do'. Can you name any real advantages to it? 

This idea initially came up when Jorge (jmbsvicetto) mentioned that
he had used a package set to replace a meta-ebuild in the
desktop-effects overlay, and then users complained that the set did
not supporting the USE conditionals that the previous meta-ebuild
had supported.

Perhaps we can support USE conditionals in sets, but this also seems
to mean that we will need a package.use analog that applies to
package sets. Assuming that we'll need a package.use analog, we
might view the act of replacing meta-packages with sets as a sort of
"throwing the baby out with the bath water" scenario in sense that
meta-packages have lots of useful features and the only reason to
migrate them to sets would be take advantage of the unique features
which sets have to offer. So, rather than force a complete
migration, we may want to consider integrating meta-packages into
the sets framework.

> Having virtuals as ebuilds makes sense because ebuilds need to depend upon 
> them. But I can see no decent use case for letting a non-set ebuild depend 
> upon a set. As far as I'm concerned sets are merely a convenience for users. 
> It allows them to install, reinstall (mostly of interest for scm ebuilds), 
> keyword, unmask, set use flags for or uninstall a set of packages.

The "set use flags" part is interesting. If that's the case, it
seems somewhat ambiguous to use sets to "set use flags" and also
allow sets to contain USE conditionals. Supposing that we do allow
both, are we going to create some analog of package.use for sets, or
not? If we do create such an analog, how would it apply to nested
sets? Should nested sets be able to have separate USE conditional
settings from the sets that nest them?
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkjhMeIACgkQ/ejvha5XGaN5EgCgp/KWDienRceXkzV5GX4u9wZp
oYEAnRZ7Z8BErZGRNe6muf7fPRLlW/bQ
=RFAJ
-----END PGP SIGNATURE-----

Reply via email to