Last modified: 2014-11-17 21:40:52 UTC
Since Gerrit is all the time rather very slow for me and also has intermittent failures - clones just hang forever, making provision hang forever.
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,
Change 157695 had a related patch set uploaded by BryanDavis: Support Github URLs https://gerrit.wikimedia.org/r/157695
Bulk unassigning bugs from Ori.
Yuvi, are you still interested in this feature? If so review of the patch and help advocating for the feature would be appreciated. If not I'll probably just abandon the patch I made.