Bug management requires some kind of system. GitHub has a nifty Projects feature that allows you to move issues as cards across columns. Kinda like Kanban. The catch is that for every repository you have to start from scratch to get all of the columns set up. This is a simple script to automate that process in The Tallwave Way. You get the following columns:
- Received
- Triaged
- Scheduled
- In Progress
- Ready for Test
- Testing
- Ready to Deploy
- Done
This may not be Your Process, and that's ok. Right now those are hardcoded, but at some point, we might make this configurable. Of course, patches welcome too. :)
GitHub Triage Project Maker is built with Ruby and needs Ruby 2.0 or higher. Install it with RubyGems.
gem install github_make_triage Some environments may require sudo permissions.
sudo gem install github_make_triage There is an executable make-triage-project available. It takes 3 parameters:
- The owner of the repository (individual or organization)
- The name of the repository
- An access token in order to access the GitHub API. You can generate this token from here, and clicking on "Generate new token". Here's a blog post with some more of the details involved.
To add the Bug Tracking Project to this repository, you would use:
> make-triage-project tallwave github_issue_exporter [TOKEN] - Fork
- Create a branch for your feature
- Make it better
- Create a Pull Request