aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-04-05 09:52:18 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2016-04-05 09:52:18 +0200
commit5758a88e591d805c11cb9fb8bd6ff8455ccddddf (patch)
treeb9f86316a259780d39ca4f6d278ff314628af5cc
parenta550ad21bf4aadbb43763b63bab4513c40dc8b0d (diff)
parente80d89059ce16f376fbaeb934a1cd3b54bcbc6bb (diff)
Merge remote-tracking branch 'origin/5.6' into 5.7
Conflicts: .gitmodules Change-Id: If63e4f4f7d9a7ddba01d4e621fe6bfbc60838d26
-rw-r--r--.gitmodules4
-rwxr-xr-xinit-repository20
2 files changed, 15 insertions, 9 deletions
diff --git a/.gitmodules b/.gitmodules
index cf3d5a67..49b048ed 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -28,7 +28,7 @@
path = qtscript
url = ../qtscript.git
branch = 5.7
- status = addon
+ status = deprecated
[submodule "qtmultimedia"]
depends = qtbase
recommends = qtdeclarative
@@ -220,7 +220,7 @@
path = qtenginio
url = ../qtenginio.git
branch = 5.7
- status = obsolete
+ status = deprecated
[submodule "qtwebsockets"]
depends = qtbase
recommends = qtdeclarative
diff --git a/init-repository b/init-repository
index b941646b..fd291252 100755
--- a/init-repository
+++ b/init-repository
@@ -72,11 +72,12 @@ Options:
Only initialize the specified subset of modules given as the
argument. Specified modules must already exist in .gitmodules. The
string "all" results in cloning all known modules. The strings
- "essential", "addon", "preview", "obsolete", and "ignore" refer to
- classes of modules; "default" maps to "essential,addon,preview",
- which corresponds with the set of maintained modules and is also
- the default set. Module names may be prefixed with a dash to
- exclude them from a bigger set, e.g. "all,-ignore".
+ "essential", "addon", "preview", "deprecated", "obsolete", and
+ "ignore" refer to classes of modules; "default" maps to
+ "essential,addon,preview,deprecated", which corresponds with the
+ set of maintained modules and is also the default set. Module
+ names may be prefixed with a dash to exclude them from a bigger
+ set, e.g. "all,-ignore".
--no-update
Skip the `git submodule update' command.
@@ -240,7 +241,7 @@ sub parse_arguments
# Replace any double trailing slashes from end of mirror
$self->{'mirror-url'} =~ s{//+$}{/};
- $self->{'module-subset'} =~ s/\bdefault\b/preview,essential,addon/;
+ $self->{'module-subset'} =~ s/\bdefault\b/preview,essential,addon,deprecated/;
$self->{'module-subset'} = [ split(/,/, $self->{'module-subset'}) ];
return;
@@ -283,7 +284,8 @@ use constant {
STS_PREVIEW => 1,
STS_ESSENTIAL => 2,
STS_ADDON => 3,
- STS_OBSOLETE => 4
+ STS_DEPRECATED => 4,
+ STS_OBSOLETE => 5
};
sub git_clone_all_submodules
@@ -317,6 +319,8 @@ sub git_clone_all_submodules
$subinits{$1} = STS_ESSENTIAL;
} elsif ($3 eq "addon") {
$subinits{$1} = STS_ADDON;
+ } elsif ($3 eq "deprecated") {
+ $subinits{$1} = STS_DEPRECATED;
} elsif ($3 eq "obsolete") {
$subinits{$1} = STS_OBSOLETE;
} elsif ($3 eq "ignore") {
@@ -337,6 +341,8 @@ sub git_clone_all_submodules
map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_ADDON } keys %subbases;
} elsif ($mod eq "preview") {
map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_PREVIEW } keys %subbases;
+ } elsif ($mod eq "deprecated") {
+ map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_DEPRECATED } keys %subbases;
} elsif ($mod eq "obsolete") {
map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_OBSOLETE } keys %subbases;
} elsif ($mod =~ s/^-//) {