Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [LARGE MESSAGE] Media-sound reorganization!
Date: Tue, 09 Nov 2004 03:56:37
Message-Id: 20041109035630.GA9268@lion.gg3.net
In Reply to: Re: [gentoo-dev] [LARGE MESSAGE] Media-sound reorganization! by Carsten Lohrke
1 maillog: 08/11/2004-18:29:10(+0100): Carsten Lohrke types
2 > On Sunday 07 November 2004 23:53, George Shapovalov wrote:
3 > > By what, 1% or less? (according to what I remember portage devs were saying
4 > > 90% of the time is spent in bash anyway).
5 >
6 > This was an assumption, based on the fact that you can expect all
7 > subdirectories of categories to be package directories right now. When you
8 > write a tool supporting _arbitrary_ depths you'd need to walk down the tree
9 > and check for e.g. Manifest files all the time. I'm not familiar with the
10 > Portage code, so someone else is welcome to give an exhausting answer. Also I
11 > put portage caching aside, just would like to see a version that _really_
12 > works.
13
14 Portage has a list of all categories ($PORTDIR/profiles/categories), so
15 walking down the tree and looking here or there whether what you see is
16 a category or not, is not an issue.
17
18 > I general I don't think that arbitrary depths lower the complexity to find a
19 > specific package. Most likely it will raises the complexity of the Portage
20 > code quite a bit, though.
21
22 To me, it seems that it should be trivial.
23
24 --
25 *) Georgi Georgiev *) We are governed not by armies and police *)
26 (* chutz@×××.net (* but by ideas. -- Mona Caird, 1892 (*
27 *) +81(90)6266-1163 *) *)

Replies

Subject Author
Re: [gentoo-dev] [LARGE MESSAGE] Media-sound reorganization! Carsten Lohrke <carlo@g.o>