Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Echelon9 on March 13, 2010, 12:30:48 am
-
As many will know, the developers of the Freespace 2 Open SCP use Subversion (SVN) (http://subversion.apache.org/) to collaboratively write, review and update the source code. Subversion lets us track changes in files, make temporary branches and see recent changes to files - amongst a host of other benefits which source code version control tools provide.
Every time a SCP developer makes a change to one or more related changes to files, we "commit" it to the central version, and of course SVN keeps track of this data.
Over the weekend, I got around to analysing the aggregate SVN change date with the open source R Project for Statistical Computing (http://www.r-project.org/). R is a powerful scripted statistical tool, and lets us quickly and easily analyse big datasets for trends.
I used R - following some excellent presentations by Dirk Eddelbuettel (http://dirk.eddelbuettel.com/bio/presentations.html) - to produce a summary of the number of commits each Freespace 2 Open developer made to our fs2_open Subversion repository.
Please keep in mind that the pure number of SVN commits doesn't measure the 'contribution' coders make, that's not what I'm trying to show with this graph
(http://members.iinet.net.au/~tjkidd/fs2open/fs2_open.png)
The R code to create this, so that anyone can rerun the analysis is below:
system("svn log > fs2_open.svnlog")
x <- readLines("fs2_open.svnlog")
rx <- x[grep("^r[0-9]{1,5} \\|",x)]
who <- gsub(" ","",sapply(strsplit(rx,"\\|"),"[",2))
ctab <- table(who)
dotplot(ctab[order(ctab)],scales=list(x=list()), xlab="", main="Number of fs2_open SVN commits Jan 2007 to Mar 2010")
-
Independent variable...on vertical axis...*twitch* :p
-
It does make sense though, given that it's hard to read names when they're positioned vertically, and there's a lot more of them.
-
You can produce some nice graphs with Tortoise SVN too.
-
I'm curious to see just the last year and a half. I've only really been involved with the SCP that long :)
-
I'm curious how I managed to get nearly 200 commits considering that I was inactive for most of that time period. :wtf:
-
Something actually seems off about this data, as I'm pretty sure that for the last three years there's been more commits than that chart comes close to accounting for. Just feels like that anyway.
-
When did we convert to SVN on this new server?
-
The move from warpcore to icculus and the conversion from CVS to SVN were essentially simultaneous.
-
I am old and senile, I cannot be expected to remember these things :)
-
damn this starts right about the time I quit.
-
And FS2_Open got featured on a R-specifc blog at REvolution Computing (http://blog.revolution-computing.com/2010/03/charting-svn-commits-with-r.html)!
-
Holy crap, my inane comment got quoted. :lol:
-
The Freespace 2 Sauce Code Project?
:D
-
That's not too far off from the truth.
how_much_of_that_good_wing_sauce_to_add :)