Gentoo Archives: gentoo-dev

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC GLEP 1005: Package Tags
Date: Sun, 23 Mar 2014 21:47:59
Message-Id: 532F566A.1080903@gmail.com
In Reply to: Re: [gentoo-dev] RFC GLEP 1005: Package Tags by hasufell
1 On 23/03/2014 22:08, hasufell wrote:
2 > Micha³ Górny:
3 >> Dnia 2014-03-22, o godz. 15:33:27 Alec Warner <antarus@g.o>
4 >> napisa³(a):
5 >
6 >>> https://wiki.gentoo.org/wiki/Package_Tags
7 >>>
8 >>> Object or forever hold your peace.
9 >
10 >
11 >> I'd honestly prefer that -- if we should really keep tags in the
12 >> tree -- to do that with a single 'metadata/tags' file or some kind
13 >> of hierarchy there. Keep them outside the package directory --
14 >> bind packages to tags, rather than tags to packages. Keep all the
15 >> commits in a single place without altering the ebuild work flow.
16 >
17 >
18 > That sounds better. That way it is also easier to get some
19 > consistency. E.g. tags can be discussed... but adding packages to tags
20 > is up to the maintainers.
21 >
22 > The GLEP should maybe cover a basic set of tags. Then projects like
23 > games, science etc could add their sets as well which may be a bit
24 > more specific... instead of random maintainers adding random tags.
25
26
27 Regular user/sysadmin chipping in:
28
29 This topic seems a lot like a solution seeking a problem to solve, or
30 alternatively a dev is looking for an easy way to describe stuff. Not
31 that there's anything wrong with that, but the proposal as written is
32 way too vague to be useful.
33
34 Tags work best when they describe narrow, clearly defined attributes,
35 and the thing they are applied to can have one, two or more of these
36 attributes or sometimes even none. Music and movie genres are an
37 excellent example - there are only so many of them and for the most part
38 one can tell whether a tag really is a genre or not.
39
40 Nothing resembling such limits are proposed in this GLEP, there's not
41 even a recommendation of what the tags will describe or how everything
42 will be tagged equally. What happens if someone zealously over-tags all
43 of gnome and the same thing doesn't happen for kde? Does kde just not
44 show up in tag searches anymore?
45
46 So this just seems like a nice-to-have that hasn't been properly thought
47 through. The main stated use of it is for packages that logically belong
48 to more than one category. So instead of a general catch all, do
49 whatever you want mechanism, let's rather solve that exact problem by
50 for example adding a specific field to metadata eg "supplementary
51 categories". Pick those that apply from a clearly defined list and store
52 the data in a clearly defined place.
53
54 Such a thing can be made more generic, by making it a clear mechanism to
55 describe extra metadata and the things to be described go through a
56 defined process first before making it into the list. this concept is
57 not present in the GLEP as currently written.
58
59 --
60 Alan McKinnon
61 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-dev] RFC GLEP 1005: Package Tags Tom Wijsman <TomWij@g.o>