diff options
author | axis <qt-info@nokia.com> | 2011-04-26 18:03:52 +0200 |
---|---|---|
committer | axis <qt-info@nokia.com> | 2011-04-27 12:45:10 +0200 |
commit | e0adea22c11c4c091531b0c262ace3d61985f3a0 (patch) | |
tree | c5c3f06b67b655ee3decb0c492cda44d313f0fa0 /init-repository | |
parent | a5ea702ef644e6b47ab655364802140d04f8b601 (diff) |
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.
Diffstat (limited to 'init-repository')
-rwxr-xr-x | init-repository | 10 |
1 files 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\""); } |