πŸ”‚ The client updater server informs clients about new updates
ΠŸΠ΅Ρ€Π΅ΠΉΡ‚ΠΈ ΠΊ Ρ„Π°ΠΉΠ»Ρƒ
alex-z 8aa5dda7ae publish 3.7.3
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-02-09 21:14:36 +01:00
.github/workflows switch from travis to github actions 2021-06-17 12:21:59 +02:00
config publish 3.7.3 2023-02-09 21:14:36 +01:00
src Always provide Sparkle update data, fixing no valid update error 2022-06-13 13:11:20 +02:00
tests/unit add tests for beta 2022-06-13 16:33:43 +02:00
.gitignore Deploy updater server on webhook 2019-04-15 14:28:09 +02:00
.htaccess Initial import 2016-07-13 22:04:49 +02:00
LICENSE Initial commit 2016-07-13 16:06:28 +02:00
README.md Fix capitalisation of download url in readme 2022-04-14 16:43:50 +02:00
composer.json update phpunit 2021-06-17 13:00:59 +02:00
index.php let's ignore updateSegment and immediately provide latest release 2022-05-24 11:32:35 +02:00

README.md

Nextcloud Client Updater Server

This is the Nextcloud client update server.

Ship config of other OEMs

Just create a json file in config/ with the name of the OEM that contains the same entries as the config.php.

If the default config.php doesn't hold update information for this OEM, the config is read from the JSON file.

{
  "stable": {
    "release": "2022-01-01 13:00",
    "linux": {
      "version": "2.3.2",
      "versionstring": "Nextcloud Client 2.3.2",
      "downloadurl": "https://download.nextcloud.com/desktop/releases/Linux/Nextcloud-2.3.2.1-setup.AppImage",
      "web": "https://nextcloud.com/install/?pk_campaign=clientupdate#install-clients"
    },
    "win32": {
      "version": "2.3.2.1",
      "versionstring": "Nextcloud Client 2.3.2 (build 1)",
      "downloadurl": "https://download.nextcloud.com/desktop/releases/Windows/Nextcloud-2.3.2.1-setup.exe",
      "web": "https://nextcloud.com/install/?pk_campaign=clientupdate#install-clients"
    },
    "macos": {
      "version": "2.2.4.1",
      "versionstring": "Nextcloud Client 2.2.4 (build 1)",
      "downloadurl": "https://download.nextcloud.com/desktop/releases/Mac/Updates/Nextcloud-2.2.4.1.pkg.tbz",
      "signature": "MCwCFGC3X/fejC/y/3T2X+c8ldDk7pJGAhQoR8v6vtvvV57nIcMNePA+jNRYcw=="
    }
  },
  "beta": {
    "release": "2022-01-27 14:31",
    "linux": {
      "version": "3.5.6-rc1",
      "versionstring": "Nextcloud Client 3.5.6 RC1",
      "downloadurl": "https://download.nextcloud.com/desktop/releases/Linux/Nextcloud-3.5.6-rc1-setup.AppImage",
      "web": "https://nextcloud.com/install/?pk_campaign=clientupdate#install-clients"
    },
    "win32": {
      "version": "3.5.6-rc1",
      "versionstring": "Nextcloud Client 3.5.6 RC1",
      "downloadurl": "https://download.nextcloud.com/desktop/releases/Windows/Nextcloud-3.5.6-rc1-setup.exe",
      "web": "https://nextcloud.com/install/?pk_campaign=clientupdate#install-clients"
    },
    "macos": {
      "version": "3.5.6-rc1",
      "versionstring": "Nextcloud Client 3.5.6 RC1",
      "downloadurl": "https://download.nextcloud.com/desktop/releases/Mac/Updates/Nextcloud-3.5.6-rc1-pkg.tbz",
      "signature": "MCwCFGC3X/fejC/y/3T2X+c8ldDk7pJGAhQoR8v6vtvvV57nIcMNePA+jNRYcw=="
    }
  }
}

Developement

To test this update server locally use composer start, which then will run the server on localhost port 1234.

Deployment

The updater server is deployed via Github webhooks. The state in master is deployed to https://updates.nextcloud.com/client/.