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.
This commit is contained in:
axis
2011-04-26 18:03:52 +02:00
parent a5ea702ef6
commit e0adea22c1

View File

@@ -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\"");
}