mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-24 16:05:36 +08:00
Follow the protocol requests for webkit (special treatment for internal)
It is currently not possible to successfully run the init-repository script with certain protocols, like "http", since those requests does not apply for qtwebkit. Hence, the cloning of qtwebkit fails behind the corporate rules which is against the original purpose of those command line options. If the requested protocol is "internal", then the replacement of qtwebkit should still be excluded since that would potentially cause breakages. Change-Id: I738738f1c367cf1b4f18ffed05f37715a78e94ae Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
@@ -454,7 +454,7 @@ sub git_set_submodule_config
|
||||
|
||||
if ($protocol) {
|
||||
# WebKit is special, and has only external link.
|
||||
if ($key ne 'qtwebkit') {
|
||||
if (!($key eq 'qtwebkit' && $protocol eq 'internal')) {
|
||||
# qt-labs projects are still hosted under qt internally.
|
||||
if ($protocol ne 'http') {
|
||||
$value =~ s,^git://gitorious\.org/qt-labs/,${url_base_for_protocol}qt/,;
|
||||
|
||||
Reference in New Issue
Block a user