summaryrefslogtreecommitdiff
path: root/git-mirror-gitlab-ee
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-15 16:01:03 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-15 16:01:03 -0500
commit71dc3b30449a4574455ff7eb9c390e30ad52ac4a (patch)
tree2f294aeb109bd4049876a598eaf9a43379c1fb90 /git-mirror-gitlab-ee
parenta043ff3446cce1e7000cf76bc227f9260199fce3 (diff)
fix (wip)
Diffstat (limited to 'git-mirror-gitlab-ee')
-rwxr-xr-xgit-mirror-gitlab-ee7
1 files changed, 4 insertions, 3 deletions
diff --git a/git-mirror-gitlab-ee b/git-mirror-gitlab-ee
index 5467e16..394a5f7 100755
--- a/git-mirror-gitlab-ee
+++ b/git-mirror-gitlab-ee
@@ -14,7 +14,7 @@
# pretty clean, except that screen-scraping the reads (via nokogiri)
# is gross, and that the error messages are unhelpful.
-load 'gitlab-ce'
+load 'git-mirror-gitlab-ce'
require 'net/http'
require 'uri'
require 'nokogiri'
@@ -73,7 +73,7 @@ class GitLabEE < GitLabCE
@cache.delete(:mirror_cookie)
return URI(url)
end
-
+
def get_meta
map = super
map["mirror"] = self.mirrorURL.to_s
@@ -89,10 +89,11 @@ class GitLabEE < GitLabCE
else
super(map)
end
+ return nil
end
def repo_mode
- return (self.mirrorURL.nil? ? "active" : "passive")
+ return (self.mirrorURL.nil? ? "passive" : "active")
end
end
end