Gentoo Archives: gentoo-dev

From: Andrew Gaffney <agaffney@×××××××××××.com>
To: Georgi Georgiev <chutz@×××.net>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Portage Subcategory Capabilities?
Date: Mon, 04 Oct 2004 05:37:17
Message-Id: 4160E0FA.706@skylineaero.com
In Reply to: Re: [gentoo-dev] Portage Subcategory Capabilities? by Georgi Georgiev
1 Georgi Georgiev wrote:
2 > maillog: 04/10/2004-03:55:13(+0900): Chris White types
3 > <snip>
4 >
5 >>Something like this might be a little nicer:
6 >>
7 >>media-sound/editors/audacity
8 >>media-sound/players/xmms
9 >>
10 >>now let's say players gets way to huge:
11 >>
12 >>media-sound/players/mp3/
13 >>media-sound/players/ogg/
14 >
15 > I personally like the idea. What about turning the first dash into a
16 > slash as well?
17 >
18 > media/sound/editors/audacity
19 > media/sound/players/xmms
20 > media/sound/players/mp3/
21 > media/sound/players/ogg/
22
23 This has been brought up before in the past and been shot down, but I'll humor
24 you. If support for this were to be added into Portage, there would be a few
25 things to think about:
26
27 1) this will cause a performance hit no matter how it is done
28 2) how will Portage know the difference between a package and another
29 sub-category when it is walking the tree? It could do something like walking
30 all the way to the end of the category/sub-category/sub-category tree until
31 it finds .ebuild files and then backing up a level or 2 to determine the
32 category, but again this would cause an enormous performance hit due to the
33 additional required I/O.
34 3) the many additional directories would cause an 'emerge sync' to take
35 longer than it does now.
36
37 Basically, you'd be pissing everyone off with little benefit (except maybe to
38 developer sanity). Keep in mind that I probably have absolutely no idea what I'm
39 talking about and nothing I say should be accepted as fact without verifying it
40 elsewhere.
41
42 --
43 Andrew Gaffney
44 Network Administrator
45 Skyline Aeronautics, LLC.
46 636-357-1548
47
48
49 --
50 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Portage Subcategory Capabilities? Matthew Schulkind <mschulkind@×××××.com>
Re: [gentoo-dev] Portage Subcategory Capabilities? "Robin H. Johnson" <robbat2@g.o>
Re: [gentoo-dev] Portage Subcategory Capabilities? George Shapovalov <george@g.o>
Re: [gentoo-dev] Portage Subcategory Capabilities? Luke-Jr <luke-jr@×××××××.org>