WARNING: very early stage of development. Test at your own risk!
Synchronize in-source commented tasks with your issue tracker.
issuesrc scans your files looking for comments tagged with labels such as TODO, BUG, FIXME, etc., and adds them your issue tracker.
- Newly found tags will be opened as issues. Each tag will be edited in the source code to add its issue number next to it.
- From the source code you can change the label or the description of the issue. Running the command again will synchronize changes in the repo.
- You can also appoint an assignee by putting her username alongside the tag (eg.
- Synchronization is one-way; changes that you do to a issuesrc issue from the issue tracker will be lost when you run the program again. You should add any further information as comments.
- When a tag is removed from the code, it is closed in the issue tracker.
$ gem install issuesrc
issuesrc connects comments found in source code with an issue tracker. It needs to be configured to talk to both.
Configuration is done both via a .toml config file and via command line arguments. See
example.toml and run
issuesrc -h for details.
Currently, issuesrc only supports Git for retrieving source code, and GitHub as issue tracker.
The easiest way to get started would be something like this:
$ issuesrc --repo youruser/yourrepo --github-token xxxxxxxxxxx
That will extract tasks from the comments at github.com/youruser/yourrepo, open issues for them, add each issue's number next to its comment, and commit and push the changes. (You will thus need to have push access from the environment you run this command in.)
- Fork it ( https://github.com/tcard/issuesrc/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request