diff --git a/core/modules/update/src/Form/UpdateManagerUpdate.php b/core/modules/update/src/Form/UpdateManagerUpdate.php
index 4fcb54954f..fb5385c026 100644
--- a/core/modules/update/src/Form/UpdateManagerUpdate.php
+++ b/core/modules/update/src/Form/UpdateManagerUpdate.php
@@ -10,6 +10,7 @@
use Drupal\Core\Url;
use Drupal\update\UpdateFetcherInterface;
use Drupal\update\UpdateManagerInterface;
+use Drupal\update\ModuleVersion;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
@@ -135,7 +136,8 @@ public function buildForm(array $form, FormStateInterface $form_state) {
$recommended_release = $project['releases'][$project['recommended']];
$recommended_version = '{{ release_version }} ({{ release_notes }})';
- if ($recommended_release['version_major'] != $project['existing_major']) {
+ $recommended_version_parser = ModuleVersion::createFromVersionString($recommended_release['version']);
+ if ($recommended_version_parser->getMajorVersion() != $project['existing_major']) {
$recommended_version .= '
{{ major_update_warning_text }}
';
}
diff --git a/core/modules/update/src/ModuleVersion.php b/core/modules/update/src/ModuleVersion.php
new file mode 100644
index 0000000000..94297824d9
--- /dev/null
+++ b/core/modules/update/src/ModuleVersion.php
@@ -0,0 +1,177 @@
+majorVersion = $major_version;
+ $this->minorVersion = $minor_version;
+ $this->patchVersion = $patch_version;
+ $this->versionExtra = $version_extra;
+ $this->useCorePrefix = $use_core_compatibility_prefix;
+ }
+
+ /**
+ * Constructs a module version object from a support branch.
+ *
+ * This can be used to determine the major and minor versions. The patch
+ * version will always be NULL.
+ *
+ * @param string $branch
+ * The support branch.
+ *
+ * @return \Drupal\update\ModuleVersion
+ * The module version instance.
+ */
+ public static function createFromSupportBranch($branch) {
+ return static::createFromVersionString($branch . 'x');
+ }
+
+ /**
+ * Gets the major version.
+ *
+ * @return string
+ * The major version.
+ */
+ public function getMajorVersion() {
+ return $this->majorVersion;
+ }
+
+ /**
+ * Gets the minor version.
+ *
+ * @return string|null
+ * The minor version if available otherwise NULL.
+ */
+ public function getMinorVersion() {
+ return $this->minorVersion;
+ }
+
+ /**
+ * Gets the patch version.
+ *
+ * @return string
+ * The patch version.
+ */
+ public function getPatchVersion() {
+ return $this->patchVersion;
+ }
+
+ /**
+ * Gets the version extra string at the end of the version number.
+ *
+ * @return string|null
+ * The version extra string if available otherwise NULL.
+ */
+ public function getVersionExtra() {
+ return $this->versionExtra;
+ }
+
+ /**
+ * Gets the support branch.
+ *
+ * @return string
+ * The support branch as is used in update XML files.
+ */
+ public function getSupportBranch() {
+ $branch = $this->useCorePrefix ? static::CORE_COMPATIBILITY_PREFIX : '';
+ $branch .= $this->majorVersion . '.';
+ if ($this->minorVersion !== NULL) {
+ $branch .= $this->minorVersion . '.';
+ }
+ return $branch;
+ }
+
+}
diff --git a/core/modules/update/src/UpdateFetcher.php b/core/modules/update/src/UpdateFetcher.php
index 2b03c9c101..05cce763a6 100644
--- a/core/modules/update/src/UpdateFetcher.php
+++ b/core/modules/update/src/UpdateFetcher.php
@@ -77,7 +77,7 @@ public function fetchProjectData(array $project, $site_key = '') {
public function buildFetchUrl(array $project, $site_key = '') {
$name = $project['name'];
$url = $this->getFetchBaseUrl($project);
- $url .= '/' . $name . '/' . \Drupal::CORE_COMPATIBILITY;
+ $url .= '/' . $name . '/current';
// Only append usage information if we have a site key and the project is
// enabled. We do not want to record usage statistics for disabled projects.
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.1_0.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.1_0.xml
index 82362fe846..ee842fa5e6 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.1_0.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.1_0.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/aaa_update_test
@@ -17,14 +14,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.1_1-alpha1.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.1_1-alpha1.xml
index 61776abbdf..2d7d8c306b 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.1_1-alpha1.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.1_1-alpha1.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
- 8.x
- 1
- 1
- 1
+ 8.x-1.
published
http://example.com/project/aaa_update_test
@@ -17,15 +14,10 @@
aaa_update_test 8.x-1.1-alpha1
8.x-1.1-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 1
- alpha1
published
http://example.com/aaa_update_test-8-x-1-1-alpha1-release
http://example.com/aaa_update_test-8.x-1.1-alpha1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -35,14 +27,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1073781824
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.1_1-beta1.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.1_1-beta1.xml
index 4cb6e450a5..d1531406d9 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.1_1-beta1.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.1_1-beta1.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/aaa_update_test
@@ -17,15 +14,10 @@
aaa_update_test 8.x-1.1-beta1
8.x-1.1-beta1
DRUPAL-8--1-1-beta1
- 1
- 1
- beta1
published
http://example.com/aaa_update_test-8-x-1-1-beta1-release
http://example.com/aaa_update_test-8.x-1.1-beta1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -35,15 +27,10 @@
aaa_update_test 8.x-1.1-alpha1
8.x-1.1-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 1
- alpha1
published
http://example.com/aaa_update_test-8-x-1-1-alpha1-release
http://example.com/aaa_update_test-8.x-1.1-alpha1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -53,14 +40,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1073781824
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.1_1.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.1_1.xml
index 14e9e7c169..97988435a1 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.1_1.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.1_1.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/aaa_update_test
@@ -17,14 +14,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8.x-1.1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -34,15 +27,10 @@
aaa_update_test 8.x-1.1-beta1
8.x-1.1-beta1
DRUPAL-8--1-1-beta1
- 1
- 1
- beta1
published
http://example.com/aaa_update_test-8-x-1-1-beta1-release
http://example.com/aaa_update_test-8.x-1.1-beta1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -52,15 +40,10 @@
aaa_update_test 8.x-1.1-alpha1
8.x-1.1-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 1
- alpha1
published
http://example.com/aaa_update_test-8-x-1-1-alpha1-release
http://example.com/aaa_update_test-8.x-1.1-alpha1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -70,14 +53,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1250404521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.1_2-alpha1.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.1_2-alpha1.xml
index f9541c8f5f..c503131514 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.1_2-alpha1.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.1_2-alpha1.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/aaa_update_test
@@ -17,15 +14,10 @@
aaa_update_test 8.x-1.2-alpha1
8.x-1.2-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 2
- alpha1
published
http://example.com/aaa_update_test-8-x-1-2-alpha1-release
http://example.com/aaa_update_test-8.x-1.2-alpha1.tar.gz
1250413521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -35,14 +27,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8.x-1.1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -52,15 +40,10 @@
aaa_update_test 8.x-1.1-beta1
8.x-1.1-beta1
DRUPAL-8--1-1-beta1
- 1
- 1
- beta1
published
http://example.com/aaa_update_test-8-x-1-1-beta1-release
http://example.com/aaa_update_test-8.x-1.1-beta1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -70,15 +53,10 @@
aaa_update_test 8.x-1.1-alpha1
8.x-1.1-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 1
- alpha1
published
http://example.com/aaa_update_test-8-x-1-1-alpha1-release
http://example.com/aaa_update_test-8.x-1.1-alpha1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -88,14 +66,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1250404521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.1_2-beta1.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.1_2-beta1.xml
index e166b3af98..1092e8ff5b 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.1_2-beta1.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.1_2-beta1.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/aaa_update_test
@@ -17,15 +14,10 @@
aaa_update_test 8.x-1.2-beta1
8.x-1.2-beta1
DRUPAL-8--1-1-beta1
- 1
- 2
- beta1
published
http://example.com/aaa_update_test-8-x-1-2-beta1-release
http://example.com/aaa_update_test-8.x-1.2-beta1.tar.gz
1250412521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -35,15 +27,10 @@
aaa_update_test 8.x-1.2-alpha1
8.x-1.2-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 2
- alpha1
published
http://example.com/aaa_update_test-8-x-1-2-alpha1-release
http://example.com/aaa_update_test-8.x-1.2-alpha1.tar.gz
1250413521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -53,14 +40,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8.x-1.1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -70,15 +53,10 @@
aaa_update_test 8.x-1.1-beta1
8.x-1.1-beta1
DRUPAL-8--1-1-beta1
- 1
- 1
- beta1
published
http://example.com/aaa_update_test-8-x-1-1-beta1-release
http://example.com/aaa_update_test-8.x-1.1-beta1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -88,15 +66,10 @@
aaa_update_test 8.x-1.1-alpha1
8.x-1.1-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 1
- alpha1
published
http://example.com/aaa_update_test-8-x-1-1-alpha1-release
http://example.com/aaa_update_test-8.x-1.1-alpha1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -106,14 +79,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1250404521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.1_2.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.1_2.xml
index d3d30934f7..46fab5c66d 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.1_2.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.1_2.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/aaa_update_test
@@ -17,14 +14,10 @@
aaa_update_test 8.x-1.2
8.x-1.2
DRUPAL-8--1-1
- 1
- 2
published
http://example.com/aaa_update_test-8-x-1-2-release
http://example.com/aaa_update_test-8.x-1.2.tar.gz
1250421521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -34,15 +27,10 @@
aaa_update_test 8.x-1.2-beta1
8.x-1.2-beta1
DRUPAL-8--1-1-beta1
- 1
- 2
- beta1
published
http://example.com/aaa_update_test-8-x-1-2-beta1-release
http://example.com/aaa_update_test-8.x-1.2-beta1.tar.gz
1250412521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -52,15 +40,10 @@
aaa_update_test 8.x-1.2-alpha1
8.x-1.2-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 2
- alpha1
published
http://example.com/aaa_update_test-8-x-1-2-alpha1-release
http://example.com/aaa_update_test-8.x-1.2-alpha1.tar.gz
1250413521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -70,14 +53,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8.x-1.1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -87,15 +66,10 @@
aaa_update_test 8.x-1.1-beta1
8.x-1.1-beta1
DRUPAL-8--1-1-beta1
- 1
- 1
- beta1
published
http://example.com/aaa_update_test-8-x-1-1-beta1-release
http://example.com/aaa_update_test-8.x-1.1-beta1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -105,15 +79,10 @@
aaa_update_test 8.x-1.1-alpha1
8.x-1.1-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 1
- alpha1
published
http://example.com/aaa_update_test-8-x-1-1-alpha1-release
http://example.com/aaa_update_test-8.x-1.1-alpha1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -123,14 +92,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1250404521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.2_0-alpha1.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.2_0-alpha1.xml
index 799abdbd3d..f96d319088 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.2_0-alpha1.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.2_0-alpha1.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
-8.x
-1
-1,2
-1
+8.x-1.,8.x-2.
published
http://example.com/project/aaa_update_test
@@ -17,15 +14,10 @@
aaa_update_test 8.x-2.0-alpha1
8.x-2.0-alpha1
DRUPAL-8--2-0
- 2
- 0
- alpha1
published
http://example.com/aaa_update_test-8-x-2-0-alpha1-release
http://example.com/aaa_update_test-8.x-2.0-alpha1.tar.gz
1250422521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
@@ -35,14 +27,10 @@
aaa_update_test 8.x-1.2
8.x-1.2
DRUPAL-8--1-1
- 1
- 2
published
http://example.com/aaa_update_test-8-x-1-2-release
http://example.com/aaa_update_test-8.x-1.2.tar.gz
1250421521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -52,15 +40,10 @@
aaa_update_test 8.x-1.2-beta1
8.x-1.2-beta1
DRUPAL-8--1-1-beta1
- 1
- 2
- beta1
published
http://example.com/aaa_update_test-8-x-1-2-beta1-release
http://example.com/aaa_update_test-8.x-1.2-beta1.tar.gz
1250412521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -70,15 +53,10 @@
aaa_update_test 8.x-1.2-alpha1
8.x-1.2-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 2
- alpha1
published
http://example.com/aaa_update_test-8-x-1-2-alpha1-release
http://example.com/aaa_update_test-8.x-1.2-alpha1.tar.gz
1250413521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -88,14 +66,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8.x-1.1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -105,15 +79,10 @@
aaa_update_test 8.x-1.1-beta1
8.x-1.1-beta1
DRUPAL-8--1-1-beta1
- 1
- 1
- beta1
published
http://example.com/aaa_update_test-8-x-1-1-beta1-release
http://example.com/aaa_update_test-8.x-1.1-beta1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -123,15 +92,10 @@
aaa_update_test 8.x-1.1-alpha1
8.x-1.1-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 1
- alpha1
published
http://example.com/aaa_update_test-8-x-1-1-alpha1-release
http://example.com/aaa_update_test-8.x-1.1-alpha1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -141,14 +105,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1250404521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.2_0-beta1.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.2_0-beta1.xml
index e82a27f051..de2e03e07b 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.2_0-beta1.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.2_0-beta1.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
-8.x
-1
-1,2
-1
+8.x-1.,8.x-2.
published
http://example.com/project/aaa_update_test
@@ -17,15 +14,10 @@
aaa_update_test 8.x-2.0-beta1
8.x-2.0-beta1
DRUPAL-8--2-0
- 2
- 0
- beta1
published
http://example.com/aaa_update_test-8-x-2-0-beta1-release
http://example.com/aaa_update_test-8.x-2.0-beta1.tar.gz
- 1250422521
- b966255555d9c9b86d480ca08cfaa98e
- 1073782824
+ 1250442521
Release typeNew features
Release typeBug fixes
@@ -35,15 +27,10 @@
aaa_update_test 8.x-2.0-alpha1
8.x-2.0-alpha1
DRUPAL-8--2-0
- 2
- 0
- alpha1
published
http://example.com/aaa_update_test-8-x-2-0-alpha1-release
http://example.com/aaa_update_test-8.x-2.0-alpha1.tar.gz
1250422521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
@@ -53,14 +40,10 @@
aaa_update_test 8.x-1.2
8.x-1.2
DRUPAL-8--1-1
- 1
- 2
published
http://example.com/aaa_update_test-8-x-1-2-release
http://example.com/aaa_update_test-8.x-1.2.tar.gz
1250421521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -70,15 +53,10 @@
aaa_update_test 8.x-1.2-beta1
8.x-1.2-beta1
DRUPAL-8--1-1-beta1
- 1
- 2
- beta1
published
http://example.com/aaa_update_test-8-x-1-2-beta1-release
http://example.com/aaa_update_test-8.x-1.2-beta1.tar.gz
1250412521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -88,15 +66,10 @@
aaa_update_test 8.x-1.2-alpha1
8.x-1.2-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 2
- alpha1
published
http://example.com/aaa_update_test-8-x-1-2-alpha1-release
http://example.com/aaa_update_test-8.x-1.2-alpha1.tar.gz
1250413521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -106,14 +79,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8.x-1.1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -123,15 +92,10 @@
aaa_update_test 8.x-1.1-beta1
8.x-1.1-beta1
DRUPAL-8--1-1-beta1
- 1
- 1
- beta1
published
http://example.com/aaa_update_test-8-x-1-1-beta1-release
http://example.com/aaa_update_test-8.x-1.1-beta1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -141,15 +105,10 @@
aaa_update_test 8.x-1.1-alpha1
8.x-1.1-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 1
- alpha1
published
http://example.com/aaa_update_test-8-x-1-1-alpha1-release
http://example.com/aaa_update_test-8.x-1.1-alpha1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -159,14 +118,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1250404521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.2_0.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.2_0.xml
index 240f0db4fb..d4ba2c4f89 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.2_0.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.2_0.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
-8.x
-1
-1,2
-1
+8.x-1.,8.x-2.
published
http://example.com/project/aaa_update_test
@@ -17,14 +14,10 @@
aaa_update_test 8.x-2.0
8.x-2.0
DRUPAL-8--2-0
- 2
- 0
published
http://example.com/aaa_update_test-8-x-2-0-release
http://example.com/aaa_update_test-8.x-2.0.tar.gz
1250422521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
@@ -34,15 +27,10 @@
aaa_update_test 8.x-2.0-beta1
8.x-2.0-beta1
DRUPAL-8--2-0
- 2
- 0
- beta1
published
http://example.com/aaa_update_test-8-x-2-0-beta1-release
http://example.com/aaa_update_test-8.x-2.0-beta1.tar.gz
1250422521
- b966255555d9c9b86d480ca08cfaa98e
- 1073782824
Release typeNew features
Release typeBug fixes
@@ -52,15 +40,10 @@
aaa_update_test 8.x-2.0-alpha1
8.x-2.0-alpha1
DRUPAL-8--2-0
- 2
- 0
- alpha1
published
http://example.com/aaa_update_test-8-x-2-0-alpha1-release
http://example.com/aaa_update_test-8.x-2.0-alpha1.tar.gz
1250422521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
@@ -70,14 +53,10 @@
aaa_update_test 8.x-1.2
8.x-1.2
DRUPAL-8--1-1
- 1
- 2
published
http://example.com/aaa_update_test-8-x-1-2-release
http://example.com/aaa_update_test-8.x-1.2.tar.gz
1250421521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -87,15 +66,10 @@
aaa_update_test 8.x-1.2-beta1
8.x-1.2-beta1
DRUPAL-8--1-1-beta1
- 1
- 2
- beta1
published
http://example.com/aaa_update_test-8-x-1-2-beta1-release
http://example.com/aaa_update_test-8.x-1.2-beta1.tar.gz
1250412521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -105,15 +79,10 @@
aaa_update_test 8.x-1.2-alpha1
8.x-1.2-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 2
- alpha1
published
http://example.com/aaa_update_test-8-x-1-2-alpha1-release
http://example.com/aaa_update_test-8.x-1.2-alpha1.tar.gz
1250413521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -123,14 +92,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8.x-1.1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073751824
Release typeNew features
Release typeBug fixes
@@ -140,15 +105,10 @@
aaa_update_test 8.x-1.1-beta1
8.x-1.1-beta1
DRUPAL-8--1-1-beta1
- 1
- 1
- beta1
published
http://example.com/aaa_update_test-8-x-1-1-beta1-release
http://example.com/aaa_update_test-8.x-1.1-beta1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -158,15 +118,10 @@
aaa_update_test 8.x-1.1-alpha1
8.x-1.1-alpha1
DRUPAL-8--1-1-alpha1
- 1
- 1
- alpha1
published
http://example.com/aaa_update_test-8-x-1-1-alpha1-release
http://example.com/aaa_update_test-8.x-1.1-alpha1.tar.gz
1250414521
- b966255555d9c9b86d480ca08cfaa98e
- 1073761824
Release typeNew features
Release typeBug fixes
@@ -176,14 +131,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8.x-1.0.tar.gz
1250404521
- b966255555d9c9b86d480ca08cfaa98e
- 1073781824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.1_8.x-1.2.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.1_8.x-1.2.xml
index 560c82bf05..21e1642f22 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.1_8.x-1.2.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.1_8.x-1.2.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
- 8.x
- 1
- 1
- 1
+ 8.x-1.
published
http://example.com/project/aaa_update_test
@@ -17,14 +14,10 @@
aaa_update_test 8.x-1.2
8.x-1.2
DRUPAL-8--1-2
- 1
- 2
published
http://example.com/aaa_update_test-8-x-1-2-release
http://example.com/aaa_update_test-8-x-1-2.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -35,14 +28,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8-x-1-1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -54,14 +43,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8-x-1-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2.xml
index 0ebb766dd2..78060f3dba 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
- 8.x
- 1
- 1
- 1
+ 8.x-1.
published
http://example.com/project/aaa_update_test
@@ -17,14 +14,10 @@
aaa_update_test 8.x-1.2
8.x-1.2
DRUPAL-8--1-2
- 1
- 2
published
http://example.com/aaa_update_test-8-x-1-2-release
http://example.com/aaa_update_test-8-x-1-2.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -35,14 +28,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8-x-1-1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -53,14 +42,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8-x-1-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2_8.x-2.2.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2_8.x-2.2.xml
index 4910382823..038e55e455 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2_8.x-2.2.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-1.2_8.x-2.2.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
- 8.x
- 2
- 1,2
- 2
+ 8.x-1.,8.x-2.
published
http://example.com/project/aaa_update_test
@@ -17,15 +14,10 @@
aaa_update_test 8.x-3.0-beta2
8.x-3.0-beta2
8.x-3.0-beta2
- 3
- 0
- beta2
published
http://example.com/aaa_update_test-8-x-3-0-beta2-release
http://example.com/aaa_update_test-8-x-3-0-beta2.tar.gz
1533298080
- 2387284145e34a19fc45e03c258a2831
- 16209911
Release typeBug fixes
Release typeNew features
@@ -38,16 +30,11 @@
aaa_update_test 8.x-3.0-beta1
8.x-3.0-beta1
8.x-3.0-beta1
- 3
- 0
- beta1
^8.1.1
published
http://example.com/aaa_update_test-8-x-3-0-beta1
http://example.com/aaa_update_test--8-x-3-0-beta1.tar.gz
1533270485
- 3d70ae568dd8f7100082b8c58bc8d1fe
- 16209123
Release typeInsecure
Release typeBug fixes
@@ -61,15 +48,11 @@
aaa_update_test 8.x-2.2
8.x-2.2
DRUPAL-8--2-2
- 2
- 2
^8.1.1
published
http://example.com/aaa_update_test-8-x-2-2-release
http://example.com/aaa_update_test-8-x-2-2.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -80,14 +63,10 @@
aaa_update_test 8.x-2.1
8.x-2.1
DRUPAL-8--2-1
- 2
- 1
published
http://example.com/aaa_update_test-8-x-2-1-release
http://example.com/aaa_update_test-8-x-2-1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -99,14 +78,10 @@
aaa_update_test 8.x-2.0
8.x-2.0
DRUPAL-8--2-0
- 2
- 0
published
http://example.com/aaa_update_test-8-x-2-0-release
http://example.com/aaa_update_test-8-x-2-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -117,15 +92,11 @@
aaa_update_test 8.x-1.2
8.x-1.2
DRUPAL-8--1-2
- 1
- 2
^8.1.0
published
http://example.com/aaa_update_test-8-x-1-2-release
http://example.com/aaa_update_test-8-x-1-2.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -136,14 +107,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8-x-1-1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -154,14 +121,10 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8-x-1-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-2.2_1.x_secure.xml b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-2.2_1.x_secure.xml
index a42b58d5c5..a696eacc50 100644
--- a/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-2.2_1.x_secure.xml
+++ b/core/modules/update/tests/modules/update_test/aaa_update_test.sec.8.x-2.2_1.x_secure.xml
@@ -3,10 +3,7 @@
AAA Update test
aaa_update_test
Drupal
- 8.x
- 2
- 1,2
- 2
+ 8.x-1.,8.x-2.
published
http://example.com/project/aaa_update_test
@@ -17,14 +14,10 @@
aaa_update_test 8.x-2.2
8.x-2.2
DRUPAL-8--2-2
- 2
- 2
published
http://example.com/aaa_update_test-8-x-2-2-release
http://example.com/aaa_update_test-8-x-2-2.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -35,14 +28,10 @@
aaa_update_test 8.x-2.1
8.x-2.1
DRUPAL-8--2-1
- 2
- 1
published
http://example.com/aaa_update_test-8-x-2-1-release
http://example.com/aaa_update_test-8-x-2-1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -54,14 +43,10 @@
aaa_update_test 8.x-2.0
8.x-2.0
DRUPAL-8--2-0
- 2
- 0
published
http://example.com/aaa_update_test-8-x-2-0-release
http://example.com/aaa_update_test-8-x-2-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -72,14 +57,10 @@
aaa_update_test 8.x-1.2
8.x-1.2
DRUPAL-8--1-2
- 1
- 2
published
http://example.com/aaa_update_test-8-x-1-2-release
http://example.com/aaa_update_test-8-x-1-2.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -89,14 +70,10 @@
aaa_update_test 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/aaa_update_test-8-x-1-1-release
http://example.com/aaa_update_test-8-x-1-1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -106,15 +83,11 @@
aaa_update_test 8.x-1.0
8.x-1.0
DRUPAL-8--1-0
- 1
- 0
published
http://example.com/aaa_update_test-8-x-1-0-release
http://example.com/aaa_update_test-8-x-1-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
-
+
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/bbb_update_test.1_0.xml b/core/modules/update/tests/modules/update_test/bbb_update_test.1_0.xml
index 8d705b5f96..43ebaf14ce 100644
--- a/core/modules/update/tests/modules/update_test/bbb_update_test.1_0.xml
+++ b/core/modules/update/tests/modules/update_test/bbb_update_test.1_0.xml
@@ -3,10 +3,7 @@
BBB Update test
bbb_update_test
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/bbb_update_test
@@ -17,14 +14,10 @@
bbb_update_test 8.x-1.0
8.x-1.0
DRUPAL-7--1-0
- 1
- 0
published
http://example.com/bbb_update_test-7-x-1-0-release
http://example.com/bbb_update_test-8.x-1.0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/ccc_update_test.1_0.xml b/core/modules/update/tests/modules/update_test/ccc_update_test.1_0.xml
index 82764c2c33..3076229a4b 100644
--- a/core/modules/update/tests/modules/update_test/ccc_update_test.1_0.xml
+++ b/core/modules/update/tests/modules/update_test/ccc_update_test.1_0.xml
@@ -3,10 +3,7 @@
CCC Update test
ccc_update_test
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/ccc_update_test
@@ -17,14 +14,10 @@
ccc_update_test 8.x-1.0
8.x-1.0
DRUPAL-7--1-0
- 1
- 0
published
http://example.com/ccc_update_test-7-x-1-0-release
http://example.com/ccc_update_test-8.x-1.0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.0.0-alpha1.xml b/core/modules/update/tests/modules/update_test/drupal.0.0-alpha1.xml
index e463b72e3d..3203ef70d5 100644
--- a/core/modules/update/tests/modules/update_test/drupal.0.0-alpha1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.0.0-alpha1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.0.0-beta1.xml b/core/modules/update/tests/modules/update_test/drupal.0.0-beta1.xml
index b3dc3bf2aa..9f36b068a3 100644
--- a/core/modules/update/tests/modules/update_test/drupal.0.0-beta1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.0.0-beta1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -36,16 +27,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.0.0.xml b/core/modules/update/tests/modules/update_test/drupal.0.0.xml
index ac450660d5..391ad92457 100644
--- a/core/modules/update/tests/modules/update_test/drupal.0.0.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.0.0.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -35,16 +27,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -54,16 +40,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.0.1-alpha1.xml b/core/modules/update/tests/modules/update_test/drupal.0.1-alpha1.xml
index 150136c67d..d3345e3561 100644
--- a/core/modules/update/tests/modules/update_test/drupal.0.1-alpha1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.0.1-alpha1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
Drupal 8.0.1-alpha1
8.0.1-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 0
- 1
- alpha1
published
http://example.com/drupal-8-0-1-alpha1-release
http://example.com/drupal-8-0-1-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -36,15 +27,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -54,16 +40,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -73,16 +53,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.0.1-beta1.xml b/core/modules/update/tests/modules/update_test/drupal.0.1-beta1.xml
index 25c9f7023e..1b30ee5ec7 100644
--- a/core/modules/update/tests/modules/update_test/drupal.0.1-beta1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.0.1-beta1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
Drupal 8.0.1-beta1
8.0.1-beta1
DRUPAL-8-0-1-beta1
- 8
- 0
- 1
- beta1
published
http://example.com/drupal-8-0-1-beta1-release
http://example.com/drupal-8-0-1-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -36,16 +27,10 @@
Drupal 8.0.1-alpha1
8.0.1-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 0
- 1
- alpha1
published
http://example.com/drupal-8-0-1-alpha1-release
http://example.com/drupal-8-0-1-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -55,15 +40,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -73,16 +53,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -92,16 +66,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.0.1.xml b/core/modules/update/tests/modules/update_test/drupal.0.1.xml
index ea00c15c90..49ad1fc075 100644
--- a/core/modules/update/tests/modules/update_test/drupal.0.1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.0.1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -35,16 +27,10 @@
Drupal 8.0.1-beta1
8.0.1-beta1
DRUPAL-8-0-1-beta1
- 8
- 0
- 1
- beta1
published
http://example.com/drupal-8-0-1-beta1-release
http://example.com/drupal-8-0-1-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -54,16 +40,10 @@
Drupal 8.0.1-alpha1
8.0.1-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 0
- 1
- alpha1
published
http://example.com/drupal-8-0-1-alpha1-release
http://example.com/drupal-8-0-1-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -73,15 +53,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -91,16 +66,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -110,16 +79,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.1.0-alpha1.xml b/core/modules/update/tests/modules/update_test/drupal.1.0-alpha1.xml
index fe734a844b..f21733b7bb 100644
--- a/core/modules/update/tests/modules/update_test/drupal.1.0-alpha1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.1.0-alpha1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
Drupal 8.1.0-alpha1
8.1.0-alpha1
DRUPAL-8-1-0-alpha1
- 8
- 1
- 0
- alpha1
published
http://example.com/drupal-8-1-0-alpha1-release
http://example.com/drupal-8-1-0-alpha1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -36,15 +27,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -54,16 +40,10 @@
Drupal 8.0.1-beta1
8.0.1-beta1
DRUPAL-8-0-1-beta1
- 8
- 0
- 1
- beta1
published
http://example.com/drupal-8-0-1-beta1-release
http://example.com/drupal-8-0-1-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -73,16 +53,10 @@
Drupal 8.0.1-alpha1
8.0.1-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 0
- 1
- alpha1
published
http://example.com/drupal-8-0-1-alpha1-release
http://example.com/drupal-8-0-1-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -92,15 +66,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -110,16 +79,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -129,16 +92,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.1.0-beta1.xml b/core/modules/update/tests/modules/update_test/drupal.1.0-beta1.xml
index fa65c5e92e..40588dd870 100644
--- a/core/modules/update/tests/modules/update_test/drupal.1.0-beta1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.1.0-beta1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
Drupal 8.1.0-beta1
8.1.0-beta1
DRUPAL-8-1-0-beta1
- 8
- 1
- 0
- beta1
published
http://example.com/drupal-8-1-0-beta1-release
http://example.com/drupal-8-1-0-beta1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -36,16 +27,10 @@
Drupal 8.1.0-alpha1
8.1.0-alpha1
DRUPAL-8-1-0-alpha1
- 8
- 1
- 0
- alpha1
published
http://example.com/drupal-8-1-0-alpha1-release
http://example.com/drupal-8-1-0-alpha1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -55,15 +40,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -73,16 +53,10 @@
Drupal 8.0.1-beta1
8.0.1-beta1
DRUPAL-8-0-1-beta1
- 8
- 0
- 1
- beta1
published
http://example.com/drupal-8-0-1-beta1-release
http://example.com/drupal-8-0-1-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -92,16 +66,10 @@
Drupal 8.0.1-alpha1
8.0.1-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 0
- 1
- alpha1
published
http://example.com/drupal-8-0-1-alpha1-release
http://example.com/drupal-8-0-1-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -111,15 +79,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -129,16 +92,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -148,16 +105,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.1.0.xml b/core/modules/update/tests/modules/update_test/drupal.1.0.xml
index 0e6a40c72c..bba5cb97e1 100644
--- a/core/modules/update/tests/modules/update_test/drupal.1.0.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.1.0.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 8.1.0
8.1.0
DRUPAL-8-1-0
- 8
- 1
- 0
published
http://example.com/drupal-8-1-0-release
http://example.com/drupal-8-1-0.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -35,16 +27,10 @@
Drupal 8.1.0-beta1
8.1.0-beta1
DRUPAL-8-1-0-beta1
- 8
- 1
- 0
- beta1
published
http://example.com/drupal-8-1-0-beta1-release
http://example.com/drupal-8-1-0-beta1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -54,16 +40,10 @@
Drupal 8.1.0-alpha1
8.1.0-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 1
- 0
- alpha1
published
http://example.com/drupal-8-1-0-alpha1-release
http://example.com/drupal-8-1-0-alpha1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -73,15 +53,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -91,16 +66,10 @@
Drupal 8.0.1-beta1
8.0.1-beta1
DRUPAL-8-0-1-beta1
- 8
- 0
- 1
- beta1
published
http://example.com/drupal-8-0-1-beta1-release
http://example.com/drupal-8-0-1-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -110,16 +79,10 @@
Drupal 8.0.1-alpha1
8.0.1-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 0
- 1
- alpha1
published
http://example.com/drupal-8-0-1-alpha1-release
http://example.com/drupal-8-0-1-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -129,15 +92,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -147,16 +105,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -166,16 +118,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.1.1-alpha1.xml b/core/modules/update/tests/modules/update_test/drupal.1.1-alpha1.xml
index 0356c8d978..63d64ad4e2 100644
--- a/core/modules/update/tests/modules/update_test/drupal.1.1-alpha1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.1.1-alpha1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
Drupal 8.1.1-alpha1
8.1.1-alpha1
DRUPAL-8-1-1-alpha1
- 8
- 1
- 1
- alpha1
published
http://example.com/drupal-8-1-1-alpha1-release
http://example.com/drupal-8-1-1-alpha1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -36,15 +27,10 @@
Drupal 8.1.0
8.1.0
DRUPAL-8-1-0
- 8
- 1
- 0
published
http://example.com/drupal-8-1-0-release
http://example.com/drupal-8-1-0.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -54,16 +40,10 @@
Drupal 8.1.0-beta1
8.1.0-beta1
DRUPAL-8-0-1-beta1
- 8
- 1
- 0
- beta1
published
http://example.com/drupal-8-1-0-beta1-release
http://example.com/drupal-8-1-0-beta1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -73,16 +53,10 @@
Drupal 8.1.0-alpha1
8.1.0-alpha1
DRUPAL-8-1-0-alpha1
- 8
- 1
- 0
- alpha1
published
http://example.com/drupal-8-1-0-alpha1-release
http://example.com/drupal-8-1-0-alpha1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -92,15 +66,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -110,16 +79,10 @@
Drupal 8.0.1-beta1
8.0.1-beta1
DRUPAL-8-0-1-beta1
- 8
- 0
- 1
- beta1
published
http://example.com/drupal-8-0-1-beta1-release
http://example.com/drupal-8-0-1-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -129,16 +92,10 @@
Drupal 8.0.1-alpha1
8.0.1-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 0
- 1
- alpha1
published
http://example.com/drupal-8-0-1-alpha1-release
http://example.com/drupal-8-0-1-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -148,15 +105,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -166,16 +118,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -185,16 +131,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.1.1-beta1.xml b/core/modules/update/tests/modules/update_test/drupal.1.1-beta1.xml
index abeef7ea41..0122c4f325 100644
--- a/core/modules/update/tests/modules/update_test/drupal.1.1-beta1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.1.1-beta1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
Drupal 8.1.1-beta1
8.1.1-beta1
DRUPAL-8-1-1-beta1
- 8
- 1
- 1
- beta1
published
http://example.com/drupal-8-1-1-beta1-release
http://example.com/drupal-8-1-1-beta1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -36,16 +27,10 @@
Drupal 8.1.1-alpha1
8.1.1-alpha1
DRUPAL-8-1-1-alpha1
- 8
- 1
- 1
- alpha1
published
http://example.com/drupal-8-1-1-alpha1-release
http://example.com/drupal-8-1-1-alpha1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -55,15 +40,10 @@
Drupal 8.1.0
8.1.0
DRUPAL-8-1-0
- 8
- 1
- 0
published
http://example.com/drupal-8-1-0-release
http://example.com/drupal-8-1-0.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -73,16 +53,10 @@
Drupal 8.1.0-beta1
8.1.0-beta1
DRUPAL-8-0-1-beta1
- 8
- 1
- 0
- beta1
published
http://example.com/drupal-8-1-0-beta1-release
http://example.com/drupal-8-1-0-beta1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -92,16 +66,10 @@
Drupal 8.1.0-alpha1
8.1.0-alpha1
DRUPAL-8-1-0-alpha1
- 8
- 1
- 0
- alpha1
published
http://example.com/drupal-8-1-0-alpha1-release
http://example.com/drupal-8-1-0-alpha1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -111,15 +79,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -129,16 +92,10 @@
Drupal 8.0.1-beta1
8.0.1-beta1
DRUPAL-8-0-1-beta1
- 8
- 0
- 1
- beta1
published
http://example.com/drupal-8-0-1-beta1-release
http://example.com/drupal-8-0-1-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -148,16 +105,10 @@
Drupal 8.0.1-alpha1
8.0.1-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 0
- 1
- alpha1
published
http://example.com/drupal-8-0-1-alpha1-release
http://example.com/drupal-8-0-1-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -167,15 +118,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -185,16 +131,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -204,16 +144,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.1.1.xml b/core/modules/update/tests/modules/update_test/drupal.1.1.xml
index a588bdc466..e295cb6152 100644
--- a/core/modules/update/tests/modules/update_test/drupal.1.1.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.1.1.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 8.1.1
8.1.1
DRUPAL-8-1-1
- 8
- 1
- 1
published
http://example.com/drupal-8-1-1-release
http://example.com/drupal-8-1-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -35,16 +27,10 @@
Drupal 8.1.1-beta1
8.1.1-beta1
DRUPAL-8-1-1-beta1
- 8
- 1
- 1
- beta1
published
http://example.com/drupal-8-1-1-beta1-release
http://example.com/drupal-8-1-1-beta1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -54,16 +40,10 @@
Drupal 8.1.1-alpha1
8.1.1-alpha1
DRUPAL-8-1-1-alpha1
- 8
- 1
- 1
- alpha1
published
http://example.com/drupal-8-1-1-alpha1-release
http://example.com/drupal-8-1-1-alpha1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -73,15 +53,10 @@
Drupal 8.1.0
8.1.0
DRUPAL-8-1-0
- 8
- 1
- 0
published
http://example.com/drupal-8-1-0-release
http://example.com/drupal-8-1-0.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -91,16 +66,10 @@
Drupal 8.1.0-beta1
8.1.0-beta1
DRUPAL-8-0-1-beta1
- 8
- 1
- 0
- beta1
published
http://example.com/drupal-8-1-0-beta1-release
http://example.com/drupal-8-1-0-beta1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -110,16 +79,10 @@
Drupal 8.1.0-alpha1
8.1.0-alpha1
DRUPAL-8-1-0-alpha1
- 8
- 1
- 0
- alpha1
published
http://example.com/drupal-8-1-0-alpha1-release
http://example.com/drupal-8-1-0-alpha1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -129,15 +92,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -147,16 +105,10 @@
Drupal 8.0.1-beta1
8.0.1-beta1
DRUPAL-8-0-1-beta1
- 8
- 0
- 1
- beta1
published
http://example.com/drupal-8-0-1-beta1-release
http://example.com/drupal-8-0-1-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -166,16 +118,10 @@
Drupal 8.0.1-alpha1
8.0.1-alpha1
DRUPAL-8-0-1-alpha1
- 8
- 0
- 1
- alpha1
published
http://example.com/drupal-8-0-1-alpha1-release
http://example.com/drupal-8-0-1-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -185,15 +131,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -203,16 +144,10 @@
Drupal 8.0.0-beta1
8.0.0-beta1
DRUPAL-8-0-0-beta1
- 8
- 0
- 0
- beta1
published
http://example.com/drupal-8-0-0-beta1-release
http://example.com/drupal-8-0-0-beta1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -222,16 +157,10 @@
Drupal 8.0.0-alpha1
8.0.0-alpha1
DRUPAL-8-0-0-alpha1
- 8
- 0
- 0
- alpha1
published
http://example.com/drupal-8-0-0-alpha1-release
http://example.com/drupal-8-0-0-alpha1.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.9.xml b/core/modules/update/tests/modules/update_test/drupal.9.xml
index c17b426a75..e5fd89e84f 100644
--- a/core/modules/update/tests/modules/update_test/drupal.9.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.9.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-9.x
-9
-9
-9
+9.0.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 9.0.0
9.0.0
DRUPAL-9-0-0
- 9
- 0
- 0
published
http://example.com/drupal-9-0-0-release
http://example.com/drupal-9-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.dev.xml b/core/modules/update/tests/modules/update_test/drupal.dev.xml
index 4ab26bd2db..55a5c66c7a 100644
--- a/core/modules/update/tests/modules/update_test/drupal.dev.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.dev.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -35,15 +27,10 @@
Drupal 8.0.x-dev
8.0.x-dev
DRUPAL-8-0
- 8
- 0
- dev
published
http://example.com/drupal-8-0-x-dev-release
http://example.com/drupal-8.0.x-dev.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.sec.0.1_0.2.xml b/core/modules/update/tests/modules/update_test/drupal.sec.0.1_0.2.xml
index ba954ae427..17a9b06f76 100644
--- a/core/modules/update/tests/modules/update_test/drupal.sec.0.1_0.2.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.sec.0.1_0.2.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 8.0.2
8.0.2
DRUPAL-8-0-2
- 8
- 0
- 2
published
http://example.com/drupal-8-0-2-release
http://example.com/drupal-8-0-2.tar.gz
1250424641
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -36,15 +28,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -56,15 +43,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.sec.0.2-rc2-b.xml b/core/modules/update/tests/modules/update_test/drupal.sec.0.2-rc2-b.xml
index a971ca73eb..e3e8f6ab72 100644
--- a/core/modules/update/tests/modules/update_test/drupal.sec.0.2-rc2-b.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.sec.0.2-rc2-b.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.,8.2.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
drupal 8.2.0-rc2
8.2.0-rc2
8.2.0-rc2
- 8
- 2
- 0
- rc2
published
http://example.com/drupal-8-2-0-rc2-release
http://example.com/drupal-8-2-0-rc2.tar.gz
1533298080
- 2387284145e34a19fc45e03c258a2831
- 16209911
Release typeBug fixes
Release typeNew features
@@ -39,16 +30,10 @@
drupal 8.2.0-rc1
8.2.0-rc1
8.2.0-rc1
- 8
- 2
- 0
- rc1
published
http://example.com/drupal-8-2-0-rc1-release
http://example.com/drupal-8-2-0-rc1.tar.gz
1533270485
- 3d70ae568dd8f7100082b8c58bc8d1fe
- 16209123
Release typeBug fixes
Release typeNew features
@@ -61,16 +46,10 @@
drupal 8.2.0-beta2
8.2.0-beta2
8.2.0-beta2
- 8
- 2
- 0
- beta2
published
http://example.com/drupal-8-2-0-beta2-release
http://example.com/drupal-8-2-0-beta2.tar.gz
1533298080
- 2387284145e34a19fc45e03c258a2831
- 16209911
Release typeBug fixes
Release typeNew features
@@ -83,16 +62,10 @@
drupal 8.2.0-beta1
8.2.0-beta1
8.2.0-beta1
- 8
- 2
- 0
- beta1
published
http://example.com/drupal-8-2-0-beta1-release
http://example.com/drupal-8-2-0-beta1.tar.gz
1533270485
- 3d70ae568dd8f7100082b8c58bc8d1fe
- 16209123
Release typeBug fixes
Release typeNew features
@@ -105,16 +78,10 @@
drupal 8.2.0-alpha2
8.2.0-alpha2
8.2.0-alpha2
- 8
- 2
- 0
- alpha2
published
http://example.com/drupal-8-2-0-alpha2-release
http://example.com/drupal-8-2-0-alpha2.tar.gz
1533298080
- 2387284145e34a19fc45e03c258a2831
- 16209911
Release typeBug fixes
Release typeNew features
@@ -127,16 +94,10 @@
drupal 8.2.0-alpha1
8.2.0-alpha1
8.2.0-alpha1
- 8
- 2
- 0
- alpha1
published
http://example.com/drupal-8.2.0-alpha1
http://example.com/drupal-8-2-0-alpha1.tar.gz
1533270485
- 3d70ae568dd8f7100082b8c58bc8d1fe
- 16209123
Release typeBug fixes
Release typeNew features
@@ -149,15 +110,10 @@
Drupal 8.1.2
8.1.2
DRUPAL-8-1-2
- 8
- 1
- 2
published
http://example.com/drupal-8-1-2-release
http://example.com/drupal-8-1-2.tar.gz
1250424526
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -168,15 +124,10 @@
Drupal 8.1.1
8.1.1
DRUPAL-8-1-1
- 8
- 1
- 1
published
http://example.com/drupal-8-1-1-release
http://example.com/drupal-8-1-1.tar.gz
1250424525
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -187,15 +138,10 @@
Drupal 8.1.0
8.1.0
DRUPAL-8-1-0
- 8
- 1
- 0
published
http://example.com/drupal-8-1-0-release
http://example.com/drupal-8-1-0.tar.gz
1250424524
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -206,15 +152,10 @@
Drupal 8.0.2
8.0.2
DRUPAL-8-0-2
- 8
- 0
- 2
published
http://example.com/drupal-8-0-2-release
http://example.com/drupal-8-0-2.tar.gz
1250424523
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -225,15 +166,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424522
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -244,15 +180,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.sec.0.2-rc2.xml b/core/modules/update/tests/modules/update_test/drupal.sec.0.2-rc2.xml
index bc422deb6f..dd723e9848 100644
--- a/core/modules/update/tests/modules/update_test/drupal.sec.0.2-rc2.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.sec.0.2-rc2.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.,8.2.
published
http://example.com/project/drupal
@@ -17,16 +14,10 @@
drupal 8.2.0-rc2
8.2.0-rc2
8.2.0-rc2
- 8
- 2
- 0
- rc2
published
http://example.com/drupal-8-2-0-rc2-release
http://example.com/drupal-8-2-0-rc2.tar.gz
1533298080
- 2387284145e34a19fc45e03c258a2831
- 16209911
Release typeBug fixes
Release typeNew features
@@ -40,16 +31,10 @@
drupal 8.2.0-rc1
8.2.0-rc1
8.2.0-rc1
- 8
- 2
- 0
- rc1
published
http://example.com/drupal-8-2-0-rc1-release
http://example.com/drupal-8-2-0-rc1.tar.gz
1533270485
- 3d70ae568dd8f7100082b8c58bc8d1fe
- 16209123
Release typeInsecure
Release typeBug fixes
@@ -63,16 +48,10 @@
drupal 8.2.0-beta2
8.2.0-beta2
8.2.0-beta2
- 8
- 2
- 0
- beta2
published
http://example.com/drupal-8-2-0-beta2-release
http://example.com/drupal-8-2-0-beta2.tar.gz
1533298080
- 2387284145e34a19fc45e03c258a2831
- 16209911
Release typeBug fixes
Release typeNew features
@@ -86,16 +65,10 @@
drupal 8.2.0-beta1
8.2.0-beta1
8.2.0-beta1
- 8
- 2
- 0
- beta1
published
http://example.com/drupal-8-2-0-beta1-release
http://example.com/drupal-8-2-0-beta1.tar.gz
1533270485
- 3d70ae568dd8f7100082b8c58bc8d1fe
- 16209123
Release typeInsecure
Release typeBug fixes
@@ -109,16 +82,10 @@
drupal 8.2.0-alpha2
8.2.0-alpha2
8.2.0-alpha2
- 8
- 2
- 0
- alpha2
published
http://example.com/drupal-8-2-0-alpha2-release
http://example.com/drupal-8-2-0-alpha2.tar.gz
1533298080
- 2387284145e34a19fc45e03c258a2831
- 16209911
Release typeBug fixes
Release typeNew features
@@ -132,16 +99,10 @@
drupal 8.2.0-alpha1
8.2.0-alpha1
8.2.0-alpha1
- 8
- 2
- 0
- alpha1
published
http://example.com/drupal-8.2.0-alpha1
http://example.com/drupal-8-2-0-alpha1.tar.gz
1533270485
- 3d70ae568dd8f7100082b8c58bc8d1fe
- 16209123
Release typeInsecure
Release typeBug fixes
@@ -155,15 +116,10 @@
Drupal 8.1.2
8.1.2
DRUPAL-8-1-2
- 8
- 1
- 2
published
http://example.com/drupal-8-1-2-release
http://example.com/drupal-8-1-2.tar.gz
1250424641
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -174,15 +130,10 @@
Drupal 8.1.1
8.1.1
DRUPAL-8-1-1
- 8
- 1
- 1
published
http://example.com/drupal-8-1-1-release
http://example.com/drupal-8-1-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -193,15 +144,10 @@
Drupal 8.1.0
8.1.0
DRUPAL-8-1-0
- 8
- 1
- 0
published
http://example.com/drupal-8-1-0-release
http://example.com/drupal-8-1-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -212,15 +158,10 @@
Drupal 8.0.2
8.0.2
DRUPAL-8-0-2
- 8
- 0
- 2
published
http://example.com/drupal-8-0-2-release
http://example.com/drupal-8-0-2.tar.gz
1250424641
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -231,15 +172,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -250,15 +186,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.sec.0.2.xml b/core/modules/update/tests/modules/update_test/drupal.sec.0.2.xml
index 0b9bbce632..f77cec76de 100644
--- a/core/modules/update/tests/modules/update_test/drupal.sec.0.2.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.sec.0.2.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 8.0.2
8.0.2
DRUPAL-8-0-2
- 8
- 0
- 2
published
http://example.com/drupal-8-0-2-release
http://example.com/drupal-8-0-2.tar.gz
1250424641
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -36,15 +28,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -55,15 +42,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.sec.1.2.xml b/core/modules/update/tests/modules/update_test/drupal.sec.1.2.xml
index 8665e46b36..8884a876d2 100644
--- a/core/modules/update/tests/modules/update_test/drupal.sec.1.2.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.sec.1.2.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 8.1.2
8.1.2
DRUPAL-8-1-2
- 8
- 1
- 2
published
http://example.com/drupal-8-1-2-release
http://example.com/drupal-8-1-2.tar.gz
1250424641
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -36,15 +28,10 @@
Drupal 8.1.1
8.1.1
DRUPAL-8-1-1
- 8
- 1
- 1
published
http://example.com/drupal-8-1-1-release
http://example.com/drupal-8-1-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -55,15 +42,10 @@
Drupal 8.1.0
8.1.0
DRUPAL-8-1-0
- 8
- 1
- 0
published
http://example.com/drupal-8-1-0-release
http://example.com/drupal-8-1-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -74,15 +56,10 @@
Drupal 8.0.2
8.0.2
DRUPAL-8-0-2
- 8
- 0
- 2
published
http://example.com/drupal-8-0-2-release
http://example.com/drupal-8-0-2.tar.gz
1250424641
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -92,15 +69,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -110,15 +82,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/drupal.sec.1.2_insecure.xml b/core/modules/update/tests/modules/update_test/drupal.sec.1.2_insecure.xml
index dadad421bc..7f915dd476 100644
--- a/core/modules/update/tests/modules/update_test/drupal.sec.1.2_insecure.xml
+++ b/core/modules/update/tests/modules/update_test/drupal.sec.1.2_insecure.xml
@@ -3,10 +3,7 @@
Drupal
drupal
Drupal
-8.x
-8
-8
-8
+8.0.,8.1.
published
http://example.com/project/drupal
@@ -17,15 +14,10 @@
Drupal 8.1.2
8.1.2
DRUPAL-8-1-2
- 8
- 1
- 2
published
http://example.com/drupal-8-1-2-release
http://example.com/drupal-8-1-2.tar.gz
1250424641
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -36,15 +28,10 @@
Drupal 8.1.1
8.1.1
DRUPAL-8-1-1
- 8
- 1
- 1
published
http://example.com/drupal-8-1-1-release
http://example.com/drupal-8-1-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -55,15 +42,10 @@
Drupal 8.1.0
8.1.0
DRUPAL-8-1-0
- 8
- 1
- 0
published
http://example.com/drupal-8-1-0-release
http://example.com/drupal-8-1-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
@@ -74,15 +56,10 @@
Drupal 8.0.2
8.0.2
DRUPAL-8-0-2
- 8
- 0
- 2
published
http://example.com/drupal-8-0-2-release
http://example.com/drupal-8-0-2.tar.gz
1250424641
- b966255555d9c9b86d480ca08cfaa98e
- 4294967296
Release typeNew features
Release typeBug fixes
@@ -93,15 +70,10 @@
Drupal 8.0.1
8.0.1
DRUPAL-8-0-1
- 8
- 0
- 1
published
http://example.com/drupal-8-0-1-release
http://example.com/drupal-8-0-1.tar.gz
1250424581
- b966255555d9c9b86d480ca08cfaa98e
- 2147483648
Release typeNew features
Release typeBug fixes
@@ -112,15 +84,10 @@
Drupal 8.0.0
8.0.0
DRUPAL-8-0-0
- 8
- 0
- 0
published
http://example.com/drupal-8-0-0-release
http://example.com/drupal-8-0-0.tar.gz
1250424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/update_test_basetheme.1_1-sec.xml b/core/modules/update/tests/modules/update_test/update_test_basetheme.1_1-sec.xml
index 3529e19763..9d00048ecb 100644
--- a/core/modules/update/tests/modules/update_test/update_test_basetheme.1_1-sec.xml
+++ b/core/modules/update/tests/modules/update_test/update_test_basetheme.1_1-sec.xml
@@ -3,10 +3,7 @@
Update test base theme
update_test_basetheme
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/update_test_basetheme
@@ -17,14 +14,10 @@
update_test_basetheme 8.x-1.1
8.x-1.1
DRUPAL-7--1-1
- 1
- 1
published
http://example.com/update_test_basetheme-7-x-1-1-release
http://example.com/update_test_basetheme-8.x-1.1.tar.gz
1250624521
- b966255555d9c9b86d480ca08cfaa98e
- 1073763241
Release typeSecurity update
Release typeNew features
@@ -35,14 +28,10 @@
update_test_basetheme 8.x-1.0
8.x-1.0
DRUPAL-7--1-0
- 1
- 0
published
http://example.com/update_test_basetheme-7-x-1-0-release
http://example.com/update_test_basetheme-8.x-1.0.tar.gz
1250524521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/update_test_new_module.1_1.xml b/core/modules/update/tests/modules/update_test/update_test_new_module.1_1.xml
index f9039b2e3f..88e1ec9899 100644
--- a/core/modules/update/tests/modules/update_test/update_test_new_module.1_1.xml
+++ b/core/modules/update/tests/modules/update_test/update_test_new_module.1_1.xml
@@ -3,10 +3,7 @@
Update test new module
update_test_new_module
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/update_test_new_module
@@ -17,14 +14,10 @@
update_test_new_module 8.x-1.1
8.x-1.1
DRUPAL-8--1-1
- 1
- 1
published
http://example.com/update_test_new_module-8-x-1-1-release
core/modules/update/tests/update_test_new_module/8.x-1.1/update_test_new_module.tar.gz
1300424521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/modules/update_test/update_test_subtheme.1_0.xml b/core/modules/update/tests/modules/update_test/update_test_subtheme.1_0.xml
index c791b7f1fb..4cde86254e 100644
--- a/core/modules/update/tests/modules/update_test/update_test_subtheme.1_0.xml
+++ b/core/modules/update/tests/modules/update_test/update_test_subtheme.1_0.xml
@@ -3,10 +3,7 @@
Update test subtheme
update_test_subtheme
Drupal
-8.x
-1
-1
-1
+8.x-1.
published
http://example.com/project/update_test_subtheme
@@ -17,14 +14,10 @@
update_test_subtheme 8.x-1.0
8.x-1.0
DRUPAL-7--1-0
- 1
- 0
published
http://example.com/update_test_subtheme-7-x-1-0-release
http://example.com/update_test_subtheme-8.x-1.0.tar.gz
1250524521
- b966255555d9c9b86d480ca08cfaa98e
- 1073741824
Release typeNew features
Release typeBug fixes
diff --git a/core/modules/update/tests/src/Unit/ModuleVersionTest.php b/core/modules/update/tests/src/Unit/ModuleVersionTest.php
new file mode 100644
index 0000000000..dcb3c10e60
--- /dev/null
+++ b/core/modules/update/tests/src/Unit/ModuleVersionTest.php
@@ -0,0 +1,261 @@
+assertSame($expected_version_info['major'], $version->getMajorVersion());
+ }
+
+ /**
+ * @covers ::getMinorVersion
+ *
+ * @dataProvider providerVersionInfos
+ */
+ public function testGetMinorVersion($version, $expected_version_info) {
+ $version = ModuleVersion::createFromVersionString($version);
+ $this->assertSame($expected_version_info['minor'], $version->getMinorVersion());
+ }
+
+ /**
+ * @covers ::getPatchVersion
+ *
+ * @dataProvider providerVersionInfos
+ */
+ public function testGetPatchVersion($version, $expected_version_info) {
+ $version = ModuleVersion::createFromVersionString($version);
+ $this->assertSame($expected_version_info['patch'], $version->getPatchVersion());
+ }
+
+ /**
+ * @covers ::getVersionExtra
+ *
+ * @dataProvider providerVersionInfos
+ */
+ public function testGetVersionExtra($version, $expected_version_info) {
+ $version = ModuleVersion::createFromVersionString($version);
+ $this->assertSame($expected_version_info['extra'], $version->getVersionExtra());
+ }
+
+ /**
+ * @covers ::getSupportBranch
+ *
+ * @dataProvider providerVersionInfos
+ */
+ public function testGetSupportBranch($version, $expected_version_info) {
+ $version = ModuleVersion::createFromVersionString($version);
+ $this->assertSame($expected_version_info['branch'], $version->getSupportBranch());
+ }
+
+ /**
+ * @covers ::createFromSupportBranch
+ *
+ * @dataProvider providerVersionInfos
+ */
+ public function testCreateFromSupportBranch($version, $expected_version_info) {
+ $version = ModuleVersion::createFromSupportBranch($expected_version_info['branch']);
+ $this->assertInstanceOf(ModuleVersion::class, $version);
+ $this->assertSame($expected_version_info['major'], $version->getMajorVersion());
+ $this->assertSame($expected_version_info['minor'], $version->getMinorVersion());
+ // Version extra and Patch version can't be determined from a branch.
+ $this->assertSame(NULL, $version->getVersionExtra());
+ $this->assertSame(NULL, $version->getPatchVersion());
+ }
+
+ /**
+ * Data provider for expected version information.
+ *
+ * @return array
+ * Arrays of version information.
+ */
+ public function providerVersionInfos() {
+ return [
+ '8.x-1.3' => [
+ '8.x-1.3',
+ [
+ 'major' => '1',
+ 'minor' => NULL,
+ 'patch' => '3',
+ 'extra' => NULL,
+ 'branch' => '8.x-1.',
+ ],
+ ],
+ '8.x-1.0' => [
+ '8.x-1.0',
+ [
+ 'major' => '1',
+ 'minor' => NULL,
+ 'patch' => '0',
+ 'extra' => NULL,
+ 'branch' => '8.x-1.',
+ ],
+ ],
+ '8.x-1.0-dev' => [
+ '8.x-1.0-dev',
+ [
+ 'major' => '1',
+ 'minor' => NULL,
+ 'patch' => '0',
+ 'extra' => 'dev',
+ 'branch' => '8.x-1.',
+ ],
+ ],
+ '8.x-1.3-dev' => [
+ '8.x-1.3-dev',
+ [
+ 'major' => '1',
+ 'minor' => NULL,
+ 'patch' => '3',
+ 'extra' => 'dev',
+ 'branch' => '8.x-1.',
+ ],
+ ],
+ '0.1' => [
+ '0.1',
+ [
+ 'major' => '0',
+ 'minor' => NULL,
+ 'patch' => '1',
+ 'extra' => NULL,
+ 'branch' => '0.',
+ ],
+ ],
+ '1.0' => [
+ '1.0',
+ [
+ 'major' => '1',
+ 'minor' => NULL,
+ 'patch' => '0',
+ 'extra' => NULL,
+ 'branch' => '1.',
+ ],
+ ],
+ '1.3' => [
+ '1.3',
+ [
+ 'major' => '1',
+ 'minor' => NULL,
+ 'patch' => '3',
+ 'extra' => NULL,
+ 'branch' => '1.',
+ ],
+ ],
+ '1.0-dev' => [
+ '1.0-dev',
+ [
+ 'major' => '1',
+ 'minor' => NULL,
+ 'patch' => '0',
+ 'extra' => 'dev',
+ 'branch' => '1.',
+ ],
+ ],
+ '1.3-dev' => [
+ '1.3-dev',
+ [
+ 'major' => '1',
+ 'minor' => NULL,
+ 'patch' => '3',
+ 'extra' => 'dev',
+ 'branch' => '1.',
+ ],
+ ],
+ '0.2.0' => [
+ '0.2.0',
+ [
+ 'major' => '0',
+ 'minor' => '2',
+ 'patch' => '0',
+ 'extra' => NULL,
+ 'branch' => '0.2.',
+ ],
+ ],
+ '1.2.0' => [
+ '1.2.0',
+ [
+ 'major' => '1',
+ 'minor' => '2',
+ 'patch' => '0',
+ 'extra' => NULL,
+ 'branch' => '1.2.',
+ ],
+ ],
+ '1.0.3' => [
+ '1.0.3',
+ [
+ 'major' => '1',
+ 'minor' => '0',
+ 'patch' => '3',
+ 'extra' => NULL,
+ 'branch' => '1.0.',
+ ],
+ ],
+ '1.2.3' => [
+ '1.2.3',
+ [
+ 'major' => '1',
+ 'minor' => '2',
+ 'patch' => '3',
+ 'extra' => NULL,
+ 'branch' => '1.2.',
+ ],
+ ],
+ '1.2.0-dev' => [
+ '1.2.0-dev',
+ [
+ 'major' => '1',
+ 'minor' => '2',
+ 'patch' => '0',
+ 'extra' => 'dev',
+ 'branch' => '1.2.',
+ ],
+ ],
+ '1.2.3-dev' => [
+ '1.2.3-dev',
+ [
+ 'major' => '1',
+ 'minor' => '2',
+ 'patch' => '3',
+ 'extra' => 'dev',
+ 'branch' => '1.2.',
+ ],
+ ],
+ '1.0.x' => [
+ '1.0.x',
+ [
+ 'major' => '1',
+ 'minor' => '0',
+ 'patch' => NULL,
+ 'extra' => NULL,
+ 'branch' => '1.0.',
+ ],
+ ],
+ '1.2.x' => [
+ '1.2.x',
+ [
+ 'major' => '1',
+ 'minor' => '2',
+ 'patch' => NULL,
+ 'extra' => NULL,
+ 'branch' => '1.2.',
+ ],
+ ],
+ ];
+ }
+
+}
diff --git a/core/modules/update/tests/src/Unit/UpdateFetcherTest.php b/core/modules/update/tests/src/Unit/UpdateFetcherTest.php
index 1d01d0f5fe..9ac53a3491 100644
--- a/core/modules/update/tests/src/Unit/UpdateFetcherTest.php
+++ b/core/modules/update/tests/src/Unit/UpdateFetcherTest.php
@@ -5,10 +5,6 @@
use Drupal\Tests\UnitTestCase;
use Drupal\update\UpdateFetcher;
-if (!defined('DRUPAL_CORE_COMPATIBILITY')) {
- define('DRUPAL_CORE_COMPATIBILITY', '8.x');
-}
-
/**
* Tests update functionality unrelated to the database.
*
@@ -71,20 +67,20 @@ public function providerTestUpdateBuildFetchUrl() {
$project['info']['project status url'] = 'http://www.example.com';
$project['includes'] = ['module1' => 'Module 1', 'module2' => 'Module 2'];
$site_key = '';
- $expected = 'http://www.example.com/' . $project['name'] . '/' . DRUPAL_CORE_COMPATIBILITY;
+ $expected = "http://www.example.com/{$project['name']}/current";
$data[] = [$project, $site_key, $expected];
// For disabled projects it shouldn't add the site key either.
$site_key = 'site_key';
$project['project_type'] = 'disabled';
- $expected = 'http://www.example.com/' . $project['name'] . '/' . DRUPAL_CORE_COMPATIBILITY;
+ $expected = "http://www.example.com/{$project['name']}/current";
$data[] = [$project, $site_key, $expected];
// For enabled projects, test adding the site key.
$project['project_type'] = '';
- $expected = 'http://www.example.com/' . $project['name'] . '/' . DRUPAL_CORE_COMPATIBILITY;
+ $expected = "http://www.example.com/{$project['name']}/current";
$expected .= '?site_key=site_key';
$expected .= '&list=' . rawurlencode('module1,module2');
@@ -92,7 +88,7 @@ public function providerTestUpdateBuildFetchUrl() {
// Test when the URL contains a question mark.
$project['info']['project status url'] = 'http://www.example.com/?project=';
- $expected = 'http://www.example.com/?project=/' . $project['name'] . '/' . DRUPAL_CORE_COMPATIBILITY;
+ $expected = "http://www.example.com/?project=/{$project['name']}/current";
$expected .= '&site_key=site_key';
$expected .= '&list=' . rawurlencode('module1,module2');
diff --git a/core/modules/update/update.compare.inc b/core/modules/update/update.compare.inc
index e4a2bea271..ab191fed5b 100644
--- a/core/modules/update/update.compare.inc
+++ b/core/modules/update/update.compare.inc
@@ -7,6 +7,7 @@
use Drupal\update\UpdateFetcherInterface;
use Drupal\update\UpdateManagerInterface;
+use Drupal\update\ModuleVersion;
use Drupal\update\ProjectCoreCompatibility;
/**
@@ -139,12 +140,13 @@ function update_calculate_project_data($available) {
* with an error and the next project is considered.
*
* If the project itself is valid, the function decides what major release
- * series to consider. The project defines what the currently supported major
- * versions are for each version of core, so the first step is to make sure the
- * current version is still supported. If so, that's the target version. If the
- * current version is unsupported, the project maintainer's recommended major
- * version is used. There's also a check to make sure that this function never
- * recommends an earlier release than the currently installed major version.
+ * series to consider. The project defines the currently supported development
+ * branches, so the first step is to make sure the development branch of the
+ * current version is still supported. If so, then the major version of the
+ * current version is used. If the current version is not in a supported branch,
+ * the next supported branch is used to determine the major version to use.
+ * There's also a check to make sure that this function never recommends an
+ * earlier release than the currently installed major version.
*
* Given a target major version, the available releases are scanned looking for
* the specific release to recommend (avoiding beta releases and development
@@ -252,35 +254,26 @@ function update_calculate_project_update_status(&$project_data, $available) {
}
// Figure out the target major version.
- $existing_major = $project_data['existing_major'];
- $supported_majors = [];
- if (isset($available['supported_majors'])) {
- $supported_majors = explode(',', $available['supported_majors']);
- }
- elseif (isset($available['default_major'])) {
- // Older release history XML file without supported or recommended.
- $supported_majors[] = $available['default_major'];
+ $existing_module_version = ModuleVersion::createFromVersionString($project_data['existing_version']);
+ $existing_major = $existing_module_version->getMajorVersion();
+ $supported_branches = [];
+ if (isset($available['supported_branches'])) {
+ $supported_branches = explode(',', $available['supported_branches']);
}
- if (in_array($existing_major, $supported_majors)) {
+ if (in_array($existing_module_version->getSupportBranch(), $supported_branches)) {
// Still supported, stay at the current major version.
$target_major = $existing_major;
}
- elseif (isset($available['recommended_major'])) {
- // Since 'recommended_major' is defined, we know this is the new XML
- // format. Therefore, we know the current release is unsupported since
- // its major version was not in the 'supported_majors' list. We should
- // find the best release from the recommended major version.
- $target_major = $available['recommended_major'];
+ elseif ($supported_branches) {
+ // We know the current release is unsupported since it is not in
+ // 'supported_branches' list. We should use the next supported branch for
+ // the target major version.
+ $target_major = ModuleVersion::createFromSupportBranch($supported_branches[0])->getMajorVersion();
$project_data['status'] = UpdateManagerInterface::NOT_SUPPORTED;
}
- elseif (isset($available['default_major'])) {
- // Older release history XML file without recommended, so recommend
- // the currently defined "default_major" version.
- $target_major = $available['default_major'];
- }
else {
- // Malformed XML file? Stick with the current version.
+ // Malformed XML file? Stick with the current branch.
$target_major = $existing_major;
}
@@ -314,6 +307,7 @@ function update_calculate_project_update_status(&$project_data, $available) {
return;
}
foreach ($available['releases'] as $version => $release) {
+ $release_module_version = ModuleVersion::createFromVersionString($release['version']);
// First, if this is the existing release, check a few conditions.
if ($project_data['existing_version'] === $version) {
if (isset($release['terms']['Release type']) &&
@@ -353,18 +347,20 @@ function update_calculate_project_update_status(&$project_data, $available) {
continue;
}
+ $release_major_version = $release_module_version->getMajorVersion();
+ $release_patch_version = $release_module_version->getPatchVersion();
// See if this is a higher major version than our target and yet still
// supported. If so, record it as an "Also available" release.
// Note: Some projects have a HEAD release from CVS days, which could
// be one of those being compared. They would not have version_major
// set, so we must call isset first.
- if (isset($release['version_major']) && $release['version_major'] > $target_major) {
- if (in_array($release['version_major'], $supported_majors)) {
+ if ($release_major_version !== NULL && $release_major_version > $target_major) {
+ if (in_array($release_module_version->getSupportBranch(), $supported_branches)) {
if (!isset($project_data['also'])) {
$project_data['also'] = [];
}
- if (!isset($project_data['also'][$release['version_major']])) {
- $project_data['also'][$release['version_major']] = $version;
+ if (!isset($project_data['also'][$release_major_version])) {
+ $project_data['also'][$release_major_version] = $version;
$project_data['releases'][$version] = $release;
}
}
@@ -381,16 +377,15 @@ function update_calculate_project_update_status(&$project_data, $available) {
// Look for the 'latest version' if we haven't found it yet. Latest is
// defined as the most recent version for the target major version.
if (!isset($project_data['latest_version'])
- && $release['version_major'] == $target_major) {
+ && $release_major_version == $target_major) {
$project_data['latest_version'] = $version;
$project_data['releases'][$version] = $release;
}
// Look for the development snapshot release for this branch.
if (!isset($project_data['dev_version'])
- && $release['version_major'] == $target_major
- && isset($release['version_extra'])
- && $release['version_extra'] == 'dev') {
+ && $release_major_version == $target_major
+ && $release_module_version->getVersionExtra() === 'dev') {
$project_data['dev_version'] = $version;
$project_data['releases'][$version] = $release;
}
@@ -398,13 +393,13 @@ function update_calculate_project_update_status(&$project_data, $available) {
// Look for the 'recommended' version if we haven't found it yet (see
// phpdoc at the top of this function for the definition).
if (!isset($project_data['recommended'])
- && $release['version_major'] == $target_major
- && isset($release['version_patch'])) {
- if ($patch != $release['version_patch']) {
- $patch = $release['version_patch'];
+ && $release_major_version == $target_major
+ && $release_patch_version !== NULL) {
+ if ($patch != $release_patch_version) {
+ $patch = $release_patch_version;
$release_patch_changed = $release;
}
- if (empty($release['version_extra']) && $patch == $release['version_patch']) {
+ if ($release_module_version->getVersionExtra() === NULL && $patch == $release_patch_version) {
$project_data['recommended'] = $release_patch_changed['version'];
$project_data['releases'][$release_patch_changed['version']] = $release_patch_changed;
}