giteval evaluates GitHub repository and its pull requests. It counts line changes for each pull request for each author and sums them together. It helps evaluate overall contributions by each author through time and not just contributions which stayed in the current version.
It outputs counts to the standard output and a Google API chart URL.
You should create a file named local_settings.py
and define the following variables:
GITHUB_ACCESS_TOKEN
-- your GitHub API access tokenGIT_PATH
-- additional path containinggit
executable, added toPATH
environment variableREPOSITORIES
-- a list of tuples of repositories to evaluate,('project_name/repository_name', 'path/to/local/clone/of/the/repository')
ADD_IGNORE_FILENAMES
-- a list of all filenames to ignore when they are first added to the repository (for example, you might want to ignore external libraries being added to the repository, but count all local changes to them)ALL_IGNORE_FILENAMES
-- a list of all filenames to always ignoreIGNORE_PULL_REQUESTS
-- a list of pull requests to ignore,'project_name/repository_name/pull/123'
IGNORE_AUTHORS
-- a list of authors to ignore, their e-mail addressesMERGE_AUTHORS
-- a dictionary of mappings between secondary e-mail addresses of authors and their primary e-mail addresses used when evaluatingMAX_SCORE
-- scores are normalized toMAX_SCORE
, default 1000SCORE_CORRECTIONS
-- scores for authors can be manually adjusted by specifying a list of tuples('author@e-mail.com', 100)