Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Version Control System with API. Need to get metrics

I have next situation. I need to choise source control system for my project. This scs must provide the API to my .net application to get information about check-in-s for specified user and date period and about changes which was done in this check-in-s (the number of added and updated lines).

What source control system provides this functionality?

P.S. I can't use the TFS, it's a limitation..

like image 873
w1z Avatar asked Apr 14 '10 08:04

w1z


1 Answers

Aside from SharpSVN, which Mikael Svenson already mentioned, most source control systems should have a command-line client with output that you can easily parse, even if they don't have an "API" as such.

Therefore I'd suggest that you choose the best source control system based on other factors (such as reliability, ease of use and how well it fits your development process) and then look for a way to implement the metrics.

(As an aside, it's my highly subjective opinion that metrics from source control will not be very meaningful. I mean, they can be interesting to look at, but as soon as you have management trying to make any decisions based on them you're in trouble!)

like image 167
EMP Avatar answered Sep 20 '22 06:09

EMP