Title: Message Title
|
|
I did some rough calculations of old Binaries in our GitHub, using the strategies/code at: http://naleid.com/blog/2012/01/17/finding-and-purging-big-files-from-git-history As of today (8 Jan 2014), I've attached our listing of largest files (see "bigtosmall-2014-01-08.txt" attached above). This is using the code borrowed from the above site to list all files in git history from largest to smallest. As expected, our largest files all are old JARs (pre-Maven days) or our DSpace-Manual.pdf (through many many years). From that "bigtosmall-2014-01-08.txt", I did a quick calculation of the TOTAL size of all historical files in our repo. I wrote a quick bit of shell code to do this sum calculation (and the other ones below): for NUM in `cut -f 2 -d\ < bigtosmall-2014-01-08.txt`; do sum=$(( $sum + $NUM )); done; echo $sum; sum=0; The result was that our repo history is currently 132MB in size. Then, I similarly calculated the amount of space being taken up *just* by old JAR files (by creating a new text file: "more bigtosmall-2014-01-08.txt | grep '\.jar$' > jars.txt"). The resulting size of all historical JAR files was 37MB. Then, I similarly calculated the amount of space being taken up *just* by storing our Documentation in the "/docs/" folders over the years (again, by creating a new text file: "more bigtosmall-2014-01-08.txt | grep '/docs/' > docs.txt"). The resulting size of all historical Documentation files was 63MB. So, by those rough calculations, removing the old Documentation (mostly PDFs, some HTML) and old JARs from our GitHub history should bring our repo down from 132MB to approximately 32MB!
|
|
Change By:
|
Tim Donohue
|
Attachment:
|
bigtosmall-2014-01-08.txt
|
|
|
|
|
|
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel