mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
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:
@@ -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\"");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user