Gentoo Archives: gentoo-dev

From: Alec Warner <antarus@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: location of portage tree
Date: Wed, 28 Mar 2012 17:02:15
Message-Id: CAAr7Pr90u2qHq45jep2tPa34x9nk07WKFZhmqVwaORtHCfXh+g@mail.gmail.com
In Reply to: Re: [gentoo-dev] rfc: location of portage tree by Piotr Szymaniak
1 On Wed, Mar 28, 2012 at 3:04 AM, Piotr Szymaniak <szarpaj@××××××××.pl> wrote:
2 > On Wed, Mar 28, 2012 at 10:24:56PM +1300, Kent Fredric wrote:
3 >> Fwiw, I've also long despised the layout of the distfiles directory
4 >> being a flat hierarchy, it makes the directory a festering pit of
5 >> hellspawn over time on any filesystem that doesn't have dirindex.  (
6 >> I've seriously had "ls" take up to a minute to run in that directory,
7 >> and if I've ever made the mistake of trying to tab compete something
8 >> in there .... /usr/portage/distfiles/foo<tab>  is my normal muscle
9 >> memory response, and then it sits there doing nothing for a minute and
10 >> it would have been faster to just finish typing it myself =_= )
11 >>
12 >> Though I don't have any solution better than a "break it into 26
13 >> subdirs by first letter" .
14 >
15 > Just use categories from repos?
16 >
17 > /usr/portage/distfiles/sys-devel/gcc-1.2.tar.bz2
18 > /usr/portage/distfiles/sys-libs/glibc-2.3.tar.bz2
19 > /usr/portage/distfiles/sys-libs/zlib-3.4.tar.bz2
20 > /usr/portage/distfiles/zomg-soft/zomgawesomesoft-5.3.1.tar.xz
21 > (from zomg repo with custom zomg-soft category ;)
22 >
23 > Btw. what would happen if, ie. mc package - well, two different
24 > packages, one from app-misc, one from sci-libs - but lets say they have
25 > a brand new release 5.0 and there's mc-5.0.tar.bz2 for both of them?
26
27 In the current system it is likely you will get a manifest error for
28 one of the packages and then someone will have to rename their
29 distfile.
30
31 -A
32
33 >
34 >
35 > Piotr Szymaniak.
36 > --
37 >  - Jeden hamburger na dziesiec ci zaszkodzi. Jeden moj stary przyjaciel
38 > to sprawdzil.  Zjadal dziewiec hamburgerow i byl idealnie zdrowy, a gdy
39 > probowal zjesc dziesiatego, z miejsca dostawal torsji.
40 >  -- Graham Masterton, "Night Warriors"