Hi all,
I was talking with Sijis in IRC about ways to help improve clone times for the git repo. Looking at the repo on hosted, it could really benefit from a git repack. This takes all the loose object files and puts them neatly into .pack files. It also optimizing them based on how they change from commit to commit.
I did this on a copy and shrank the git repo from 431M to 225M (this excludes the size of the checked out files -- it's basically the size of the .git dir in a clone).
I could do this on the official repo if we wanted. It would mean disabling the repo for a short time (half an hour at most). Anyone see a reason not to do this?
On Tue, Feb 8, 2011 at 3:41 PM, Todd Zullinger tmz@pobox.com wrote:
Hi all,
I was talking with Sijis in IRC about ways to help improve clone times for the git repo. Looking at the repo on hosted, it could really benefit from a git repack. This takes all the loose object files and puts them neatly into .pack files. It also optimizing them based on how they change from commit to commit.
I did this on a copy and shrank the git repo from 431M to 225M (this excludes the size of the checked out files -- it's basically the size of the .git dir in a clone).
I could do this on the official repo if we wanted. It would mean disabling the repo for a short time (half an hour at most). Anyone see a reason not to do this?
-- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgphttp://www.pobox.com/%7Etmz/pgp
Artificial Intelligence is no match for Natural Stupidity -- websites mailing list websites@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/websites
I'm all for it.
Sijis
Sijis Aviles wrote:
I'm all for it.
Nick reminded me that I still need to do this. I'm going to do it now. If you notice the web repo is down for a short time, this is why. I'll send afollow-up when it is completed.
I wrote:
Nick reminded me that I still need to do this. I'm going to do it now. If you notice the web repo is down for a short time, this is why. I'll send afollow-up when it is completed.
This is completed. The size of the git repo shrunk from 504M to 242M. A fresh checkout now takes up a mere 354M.
Please yell if you run into any trouble cloning or pushing.
websites@lists.fedoraproject.org