Gitmine displays the last 10 commits of your repo and their associated redmine ticket status.
gem install gitmine
Put the config file '.gitmine.yml' at the root of your project. Here is a sample file:
host: 'http://redmine-gitmine.heroku.com/' github: 'pcreux/gitmine' # Api key is required for private projects only. api_key: 'your_api_key' statuses: # Should be the database id of the closed / deployed status in Redmine reviewed: 5
You can also put config value in your home directory under '~/.gitmine.yml'. This is a great place to store host, api_key and statuses if they do not change from project to project. Values in the local .gitmine.yml always override those in the home directory.
Create a new branch, push to origin, add github links to gitmine ticket
gitmine branch 1234-my-branch
See here: redmine-gitmine.heroku.com/issues/10
Checkout remote/local branch starting with ISSUE_ID
gitmine checkout 1234
Merge the branch to master, delete remote branch, update redmine issue status
gitmine reviewed 1234
Delete remote branch starting with ISSUE_ID
gitmine delete 1234
Show status of the current branch's issue. $> gitmine status For Review - Add Credit card support (Sam Reh)
Open current branch's issue in web browser.
Displays latest 10 commits and the status of their associated Redmine tickets
$> gitmine log 8497d68 In Progress Philippe Creux Add branch command. Need refactoring.Issue #10 b0132d2 Closed Philippe Creux Gitmine now works on case sensitive FS. Issue #8 b77fb0c N/A Philippe Creux Add Greg Bell as an awesome contributor. 9f3e464 N/A Greg Bell Moved CommitMsgToIssueId module into the Gitmine::I
Issues are managed by redmine on redmine-gitmine.heroku.com/projects/gitmine
Thanks for reporting issues on redmine-gitmine.heroku.com/projects/gitmine/issues/new
Fork the project.
Make your feature addition or bug fix.
Add tests for it. This is important so I don't break it in a future version unintentionally.
Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
Send me a pull request. Bonus points for topic branches.
Copyright © 2010 Philippe Creux. See LICENSE for details.