This little Commandline tool will fetch the members of a github organisation and store them to a given redis backend. You can then use it to find out which languages a specific member has used so far in the repos you have access to.
Configuration lives in the environment. Here's a list of supported variables:
GITHUB_USER_NAME
your github user nameGITHUB_TOKEN
a github api token created for this app. Get it from here: https://github.com/settings/tokensORG_NAME
the name of the organisation you want to queryREDIS_URI
URI for redi
- rbenv
- bundler
- docker
- docker-compose
git clone https://github.com/amerdidit/members
cd members
docker-compose up
GITHUB_USER_NAME='<username>' \
GITHUB_TOKEN='<token>' \
ORG_NAME='<org>' \
REDIS_URI='<uri>' \
./members.rb fetch
REDIS_URI='<uri>' ./members.rb list_languages
In order to continuously run the tests and rubocop we use guard. You can start it by running the following command:
make dev