25180d0909
Signed-off-by: flozzone <flozzone@gmail.com>
17 lines
542 B
Ruby
17 lines
542 B
Ruby
require 'redmine'
|
|
require_dependency "redmine_git_remote/repositories_helper_patch"
|
|
|
|
Redmine::Scm::Base.add "GitRemote"
|
|
|
|
Redmine::Plugin.register :redmine_git_remote do
|
|
name 'Redmine Git Remote'
|
|
author 'Alex Dergachev'
|
|
url 'https://github.com/dergachev/redmine_git_remote'
|
|
description 'Automatically clone and fetch remote git repositories'
|
|
version '0.0.1'
|
|
|
|
settings :default => {
|
|
'git_remote_repo_clone_path' => Pathname.new(__FILE__).join("../").realpath.to_s + "/repos",
|
|
}, :partial => 'settings/git_remote_settings'
|
|
end
|