Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/updater_server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-05-03 13:10:14 +0300
committerGitHub <noreply@github.com>2022-05-03 13:10:14 +0300
commit16f5580d8756bf0548f13f244d05b3e022ddd1d5 (patch)
tree9fd0e39603c6cb4a9dfd3deb3b0b067c3752b5ab
parent0b66f8092c00ab2d2aefa2b073b0ff9966e76f17 (diff)
parentb444e97263538e3957a015ec54b858e54d5dd2c0 (diff)
Merge pull request #742 from nextcloud/releases/final/24.0.0
24.0.0
-rwxr-xr-xconfig/config.php68
-rw-r--r--tests/integration/features/beta.feature32
-rw-r--r--tests/integration/features/stable.feature29
3 files changed, 95 insertions, 34 deletions
diff --git a/config/config.php b/config/config.php
index b0671eb..50af1d0 100755
--- a/config/config.php
+++ b/config/config.php
@@ -108,6 +108,38 @@
return [
'stable' => [
+ '24' => [
+ '100' => [
+ 'latest' => '24.0.0',
+ 'internalVersion' => '24.0.0.12',
+ 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-24.0.0.zip',
+ 'web' => 'https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html',
+ 'eol' => false,
+ 'minPHPVersion' => '7.4',
+ 'signature' => 'jLR9ICy0rDPxziCNGzGBe9yZYQljJJZ6mfSdXz1yfc/iyHxsJ7CgsnzDQumAp/n7
+pUvyZJ0UHFIaNBIYPzIrJO8976Ph0uJU3jGGtO89RrXAh+NBT0jbW+vl9qPssO9/
+UUEHXT+5MXJq5kjtVf5asV4WQGxsfAQt3uun9o1nGCtnM2VO+5FIh9YU6RdnrFPT
+O20PGlgUdtnlZ8ExeekPaG2teoK3FKyMCa86K8k2omd62JnG/u7Pj28dTEoUvIbP
+dOpAtA8su4/KUmkejsrKYuMz3YlFBzca1E/tEsvHKyazcKxwyXX3JJXQ20fxk11i
+unPxen98ByKtyNFblIzs9Q==',
+ ],
+ ],
+ '23.0.4' => [
+ '30' => [
+ 'latest' => '24.0.0',
+ 'internalVersion' => '24.0.0.12',
+ 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-24.0.0.zip',
+ 'web' => 'https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html',
+ 'eol' => false,
+ 'minPHPVersion' => '7.4',
+ 'signature' => 'jLR9ICy0rDPxziCNGzGBe9yZYQljJJZ6mfSdXz1yfc/iyHxsJ7CgsnzDQumAp/n7
+pUvyZJ0UHFIaNBIYPzIrJO8976Ph0uJU3jGGtO89RrXAh+NBT0jbW+vl9qPssO9/
+UUEHXT+5MXJq5kjtVf5asV4WQGxsfAQt3uun9o1nGCtnM2VO+5FIh9YU6RdnrFPT
+O20PGlgUdtnlZ8ExeekPaG2teoK3FKyMCa86K8k2omd62JnG/u7Pj28dTEoUvIbP
+dOpAtA8su4/KUmkejsrKYuMz3YlFBzca1E/tEsvHKyazcKxwyXX3JJXQ20fxk11i
+unPxen98ByKtyNFblIzs9Q==',
+ ],
+ ],
'23' => [
'100' => [
'latest' => '23.0.4',
@@ -539,34 +571,34 @@ ZH1PxQilL7ihAvnOb2oU1Q==',
'beta' => [
'24' => [
'100' => [
- 'latest' => '24.0.0 RC3',
- 'internalVersion' => '24.0.0.11',
- 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-24.0.0rc3.zip',
+ 'latest' => '24.0.0',
+ 'internalVersion' => '24.0.0.12',
+ 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-24.0.0.zip',
'web' => 'https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html',
'eol' => false,
'minPHPVersion' => '7.4',
- 'signature' => 'TTM0+9cXgIwa3cOrWskayntxUdgkC6K8pomv9nHIOjPyGQ9P73Qyodk/TfoaWcUV
-6w77bVTkyjCTraDK8p+R6pNl9Z2CmmPBxlOiIqgmMI/8SNM4BpvYhNquU+hVUrVR
-BVC4WjRqsZ9iSMPHkihugp8d4NRfvd9BwLuPz7VZSEKe7p1fXwLQ8j5I60GrjHjE
-t/Rh9LbIujSQBJULNQ93K2sSGyTv8FXJnO3pPsq5o3iXPx6eSOTV8bEZkE/fUp05
-slTKXmnfV7mScqpksqbg2G1iaMJfBIqox0kuku+31VV0r7BCdVrCTGdaITNP9i8s
-U1Xb7RTghRBmzEafdQKOug==',
+ 'signature' => 'jLR9ICy0rDPxziCNGzGBe9yZYQljJJZ6mfSdXz1yfc/iyHxsJ7CgsnzDQumAp/n7
+pUvyZJ0UHFIaNBIYPzIrJO8976Ph0uJU3jGGtO89RrXAh+NBT0jbW+vl9qPssO9/
+UUEHXT+5MXJq5kjtVf5asV4WQGxsfAQt3uun9o1nGCtnM2VO+5FIh9YU6RdnrFPT
+O20PGlgUdtnlZ8ExeekPaG2teoK3FKyMCa86K8k2omd62JnG/u7Pj28dTEoUvIbP
+dOpAtA8su4/KUmkejsrKYuMz3YlFBzca1E/tEsvHKyazcKxwyXX3JJXQ20fxk11i
+unPxen98ByKtyNFblIzs9Q==',
],
],
'23.0.4' => [
'100' => [
- 'latest' => '24.0.0 RC3',
- 'internalVersion' => '24.0.0.11',
- 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-24.0.0rc3.zip',
+ 'latest' => '24.0.0',
+ 'internalVersion' => '24.0.0.12',
+ 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-24.0.0.zip',
'web' => 'https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html',
'eol' => false,
'minPHPVersion' => '7.4',
- 'signature' => 'TTM0+9cXgIwa3cOrWskayntxUdgkC6K8pomv9nHIOjPyGQ9P73Qyodk/TfoaWcUV
-6w77bVTkyjCTraDK8p+R6pNl9Z2CmmPBxlOiIqgmMI/8SNM4BpvYhNquU+hVUrVR
-BVC4WjRqsZ9iSMPHkihugp8d4NRfvd9BwLuPz7VZSEKe7p1fXwLQ8j5I60GrjHjE
-t/Rh9LbIujSQBJULNQ93K2sSGyTv8FXJnO3pPsq5o3iXPx6eSOTV8bEZkE/fUp05
-slTKXmnfV7mScqpksqbg2G1iaMJfBIqox0kuku+31VV0r7BCdVrCTGdaITNP9i8s
-U1Xb7RTghRBmzEafdQKOug==',
+ 'signature' => 'jLR9ICy0rDPxziCNGzGBe9yZYQljJJZ6mfSdXz1yfc/iyHxsJ7CgsnzDQumAp/n7
+pUvyZJ0UHFIaNBIYPzIrJO8976Ph0uJU3jGGtO89RrXAh+NBT0jbW+vl9qPssO9/
+UUEHXT+5MXJq5kjtVf5asV4WQGxsfAQt3uun9o1nGCtnM2VO+5FIh9YU6RdnrFPT
+O20PGlgUdtnlZ8ExeekPaG2teoK3FKyMCa86K8k2omd62JnG/u7Pj28dTEoUvIbP
+dOpAtA8su4/KUmkejsrKYuMz3YlFBzca1E/tEsvHKyazcKxwyXX3JJXQ20fxk11i
+unPxen98ByKtyNFblIzs9Q==',
]
],
'23' => [
diff --git a/tests/integration/features/beta.feature b/tests/integration/features/beta.feature
index 2a160f5..798d728 100644
--- a/tests/integration/features/beta.feature
+++ b/tests/integration/features/beta.feature
@@ -586,18 +586,18 @@ Feature: Testing the update scenario of beta releases
And the installation mtime is "11"
When The request is sent
Then The response is non-empty
- And Update to version "24.0.0.11" is available
- And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-24.0.0rc3.zip"
+ And Update to version "24.0.0.12" is available
+ And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-24.0.0.zip"
And URL to documentation is "https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html"
And EOL is set to "0"
And The signature is
"""
- TTM0+9cXgIwa3cOrWskayntxUdgkC6K8pomv9nHIOjPyGQ9P73Qyodk/TfoaWcUV
- 6w77bVTkyjCTraDK8p+R6pNl9Z2CmmPBxlOiIqgmMI/8SNM4BpvYhNquU+hVUrVR
- BVC4WjRqsZ9iSMPHkihugp8d4NRfvd9BwLuPz7VZSEKe7p1fXwLQ8j5I60GrjHjE
- t/Rh9LbIujSQBJULNQ93K2sSGyTv8FXJnO3pPsq5o3iXPx6eSOTV8bEZkE/fUp05
- slTKXmnfV7mScqpksqbg2G1iaMJfBIqox0kuku+31VV0r7BCdVrCTGdaITNP9i8s
- U1Xb7RTghRBmzEafdQKOug==
+ jLR9ICy0rDPxziCNGzGBe9yZYQljJJZ6mfSdXz1yfc/iyHxsJ7CgsnzDQumAp/n7
+ pUvyZJ0UHFIaNBIYPzIrJO8976Ph0uJU3jGGtO89RrXAh+NBT0jbW+vl9qPssO9/
+ UUEHXT+5MXJq5kjtVf5asV4WQGxsfAQt3uun9o1nGCtnM2VO+5FIh9YU6RdnrFPT
+ O20PGlgUdtnlZ8ExeekPaG2teoK3FKyMCa86K8k2omd62JnG/u7Pj28dTEoUvIbP
+ dOpAtA8su4/KUmkejsrKYuMz3YlFBzca1E/tEsvHKyazcKxwyXX3JJXQ20fxk11i
+ unPxen98ByKtyNFblIzs9Q==
"""
Scenario: Updating Nextcloud 24.0.0 on the beta channel
@@ -607,16 +607,16 @@ Feature: Testing the update scenario of beta releases
And the installation mtime is "11"
When The request is sent
Then The response is non-empty
- And Update to version "24.0.0.11" is available
- And URL to download is "https://download.nextcloud.com/server/prereleases/nextcloud-24.0.0rc3.zip"
+ And Update to version "24.0.0.12" is available
+ And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-24.0.0.zip"
And URL to documentation is "https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html"
And EOL is set to "0"
And The signature is
"""
- TTM0+9cXgIwa3cOrWskayntxUdgkC6K8pomv9nHIOjPyGQ9P73Qyodk/TfoaWcUV
- 6w77bVTkyjCTraDK8p+R6pNl9Z2CmmPBxlOiIqgmMI/8SNM4BpvYhNquU+hVUrVR
- BVC4WjRqsZ9iSMPHkihugp8d4NRfvd9BwLuPz7VZSEKe7p1fXwLQ8j5I60GrjHjE
- t/Rh9LbIujSQBJULNQ93K2sSGyTv8FXJnO3pPsq5o3iXPx6eSOTV8bEZkE/fUp05
- slTKXmnfV7mScqpksqbg2G1iaMJfBIqox0kuku+31VV0r7BCdVrCTGdaITNP9i8s
- U1Xb7RTghRBmzEafdQKOug==
+ jLR9ICy0rDPxziCNGzGBe9yZYQljJJZ6mfSdXz1yfc/iyHxsJ7CgsnzDQumAp/n7
+ pUvyZJ0UHFIaNBIYPzIrJO8976Ph0uJU3jGGtO89RrXAh+NBT0jbW+vl9qPssO9/
+ UUEHXT+5MXJq5kjtVf5asV4WQGxsfAQt3uun9o1nGCtnM2VO+5FIh9YU6RdnrFPT
+ O20PGlgUdtnlZ8ExeekPaG2teoK3FKyMCa86K8k2omd62JnG/u7Pj28dTEoUvIbP
+ dOpAtA8su4/KUmkejsrKYuMz3YlFBzca1E/tEsvHKyazcKxwyXX3JJXQ20fxk11i
+ unPxen98ByKtyNFblIzs9Q==
"""
diff --git a/tests/integration/features/stable.feature b/tests/integration/features/stable.feature
index 56f536e..bbfa942 100644
--- a/tests/integration/features/stable.feature
+++ b/tests/integration/features/stable.feature
@@ -845,3 +845,32 @@ Feature: Testing the update scenario of stable releases
/lxvrNNG1J4RwcB4BQWeSatwHyiO9oo/9a/8TBj2QvXEPi6gedWtNNdu+U+JjJ/q
ZaSnGzQ/m6qiwtT9z2jgPA==
"""
+
+ Scenario: Updating the latest Nextcloud 23 to latest 24 on the stable channel
+ Given There is a release with channel "stable"
+ And The received version is "23.0.4.1"
+ And The received PHP version is "8.0.0"
+ And the installation mtime is "11"
+ When The request is sent
+ Then The response is non-empty
+ And Update to version "24.0.0.12" is available
+ And URL to download is "https://download.nextcloud.com/server/releases/nextcloud-24.0.0.zip"
+ And URL to documentation is "https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html"
+ And EOL is set to "0"
+ And The signature is
+ """
+ jLR9ICy0rDPxziCNGzGBe9yZYQljJJZ6mfSdXz1yfc/iyHxsJ7CgsnzDQumAp/n7
+ pUvyZJ0UHFIaNBIYPzIrJO8976Ph0uJU3jGGtO89RrXAh+NBT0jbW+vl9qPssO9/
+ UUEHXT+5MXJq5kjtVf5asV4WQGxsfAQt3uun9o1nGCtnM2VO+5FIh9YU6RdnrFPT
+ O20PGlgUdtnlZ8ExeekPaG2teoK3FKyMCa86K8k2omd62JnG/u7Pj28dTEoUvIbP
+ dOpAtA8su4/KUmkejsrKYuMz3YlFBzca1E/tEsvHKyazcKxwyXX3JJXQ20fxk11i
+ unPxen98ByKtyNFblIzs9Q==
+ """
+
+ Scenario: Not updating the latest Nextcloud 23 to latest 24 on the stable channel (staged rollout)
+ Given There is a release with channel "stable"
+ And The received version is "23.0.4.1"
+ And The received PHP version is "8.0.0"
+ And the installation mtime is "41"
+ When The request is sent
+ Then The response is empty