1 |
Donnie Berkholz wrote: |
2 |
> On Tue, 2004-10-12 at 15:29, Ciaran McCreesh wrote: |
3 |
> |
4 |
>>On Tue, 12 Oct 2004 15:29:13 -0700 Jason Rhinelander |
5 |
>><jason@××××××××××××××××.com> wrote: |
6 |
>>| PLEASE be more scientific than "I think it's like 25%". Let's get it |
7 |
>>| straight just how much we're talking about, before throwing out things |
8 |
>> |
9 |
>>Well, if you want to get the numbers that I did, do your measurements |
10 |
>>against the ebuilds, not the entire tree. It gives better numbers that |
11 |
>>way :) |
12 |
> |
13 |
> |
14 |
> Actually, that's a good idea. Instead of dealing with unknowns, subtract |
15 |
> the knowns. *.ebuild, metadata.xml, digest*, ChangeLog, Manifest, |
16 |
> profiles/, etc. You can figure out how much stuff is actually floating |
17 |
> around the tree rather than how much is nicely named *.patch or *.diff. |
18 |
|
19 |
Well, let's see; this should be everything other than digests in files/ |
20 |
directories: |
21 |
|
22 |
find . -path '*/*/files/*' -and -not -path "*/*/files/digest*" | perl |
23 |
-lne '$s+=-s; $c++; END{print "$c files, $s bytes total"}' |
24 |
8776 files, 19822736 bytes total |
25 |
|
26 |
So now we're at ~ 9% files, ~ 5% space - but this is including all sorts |
27 |
of other, legitimate things from files/, such as conf files, init |
28 |
scripts, etc. There may be various other cruft floating around, but the |
29 |
original suggestion and comments were specifically about patches. |
30 |
|
31 |
-- Jason Rhinelander |
32 |
-- Gossamer Threads, Inc. |
33 |
|
34 |
-- |
35 |
gentoo-dev@g.o mailing list |