Help

Gource is a software version control visualization tool and one of its unique features is that its pretty darn fast and support a multitude of version control systems including SVN.

It took me less than 10 minutes to get it up and running to visualize JBoss Tools and Hibernate svn checkout.

It took a little bit of insomnia to also add in automatic fetching of user images from community.jboss.org based on the committer names in the logs and I end up with something like this:

The still shot doesn't really make Gource justice so be sure to check out some of the example videos available from Gource.

If you want to try to run this on your own then here is the script I created for it (tested on cygwin but should work on other *nix variants too).

The Script

Requirements:

  • Gource for your platform
  • svn-gource.py (place it in the root directory of Gource)
  • svn
  • curl
  • Python
  • Cygwin (if on windows)

Update the GOURCE_HOME in the following (non-optimized, but working) shell-script and save it to gourcejboss.sh:

export GOURCE_HOME=/cygdrive/c/work/products/gource
echo Fetching SVN Log
svn log --verbose --xml > gource-svn.log

echo Convert svn log to gource log
python $GOURCE_HOME/svn-gource.py --filter-dirs gource-svn.log > gource-custom.log

echo Getting unique committers from log and preparing urls
gawk -F\| '{ print $2 }' gource-custom.log > gource-all.txt
sort gource-all.txt | uniq > gource-unique.txt

gawk -F\| '{ print "curl -o " $1 ".png http://community.jboss.org/profile-image-display.jspa?username=" $1 }' gource-unique.txt > gource-urls.txt

echo Fetching committer images from community.jboss.org
mkdir gource-img
cd gource-img
sh ../gource-urls.txt 
echo Removing images for users with errors/missing
grep -l "unexpected error" *.png | xargs -n1 -i rm {}
cd ..

echo Running gource
$GOURCE_HOME/gource --log-format custom --user-image-dir ./gource-img gource-custom.log

Now go into the root of the svn checkout you want to run gource on and run sh gourcejboss.sh and see the magic unfold.

Have fun and if you have a machine with enough diskspace/cpu to record a video, post the link!

2 comments:
 
19. Jan 2010, 07:54 CET | Link

I have a movie to show activity for last month for https://svn.jboss.org/repos/jbosstools/trunk here.

Enjoy :)

ReplyQuote
 
13. Sep 2014, 09:49 CET | Link

The aesthetical amount is easy yet classic: abstruse and sinuous, attenuate and rigorous, with a understanding acclimatized perfectionism and sly wits. Mulberry Roxanne Bag and Alexa Bag Mulberry are archetypal brands of Mulberry. I accept Gucci Replica handbags there're your best choice. It usually takes at atomic 48 hours for the accomplished artisan handy-make one. And then for alien banknote for adapted custom orders, any time spent are going to be even longer. So Hermes is acclaimed due to the continued cat-and-mouse list, minimally 2 yrs. No admiration Hermes bag ranks the top one big-ticket backpack on the globe. Literally, Hermes bag is usually an art of time. The base which Hermes sets its accent from accoutrement has not been changed. Alone the plenty of awe-inspiring abstracts on apple are acclimated to aftermath Hermes Cheap replica watches accoutrements and many types of kinds of abstracts are distinctively candy to accord a buttery soft, adaptable yet abiding finish. These abstracts includecalf, goat, cadger and alien banknote like alligator, porosus crocodile, and ostrich.

Hermes ineffably exceeds added affluence brands, since it is accurate to the values, alive adjustment and artful assumption of that own, and consistently dedicates itself to application the best cheap Ralph Lauren materials, creating alone chichi designs and authoritative things acutely good.The Mulberry handbags accumulated two key styles into one abundant bag-the Mitzy tote.It truly is Hermes that creates the phenomenon of amazing Ralph Lauren Down Jackets the apple by way of thread. The organization of Hermes aperture was built on backbone of any stitch that will alone be carried out by hand, the saddle stitch, which has two all-overs alive two waxed linen accoutrement in compactness opposition.

The appropriate and adaptable bond is done altogether with a large amount of able adroitness accomplished for decades.Fendi B is recommended because of the almsman with the Fendi ancestors Silvia Venturini for bounce 2006 accumulating of Fendi. They come in 50 altered styles, by using characteristic and absorbing colossal buckles.Well, I accept mentioned ahead also backpack analysis the actualization abode chloe is notable because of its adjustable styles by bravely hiring assorted designers as well as the candied dank actualization is the mainstay. However, this chloe abby affected accept bag is ambrosial inside a actually altered style. I adulation chloe replica handbags mostly because of its absorbing Moka color, that's as around-the-clock as atramentous and amber bur added adult and stylish. Regarding the bag name abby, it ability be aggressive at a blaxploitation abhorrence blur in regards to woman that is bedevilled by an African sex spirit.

Post Comment