Gentoo Archives: gentoo-dev

From: yac <yac@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC GLEP 1005: Package Tags
Date: Fri, 28 Mar 2014 20:59:07
Message-Id: 20140328215620.0757365f@gentoo.org
In Reply to: Re: [gentoo-dev] RFC GLEP 1005: Package Tags by Kent Fredric
1 On Sat, 29 Mar 2014 09:39:06 +1300
2 Kent Fredric <kentfredric@×××××.com> wrote:
3
4 > On 25 March 2014 03:55, Damien Levac <damien.levac@×××××.com> wrote:
5 >
6 > > A lot of people already replied to this question: package search.
7 > >
8 > > A trivial example, a user want to know all terminals available in
9 > > portage. Of course he could try a `emerge --searchdesc terminal`,
10 > > but then he would get anything mentioning terminal in the
11 > > description: which would probably include a lot of "terminal
12 > > applications" which are not terminals themselves...
13 > >
14 > > `emerge --search terminal` just doesn't cut it as "konsole"
15 > > wouldn't be a result but is a terminal emulator...
16 > >
17 > > On the other hand, terminals are spread through many categories
18 > > (gnome-terminal in gnome-base & konsole in kde-base to name the most
19 > > obvious example).
20 > >
21 > > Thus tags are a nice way for user to find the applications they
22 > > want.
23 > >
24 >
25 > Because looking at this example and the results of `eix -cS
26 > terminal`, I see lots of things that may also be ambiguously tagged
27 > "terminal" due to being a terminal based application.
28 >
29 > Thus, either "terminal-emulator" or "terminal-app" or similar tags
30 > seem necessary.
31 >
32 > emerge --search tag:terminal-app tag:jabber-client ( or similar )
33 > should thus result in net-im/mcabber
34
35 You do this by searching for intersection of tags.
36
37 terminal ∩ jabber ∩ client
38
39 ---
40 Jan Matějka | Developer
41 https://gentoo.org | Gentoo Linux
42 GPG: A33E F5BC A9F6 DAFD 2021 6FB6 3EBF D45B EEB6 CA8B

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] RFC GLEP 1005: Package Tags Kent Fredric <kentfredric@×××××.com>