Trimming bzr package size

Alexander Belchenko bialix at ukr.net
Tue Jun 9 12:49:47 BST 2009


Matt Nordhoff пишет:
> Brad Schick wrote:
>> On 6/8/2009 10:35 PM, Brad Schick wrote:
>>> I am deploying bzr 1.15 on Ubuntu Linux systems and noticed that the PPA
>>> for bzr 1.15 is rather large for a command-line tool (currently just
>>> over 5MB). 
>> I just noticed that the bzr debian package contains many tests. Seems
>> like this should be part of the source distribution and not part of the
>> standard install. After install, /usr/share/pyshared/bzrlib/tests is 6.7M.
> 
> You can run the test suite with "bzr selftest", and many parts of bzrlib
> import bzrlib.tests, so removing them all would be more complicated than
> just "rm -rf bzrlib/tests".
> 
> Not that it's a bad idea, necessarily... Just sayin' that it wouldn't be
> completely trivial to do.

I've tried to split tests out of bzrlib. This is hard but possible.
But without nested trees it's not very good idea, IMO.




More information about the bazaar mailing list