Experiments with ruby-processing (processing-2.2.1) and JRubyArt for processing-3.0

Monday 22 July 2013

Clobbering archived files in a github repository

Now largely thanks to moumar, we are good guys on ruby-processing because we no longer use unnecessary binaries in the ruby-processing repo (they are downloaded directly during autobuild process) but whoa! the download was 70Mb. So after some research I found unused binaries "jruby-complete.jar" "core.jar" etc are archived in the .git/object directory. So what to do, well fortunately there is this BFG tool that makes it easy to clobber the offending commits, but the references all get re-written so any forks should made anew. To make sure I have created a new repo (not a fork) from a clobbered mirrored clone of ruby-processing. The repo is now ca 10.75Mb vs ca 70Mb.
A couple of useful commands that came in handy in checking and setting remote.

git remote -v

git remote set-url origin https://github.com/monkstone/remote.git

No comments:

Post a Comment

Followers

Blog Archive

About Me

My photo
I have developed JRubyArt and propane new versions of ruby-processing for JRuby-9.1.5.0 and processing-3.2.2