wads

command module
v0.0.0-...-78a69fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 11 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL