Skip to content

Commit 936d8f5

Browse files
authored
Merge pull request #189 from nextcloud/Rello-patch-5
clean config.php for simpler maintenance
2 parents 177cfc9 + 8612f20 commit 936d8f5

File tree

1 file changed

+43
-21
lines changed

1 file changed

+43
-21
lines changed

config/config.php

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,39 @@
1212
$dailyReleaseDateLinux = '20250415';
1313
$dailyReleaseDateWindows = '20250415';
1414
$dailyReleaseDateMacos = '20250414';
15-
$dailyUrl = "https://download.nextcloud.com/desktop/daily/";
1615

1716
//
1817
// beta
18+
// should point to stable, once stable is released
1919
//
2020
$betaReleaseDate = '2025-03-19 19:00';
2121
$betaVersionInternal = '3.16.2'; // short string
22-
$betaVersion = '3.16.2'; // long string like '3.16.0-rc3';
23-
$betaVersionString = 'Nextcloud Client ' . $betaVersion;
24-
$betaUrl = 'https://github.com/nextcloud-releases/desktop/releases/download/v' . $betaVersion . '/';
22+
$betaVersion = '3.16.2'; // long string like '3.16.0-rc3' used to hide the cryptical subversion like .58 from the user;
23+
$betaVersionSignature = 'M/cd4ZqZsI5fxa42UjVd1YcWZciQ+SshLxr+uqYhRjnNGzGyPziGLTdEJIorCsthAQq5hK741Zs9Gi2XkItnAA==';
24+
$betaVersionLength = 332225941;
25+
$betaVersionFileProviderSignature = 'YLN1NI1CjYJfuXeWYU5YGCaNEDbMVTBUON0bJl/NPjdK+fjZif/XXRa9RrjNEY/FAZMrUx1+ocFoOsGR1lSFCg==';
26+
$betaVersionFileProviderLength = 374017592;
2527

2628
//
2729
// stable
2830
//
2931
$stableReleaseDate = '2025-03-19 19:00';
3032
$stableVersion = '3.16.2';
31-
$stableVersionString = 'Nextcloud Client ' . $stableVersion;
32-
$stableUrl = 'https://github.com/nextcloud-releases/desktop/releases/download/v' . $stableVersion . '/';
33+
$stableVersionSignature = 'M/cd4ZqZsI5fxa42UjVd1YcWZciQ+SshLxr+uqYhRjnNGzGyPziGLTdEJIorCsthAQq5hK741Zs9Gi2XkItnAA==';
34+
$stableVersionLength = 332225941;
35+
$stableVersionFileProviderSignature = 'YLN1NI1CjYJfuXeWYU5YGCaNEDbMVTBUON0bJl/NPjdK+fjZif/XXRa9RrjNEY/FAZMrUx1+ocFoOsGR1lSFCg==';
36+
$stableVersionFileProviderLength = 374017592;
3337

3438
//
35-
// enterprise
39+
// enterprise
40+
// should point to that stable version, that was branded to the customers
3641
//
3742
$enterpriseReleaseDate = '2025-01-07 15:00';
3843
$enterpriseVersion = '3.15.2';
39-
$enterpriseVersionString = 'Nextcloud Client ' . $enterpriseVersion;
40-
$enterpriseUrl = 'https://github.com/nextcloud-releases/desktop/releases/download/v' . $enterpriseVersion . '/';
44+
$enterpriseVersionSignature = 'wKIuw5109sTIvGvSuBTXlGp93TizSjFka45OslbgTIFrK+XzLJc2Zs+xCcpPcHLXBeFeKByq+ST1XpinWKSdBA==';
45+
$enterpriseVersionLength = 321172605;
46+
$enterpriseVersionFileProviderSignature = 'fQUSg4tLPip6etSv2ESVj9ALrcfVTMQNbuPPZD8alKLasAsEkGRAVZinNaRITDfNJo0cmkyEdePniZ4EAvDPAg==';
47+
$enterpriseVersionFileProviderLength = 369917941;
4148

4249
//
4350
// stable Qt5 (legacy)
@@ -65,6 +72,21 @@
6572
}
6673
}
6774

75+
/**
76+
* do not change anything below here
77+
*/
78+
$dailyUrl = "https://download.nextcloud.com/desktop/daily/";
79+
80+
$betaVersionString = 'Nextcloud Client ' . $betaVersion;
81+
$betaUrl = 'https://github.com/nextcloud-releases/desktop/releases/download/v' . $betaVersion . '/';
82+
83+
$stableVersionString = 'Nextcloud Client ' . $stableVersion;
84+
$stableUrl = 'https://github.com/nextcloud-releases/desktop/releases/download/v' . $stableVersion . '/';
85+
86+
$enterpriseVersionString = 'Nextcloud Client ' . $enterpriseVersion;
87+
$enterpriseUrl = 'https://github.com/nextcloud-releases/desktop/releases/download/v' . $enterpriseVersion . '/';
88+
89+
6890
/**
6991
* Associative array of OEM => OS => version
7092
*/
@@ -122,10 +144,10 @@
122144
'web' => 'https://nextcloud.com/install',
123145
"sparkleDownloadUrl" => $stableUrl . 'Nextcloud-' . $stableVersion . '.pkg.tbz',
124146
"fileProviderSparkleDownloadUrl" => $stableUrl . 'Nextcloud-' . $stableVersion . '-macOS-vfs.pkg.tbz',
125-
"signature" => "M/cd4ZqZsI5fxa42UjVd1YcWZciQ+SshLxr+uqYhRjnNGzGyPziGLTdEJIorCsthAQq5hK741Zs9Gi2XkItnAA==",
126-
"length" => 332225941,
127-
"fileProviderSignature" => "YLN1NI1CjYJfuXeWYU5YGCaNEDbMVTBUON0bJl/NPjdK+fjZif/XXRa9RrjNEY/FAZMrUx1+ocFoOsGR1lSFCg==",
128-
"fileProviderLength" => 374017592,
147+
"signature" => $stableVersionSignature,
148+
"length" => $stableVersionLength,
149+
"fileProviderSignature" => $stableVersionFileProviderSignature,
150+
"fileProviderLength" => $stableVersionFileProviderLength,
129151
],
130152
],
131153
'enterprise' => [
@@ -151,10 +173,10 @@
151173
'web' => 'https://nextcloud.com/install',
152174
"sparkleDownloadUrl" => $enterpriseUrl . 'Nextcloud-' . $enterpriseVersion . '.pkg.tbz',
153175
"fileProviderSparkleDownloadUrl" => $enterpriseUrl . 'Nextcloud-' . $enterpriseVersion . '-macOS-vfs.pkg.tbz',
154-
"signature" => "wKIuw5109sTIvGvSuBTXlGp93TizSjFka45OslbgTIFrK+XzLJc2Zs+xCcpPcHLXBeFeKByq+ST1XpinWKSdBA==",
155-
"length" => 321172605,
156-
"fileProviderSignature" => "fQUSg4tLPip6etSv2ESVj9ALrcfVTMQNbuPPZD8alKLasAsEkGRAVZinNaRITDfNJo0cmkyEdePniZ4EAvDPAg==",
157-
"fileProviderLength" => 369917941,
176+
"signature" => $enterpriseVersionSignature,
177+
"length" => $enterpriseVersionLength,
178+
"fileProviderSignature" => $enterpriseVersionFileProviderSignature,
179+
"fileProviderLength" => $enterpriseVersionFileProviderLength,
158180
],
159181
],
160182
'beta' => [
@@ -179,10 +201,10 @@
179201
'web' => 'https://nextcloud.com/install',
180202
"sparkleDownloadUrl" => $betaUrl . 'Nextcloud-' . $betaVersion . '.pkg.tbz',
181203
"fileProviderSparkleDownloadUrl" => $betaUrl . 'Nextcloud-' . $betaVersion . '-macOS-vfs.pkg.tbz',
182-
"signature" => "M/cd4ZqZsI5fxa42UjVd1YcWZciQ+SshLxr+uqYhRjnNGzGyPziGLTdEJIorCsthAQq5hK741Zs9Gi2XkItnAA==",
183-
"length" => 332225941,
184-
"fileProviderSignature" => "YLN1NI1CjYJfuXeWYU5YGCaNEDbMVTBUON0bJl/NPjdK+fjZif/XXRa9RrjNEY/FAZMrUx1+ocFoOsGR1lSFCg==",
185-
"fileProviderLength" => 374017592,
204+
"signature" => $betaVersionSignature,
205+
"length" => $betaVersionLength,
206+
"fileProviderSignature" => $betaVersionFileProviderSignature,
207+
"fileProviderLength" => $betaVersionFileProviderLength,
186208
],
187209
],
188210
'daily' => [

0 commit comments

Comments
 (0)