1 |
Am Sonntag, den 08.02.2009, 18:59 +0100 schrieb Federico Ferri: |
2 |
> -----BEGIN PGP SIGNED MESSAGE----- |
3 |
> Hash: SHA1 |
4 |
> |
5 |
> Nirbheek Chauhan wrote: |
6 |
> > ${PORTDIR}/tags/games/puzzles/ksudoku -> ../../../kde-base/ksudoku |
7 |
> > ${PORTDIR}/tags/games/puzzles/sudoku/ksudoku -> |
8 |
> ../../../../kde-base/ksudoku |
9 |
> > ${PORTDIR}/tags/dying/amarok -> ../media-sound/amarok |
10 |
> |
11 |
> - -- |
12 |
> |
13 |
> I like the tag idea. |
14 |
> I don't like tag as described above. |
15 |
> I feel having tags organized in hierarchical way is inappropriate. |
16 |
> that just makes another organization of packages in categories. |
17 |
> |
18 |
> tags <-> packages is a many-to-many relation. |
19 |
> |
20 |
> |
21 |
> |
22 |
> btw, if the DESCRIPTION field is well written, it functions as a tag. |
23 |
|
24 |
Please, don't. |
25 |
|
26 |
> e.g.: |
27 |
> |
28 |
> $ eix -c -S dockapp -S net |
29 |
> [N] x11-plugins/allin1 (--): All in one monitoring dockapp: RAM, CPU, |
30 |
> Net, Power, df, seti |
31 |
> [N] x11-plugins/wmifinfo (0.09): a dockapp for monitoring network |
32 |
> interfaces. |
33 |
> [N] x11-plugins/wminet (3.0.0): dockapp for monitoring internet |
34 |
> connections to and from your computer. |
35 |
> [N] x11-plugins/wmitime (0.3): Overglorified clock dockapp w/time, |
36 |
> date, and internet time |
37 |
> [N] x11-plugins/wmnd (0.4.11-r1): WindowMaker Network Devices (dockapp) |
38 |
> [N] x11-plugins/wmnetload (1.3-r2): Network interface monitor dockapp |
39 |
> [N] x11-plugins/wmwifi (0.6): wireless network interface monitor dockapp |
40 |
> Found 7 matches. |
41 |
> |
42 |
> although DESCRIPTION doesn't contain "obvious" tags. |
43 |
> perhaps it's worth the addition of a TAGS field (?) that has to be |
44 |
> searched just like DESCRIPTION |
45 |
|
46 |
It's metadata-stuff, why not put it there? |
47 |
|
48 |
You have two possibilities: |
49 |
|
50 |
a) Introduce new elements: |
51 |
<tags> |
52 |
<tag>foo</tag> |
53 |
<tag>bar</tag> |
54 |
</tags> |
55 |
|
56 |
b) Think of herds as tags, then you have many packages already tagged. |
57 |
To be able to add new herds/tags without messing up with the |
58 |
maintainer-info, I'd then introduce new attributes for <maintainer> and |
59 |
instead of writing <herd>foo</herd> meaning that a package is maintainer |
60 |
by team "foo" just write <maintainer type="team">foo</maintainer> |
61 |
instead. |
62 |
Then you can use the "herd" element in metadata.xml freely as a tag. |
63 |
|
64 |
Cheers, |
65 |
Tiziano |
66 |
|
67 |
|
68 |
-- |
69 |
------------------------------------------------------- |
70 |
Tiziano Müller |
71 |
Gentoo Linux Developer, Council Member |
72 |
Areas of responsibility: |
73 |
Samba, PostgreSQL, CPP, Python, sysadmin |
74 |
E-Mail : dev-zero@g.o |
75 |
GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30 |