https://bugzilla.wikimedia.org/show_bug.cgi?id=56046

--- Comment #1 from Yuvi Panda <[email protected]> ---
Hacky patch that clones from github directly.

diff --git a/puppet/modules/git/manifests/clone.pp
b/puppet/modules/git/manifests/clone.pp
index 5d6ab62..d1edaa9 100644
--- a/puppet/modules/git/manifests/clone.pp
+++ b/puppet/modules/git/manifests/clone.pp
@@ -24,7 +24,7 @@ define git::clone($directory, $remote=undef) {
     include git

     $url = $remote ? {
-        undef   => sprintf($git::urlformat, $title),
+        undef   => sprintf($git::urlformat, regsubst($title, '/', '-', 'G')),
         default => $remote,
     }

diff --git a/puppet/modules/git/manifests/init.pp
b/puppet/modules/git/manifests/init.pp
index c36ea4b..f5949c8 100644
--- a/puppet/modules/git/manifests/init.pp
+++ b/puppet/modules/git/manifests/init.pp
@@ -19,7 +19,7 @@
 #  }
 #
 class git(
-    $urlformat = 'https://gerrit.wikimedia.org/r/p/%s.git',
+    $urlformat = 'https://github.com/wikimedia/%s.git',
 ) {
     package { 'git':
         ensure  => latest,

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to