Gentoo Archives: gentoo-dev

From: James Cloos <cloos@×××××××.com>
To: gentoo-dev@l.g.o
Cc: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Subject: Re: [gentoo-dev] RFC: new "qt" category
Date: Thu, 17 Jan 2013 19:43:34
Message-Id: m38v7rob5i.fsf@carbon.jhcloos.org
In Reply to: Re: [gentoo-dev] RFC: new "qt" category by Ciaran McCreesh
1 >>>>> "CM" == Ciaran McCreesh <ciaran.mccreesh@××××××××××.com> writes:
2
3 CM> That's what's known as "doing it wrong". You should be querying your
4 CM> package mangler for a list of categories, not doing an 'ls'.
5
6 ls(1) isn't relevant. find(1) is. grep(1) is. There are others.
7
8 Using the 'package managers' isn't very helpful. They generally do
9 everything poorly. And usually **s*l*o*w*l*y**, if they compile at
10 all.
11
12 I can't even remember every time I've needed to use a regex, glob or
13 other pattern match where the fact that the real categories had a dash
14 made things easier and faster.
15
16 Its been way too many years to change that now.
17
18 Much better to standardize it as m/[a-z0-9]+-[a-z0-9]+/.
19
20 -JimC
21 --
22 James Cloos <cloos@×××××××.com> OpenPGP: 1024D/ED7DAEA6

Replies

Subject Author
Re: [gentoo-dev] RFC: new "qt" category Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>