redmine-git-remote/init.rb

17 lines
542 B
Ruby
Raw Normal View History

2014-11-14 22:17:52 +01:00
require 'redmine'
2014-11-28 22:35:33 +01:00
require_dependency "redmine_git_remote/repositories_helper_patch"
2014-11-27 21:48:29 +01:00
2014-11-27 22:07:35 +01:00
Redmine::Scm::Base.add "GitRemote"
2014-11-27 21:48:29 +01:00
2014-11-27 22:07:35 +01:00
Redmine::Plugin.register :redmine_git_remote do
2014-11-28 22:35:33 +01:00
name 'Redmine Git Remote'
2014-11-14 22:17:52 +01:00
author 'Alex Dergachev'
2014-11-27 22:07:35 +01:00
url 'https://github.com/dergachev/redmine_git_remote'
description 'Automatically clone and fetch remote git repositories'
2014-11-14 22:17:52 +01:00
version '0.0.1'
settings :default => {
'git_remote_repo_clone_path' => Pathname.new(__FILE__).join("../").realpath.to_s + "/repos",
}, :partial => 'settings/git_remote_settings'
2014-11-14 22:17:52 +01:00
end