What's happened on a GitHub Org this month?
Pulling the data for Monthly Progress reports for https://libraries.io is tedious when there's been lots of activity across many different repositories in an org, this is an attempt to automate some of it
The project is a work in progress, not recommended for use!
Check out the open issues for a glimpse of the future: https://github.com/librariesio/org-pulse/issues.
The source code is hosted at GitHub. You can report issues/feature requests on GitHub Issues. For other updates, follow us on Twitter: @librariesio.
New to Ruby? No worries! You can follow these instructions to install a local server, or you can use the included Vagrant setup.
First things first, you'll need to install Ruby 2.4.2. I recommend using the excellent rbenv, and ruby-build:
brew install rbenv ruby-build
rbenv install 2.4.2
rbenv global 2.4.2
Now, let's install the gems from the Gemfile
("Gems" are synonymous with libraries in other
languages):
gem install bundler && rbenv rehash
bundle install
Now go and create a personal access token on GitHub with the repo
scope enabled and add it to .env
:
GITHUB_TOKEN=yourgithubtokenhere
Finally you can run the script:
ruby org_pulse.rb
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so we don't break it in a future version unintentionally.
- Send a pull request. Bonus points for topic branches.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Copyright (c) 2016 Andrew Nesbitt. See LICENSE for details.