Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-351

Generate a DEB package for Debian based systems

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 minute
                  1m