From e0adea22c11c4c091531b0c262ace3d61985f3a0 Mon Sep 17 00:00:00 2001 From: axis Date: Tue, 26 Apr 2011 18:03:52 +0200 Subject: [PATCH] Switched to using git protocol only. Since we only reference CI-controlled repositories, there is no point in using the ssh protocol and requiring an account. qtwebkit is an exception, but they will anyway need SVN access. --- init-repository | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/init-repository b/init-repository index 87549a6d..3e47856f 100755 --- a/init-repository +++ b/init-repository @@ -105,13 +105,11 @@ if ($nokia_developer) { if (/(submodule\.[^.=]+\.url)=(.*)/) { my $key = $1; my $value = $2; - if ($key eq "submodule.qtwebkit.url") { - # WebKit is special, and has only external link. - $value =~ s,^git://gitorious\.org/,git\@gitorious.org:,; - } else { + # WebKit is special, and has only external link. + if ($key ne "submodule.qtwebkit.url") { # qt-labs projects are still hosted under qt internally. - $value =~ s,^git://gitorious\.org/qt-labs/,git\@scm.dev.nokia.troll.no:qt/,; - $value =~ s,^git://gitorious\.org/,git\@scm.dev.nokia.troll.no:,; + $value =~ s,^git://gitorious\.org/qt-labs/,git://scm.dev.nokia.troll.no/qt/,; + $value =~ s,^git://gitorious\.org/,git://scm.dev.nokia.troll.no/,; } system_v("git config \"$key\" \"$value\""); }