Am Sonntag, den 08.02.2009, 18:59 +0100 schrieb Federico Ferri: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Nirbheek Chauhan wrote: > > ${PORTDIR}/tags/games/puzzles/ksudoku -> ../../../kde-base/ksudoku > > ${PORTDIR}/tags/games/puzzles/sudoku/ksudoku -> > ../../../../kde-base/ksudoku > > ${PORTDIR}/tags/dying/amarok -> ../media-sound/amarok > > - -- > > I like the tag idea. > I don't like tag as described above. > I feel having tags organized in hierarchical way is inappropriate. > that just makes another organization of packages in categories. > > tags <-> packages is a many-to-many relation. > > > > btw, if the DESCRIPTION field is well written, it functions as a tag.
Please, don't. > e.g.: > > $ eix -c -S dockapp -S net > [N] x11-plugins/allin1 (--): All in one monitoring dockapp: RAM, CPU, > Net, Power, df, seti > [N] x11-plugins/wmifinfo (0.09): a dockapp for monitoring network > interfaces. > [N] x11-plugins/wminet (3.0.0): dockapp for monitoring internet > connections to and from your computer. > [N] x11-plugins/wmitime (0.3): Overglorified clock dockapp w/time, > date, and internet time > [N] x11-plugins/wmnd (0.4.11-r1): WindowMaker Network Devices (dockapp) > [N] x11-plugins/wmnetload (1.3-r2): Network interface monitor dockapp > [N] x11-plugins/wmwifi (0.6): wireless network interface monitor dockapp > Found 7 matches. > > although DESCRIPTION doesn't contain "obvious" tags. > perhaps it's worth the addition of a TAGS field (?) that has to be > searched just like DESCRIPTION It's metadata-stuff, why not put it there? You have two possibilities: a) Introduce new elements: <tags> <tag>foo</tag> <tag>bar</tag> </tags> b) Think of herds as tags, then you have many packages already tagged. To be able to add new herds/tags without messing up with the maintainer-info, I'd then introduce new attributes for <maintainer> and instead of writing <herd>foo</herd> meaning that a package is maintainer by team "foo" just write <maintainer type="team">foo</maintainer> instead. Then you can use the "herd" element in metadata.xml freely as a tag. Cheers, Tiziano -- ------------------------------------------------------- Tiziano Müller Gentoo Linux Developer, Council Member Areas of responsibility: Samba, PostgreSQL, CPP, Python, sysadmin E-Mail : dev-z...@gentoo.org GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil