forked from alfssobsd/gitlab_tracking
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit.rb
More file actions
22 lines (18 loc) · 656 Bytes
/
Copy pathinit.rb
File metadata and controls
22 lines (18 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'redmine'
Redmine::Plugin.register :gitlab_tracking do
name 'Gitlab Tracking plugin'
author 'Sergey Kravchuk'
description 'Tracking gitlab activity repo'
version '1.5'
url 'https://github.com/alfss/gitlab_tracking'
author_url 'http://alfss.net'
settings(:partial => 'settings/gitlab_tracking_settings',
:default => {
'issue_regexp' => '((fix|ref)\s*#?[0-9]+)',
'issue_regexp_options' => 'i',
'push_hook_enabled' => true,
'merge_request_hook_enabled' => true,
'assign_users' => true,
})
end
require_dependency 'gitlab_tracking/hooks'