I was fighting a little bit with getting Michael Feather's delta-flora to run, but made it finally. My starter level of ruby knowledge made it not much simpler to get it to run :). But in the end I succeeded doing the following steps.
git clone firstname.lastname@example.org:michaelfeathers/delta-flora.git
gem install awesome-printIt was hard-core trying and reading (and trying to understand) error messages that made me understand this :)
open the ruby REPL by typing
> load './repository.rb'
e = load_events("/Users/.../the/repo/path")which will scan a repo and probably print out a lot like this
Calculating commit 1 of 3918 Calculating commit 2 of 3918 Calculating commit 3 of 3918 Calculating commit 4 of 3918 Calculating commit 5 of 3918 Calculating commit 6 of 3918 Calculating commit 7 of 3918 ...
the last number is the total number of commits in that repo.
and then you can run various methods like
> method_churns eprovided in the analytics.rb to get some stats on the repo.
It might be worth digging a bit into code_event.rb to see some more capabilities of the analytics data.