how to shrink a repository

kp kirchdoerfer <[email protected]>
Newsgroups gmane.linux.leaf.devel
Organization none
Message-ID <4318138.A5zZ1G7UOS@stalker>
Hi Yves;

you may have followed the threads about LEAF upgrade...

Today we do have a package repository with for packages

https://sourceforge.net/p/leaf/packages/ci/master/tree/

The summed packages size is about 300MB; but .git/objects is about 5,6GB.

I have an idea how I (mis)managed it.

First question, how can we bring down the repository to a reasonable size?
I don't need any history, previous commits, whatelse - just the latest 
commits.
Even those can be removed if you have a better idea how to work with 
packages...
Which leads to the second question - how can we provide a repository with 
latest/stable/versionx packages and avoid to have it grow that much?

thx kp



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.