-
Type: Task
-
Status: Resolved
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: NoFixVersionApplicable
-
Component/s: Packaging / Build
-
Epic Link:
-
Story Points:5
The current package is not up-to-date and doesn't install things in the right place, let's review it.
What we want is a simple installler for each LTS + one for the Fast Track that will fetch the best version of Drive available on the update site for the given platform version and install it.
So we need to:
- Update the Drive release job to set a nuxeoDriveMaxVersion in each <platform_version>.json file on http://community.nuxeo.com/static/drive/, for example in 6.0.json:
{"nuxeoDriveMinVersion": "1.3.1107", "nuxeoDriveMaxVersion": "2.0.0522"}
This will allow the installer to know which ZIP to download, in this case: nuxeo-drive-2.0.0522.linux-x86_64.zip.
- Create a nuxeo-drive-zip job on QA to build the ZIP artifact for Linux and make the Drive release job deploy it to http://community.nuxeo.com/static/drive/ when performing a release.
- Create the .deb packages for each LTS and the Fast Track: nuxeo-drive-installer-FT, nuxeo-drive-installer-6.0, nuxeo-drive-installer-5.8, nuxeo-drive-installer-5.6.0
The packaged installer will embed the hardcoded update site URL: http://community.nuxeo.com/static/drive/, download the ZIP and install it to /var/lib/nuxeo-drive with a sym link in /usr/bin.
Drive should be put in the user auto-start configuration.
We should check that the installed Drive is escalating to root privileges when performing an auto-update.
- is related to
-
NXDRIVE-1280 (timebox) Investigate the AppImage format for GNU/Linux distribution
- Resolved
-
NXDRIVE-1474 Generate an AppImage for GNU/Linux distribution
- Resolved
- is required by
-
NXDRIVE-445 [GNU/Linux] Add support for the custom URL protocol
- Resolved