Trimming bzr package size
Brad Schick
schickb at gmail.com
Tue Jun 9 07:57:01 BST 2009
On 6/8/2009 11:38 PM, Matt Nordhoff wrote:
>> For comparison, the .deb for Mercurial is 86KB. That would be a nice
>> target for bazaar. git-core is also rather large since it is composed of
>> 125+ separate executables, many of which are 795K on disk for some reason.
>>
>
> FWIW, all of those git executables are hardlinks, so they don't actually
> use much disk space. Unless the package manager actually makes them
> different files.
>
Ah, that explains the matching sizes. It still has 4.5M of executables,
however. I was running 'du' not 'du -l' so it didn't recount each hard-link.
> BTW, do git and hg's debs include all of the docs and tests?
>
No. You can see the file lists (without sizes):
http://packages.debian.org/squeeze/i386/git-core/filelist
http://packages.debian.org/squeeze/i386/mercurial/filelist
git has lots of release notes and man pages, but no extra docs or tests.
mercurial has minimal docs and no tests either.
-Brad
More information about the bazaar
mailing list