On Friday 24 of June 2011 09:55:19 Ciaran McCreesh wrote: > On Fri, 24 Jun 2011 09:52:03 +0200 > > Jesús J. Guerrero Botella <[email protected]> wrote: > > You might not like it, but Gentoo categories have always been > > directories, not words into metadata.xml. > > So tags are in some way related to categories then?
IMHO the best approach is to forget about categories and:
- make package names unique identifiers (it's not that hard, renaming stuff in
app-xemacs mostly) - categories would serve no purpose as id anymore (though
may need to be provided as backward compatibility - but with symlinks to
ebuilds/${PN} inside)
- move such packages into ${PORTDIR}/ebuilds directory (so that identity is
ensured on filesystem level) - 'ebuilds' name doesn't seem to be reserved
anywhere so good candidate imho.
To those concerned with directory lookup speed (in order to find package by
name) - generated package index file provided in ${PORTDIR}
- extend their metadata.xml (no ebuild variables please) with tags in accepted
format. We should provide dictionary for available tags - necessary in order
to avoid randomly added system tags - tag could be extended when needed -
similar policy to global USE flags for instance
- package manager needs to be make aware of tags of course in order to allow
package list (not tree anymore) searching and filtering
(virtual package tree can be generated from tag - by number of tag occurrences
in packages - for instance all packages with tag "kde" could be "shown"
somewhere within "kde" tag subtree etc)
- no tag related symlinks please
--
regards
MM
signature.asc
Description: This is a digitally signed message part.
