Command line tool to collect git repository statistics
Simple .NET Core console application for collecting statistics from a set of remote git repositories. Meant used for developer KPI reporting.
Clone, build, edit appsettings.json
and run:
dotnet run --username {username} --password {password}
Example appsettings.json
content:
{
"username": "{username}",
"password": "{password}",
"repos": [
{
"url": "http://something.something.git",
"friendlyName": "My fine nuget"
},
{
"url": "http://otherthing.otherthing.git",
"friendlyName": "My fine service"
}
],
"authorEmailAliases": [
{
"primary": "post@andersaustad.com",
"aliases": [ "anderaus@gmail.com", "anders.austad@novanet.no", "anderaus@outlook.com" ]
}
]
}
Incomplete proof-of-concept using libgit2. Currently clones/fetches repos, loops through commits and collects some key stats. Simple visualization of staleness and coverage using chart.js.