Skip to content

diwakergupta/mads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wads

A tool to calculate weekly active developers based on Github activity.

This is ALPHA software, use at your own risk.

Build

$ go get github.com/diwakergupta/wads

If that doesn't work, check out the repo and build locally go build

Usage

  • Find the TOML from EC's crypto-ecosystem repo that you want to process (e.g. this one for Stacks)
  • Convert the TOML to JSON -- mostly because Go stdlib has built in support for JSON but not TOML. I used this online convertor.
  • Obtain a Github API token
  • Run wads --token <token> --file <file.json> and wait

Known limitations

This is a very hacky proof-of-concept. Lots of limitations and room for improvement:

  • No tests
  • Basic error handling. Does a naive, recursive retry if repo stats aren't yet available
  • Doesn't discern commits from bots
  • Doesn't handle "sub systems", therefore almost certainly undercounts
  • Relies on Github repo stats being fresh & accurate. Directly obtaining data from a git clone will likely be more accurate

About

Calculate monthly active developers based on Github activity

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages