Skip to content

Instantly share code, notes, and snippets.

@topray
topray / commit-msg
Last active August 29, 2015 14:13
git hook for redmine
#!/usr/bin/env ruby
require "redmine"
Redmine.configure do |config|
config.api_key = "<api_key>"
config.site = "<site_url>"
# if you need, you can define default values.
config.resources[:issue] = {
packages:
yum:
git: []
htop: []