[Koha-devel] git repo size (restarting a discussion)

Frédéric Demians frederic at tamil.fr
Thu Apr 5 08:08:47 CEST 2012


 > When you use git clone --depth 0, it tracks each branch head, so those
 > 1500 branches mean that almost everything is downloaded.

It's rather a matter of unused git object pruning.

With:

  git clone --mirror git://git.koha-community.org/koha

You get a repo whose size is 280M.

Then with:

   git gc --aggressive --prune=now

You drop repo size to 138M.

I suggest to do some maintenance on community repository.


-- 
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html


More information about the Koha-devel mailing list