目录

gitribution

Extracts data from the Github API and allows it to be queried for particular contribution activities

Looks at the people (github logins) involved in:

  • commits
  • issues

This app uses membership of the github organisations to flag staff, plus a list of extra github logins in to_track.js. This is not 100% accurate, but a pretty good indicator of who is staff.

Prerequisites:

  • node
  • heroku toolbelt
  • mysql db

Setup an activities table in mysql

See script in sql/create_table.sql

Environment Config

For local dev, copy sample.env to .env and add credentials Set equivilent environment variables on Heroku

Tracking Config

to_track.js

Running the app:

foreman start

Clear and rebuild the database

Run this script to clear and rebuild the database (useful if we change repo names or move around org accounts etc…)

foreman run node reset
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号