Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: mikeywith on April 12, 2020, 01:34:44 AM



Title: Finding Bitcoin development commits stats
Post by: mikeywith on April 12, 2020, 01:34:44 AM
Where can I find a stats break-down like the one Jonas Schnelli pulled 3 years ago.?

https://i.ibb.co/WsFmbV2/stats.png
https://twitter.com/_jonasschnelli_/status/859389367105851392


If it's nowhere to be found, I am willing to do it myself but can somebody at least tell me where to start  ;D, the commits activity on github (https://github.com/bitcoin/bitcoin/graphs/commit-activity) has little to no information to scrape from.

Thanks.


Title: Re: Finding Bitcoin development commits stats
Post by: jackg on April 12, 2020, 01:50:39 AM
Most I've found is this: https://github.com/bitcoin/bitcoin/graphs/contributors

Looks like the text in the console is the output of an api call though: and probably a simple one at that. It might even be in the dot git once you clone the directory since collaboration data is stored in the repo folder.


Title: Re: Finding Bitcoin development commits stats
Post by: Initscri on April 12, 2020, 02:59:55 AM
If you do want to go as far as downloading/cloning the repo, you can run the following command to get similar stats:

Code:
git shortlog -s -n --all --no-merges

That's on the entire timespan of the repo, if you want to add a date, you can use the --since and --before tags, for example:

Code:
git shortlog -s -n --all --no-merges --since="22 Aug 2017" --before="01 Sept 2017"

The above will return all git commits between 22 Aug 2017 and 01 Sept 2017. You can remove the before if you just want until the current date.

It won't return the exact same format, as that looks to be something more custom (like a script or something) but it will give you what you need.

It doesn't provide percentages so that I may need to further research.

Edit: There's a further list of commands here. https://gist.github.com/eyecatchup/3fb7ef0c0cbdb72412fc

You'll have to know how to clone the repo and install git in order to run these though.


Title: Re: Finding Bitcoin development commits stats
Post by: Last of the V8s on April 12, 2020, 08:56:34 AM
Nice answers so far. Here he explains a bit more:
https://twitter.com/_jonasschnelli_/status/859403287128403968?s=20

You could contact him yourself. Tag him in a tweet. Ask gmaxwell to help contacting him (because he's a fellow bitcointalker) if need be ...

Actually at the back of my mind, Andrew deSantis had a webpage doing exactly this ~a couple of years ago. I probably even linked it, but couldn't find on a quick search now.


Title: Re: Finding Bitcoin development commits stats
Post by: mikeywith on April 13, 2020, 11:43:13 PM
Nice answers so far. Here he explains a bit more:
https://twitter.com/_jonasschnelli_/status/859403287128403968?s=20

That broke my heart, the way he did it is beyond my paygrade.  :'(

Quote
You could contact him yourself. Tag him in a tweet.

I did. Now waiting...

Quote
Ask gmaxwell to help contacting him (because he's a fellow bitcointalker) if need be ...

That sounds like a great Plan B.



Thanks, everyone for your help.


Title: Re: Finding Bitcoin development commits stats
Post by: Last of the V8s on April 14, 2020, 09:01:41 AM
Sorry about your heart. This is not what I was !"£$%ing looking for, but is another lead
https://twitter.com/pierre_rochard/status/1137789958478057472?s=20