Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-879

nuxeoctl mp-hotfix must not uninstall other packages

    XMLWordPrintable

    Details

      Description

      Reported in NXP-16323:
      On a Nuxeo 6.0:

      $ ./bin/nuxeoctl mp-set nuxeo-drive-1.4.1
      $ ./bin/nuxeoctl mp-list
      Local packages:
       addon     started	nuxeo-drive (id: nuxeo-drive-1.4.1)
      
      $ ./bin/nuxeoctl mp-hotfix
      Dependency resolution:
        Installation order (4):        nuxeo-6.0-HF01-1.0.0/nuxeo-6.0-HF02-1.0.0/nuxeo-6.0-HF03-1.0.0/nuxeo-drive-1.4.2
        Packages to upgrade (1):       nuxeo-drive:1.4.1
        Packages to download (4):      nuxeo-6.0-HF03:1.0.0, nuxeo-6.0-HF02:1.0.0, nuxeo-drive:1.4.2, nuxeo-6.0-HF01:1.0.0
      
      Downloading [nuxeo-6.0-HF03-1.0.0, nuxeo-drive-1.4.2, nuxeo-6.0-HF02-1.0.0, nuxeo-6.0-HF01-1.0.0]...
      Added nuxeo-6.0-HF03-1.0.0
      Added nuxeo-drive-1.4.2
      Added nuxeo-6.0-HF02-1.0.0
      Added nuxeo-6.0-HF01-1.0.0
      Uninstalling nuxeo-drive-1.4.1
      Installing nuxeo-6.0-HF01-1.0.0
      
      Dependency resolution:
        Installation order (2):        nuxeo-6.0-HF02-1.0.0/nuxeo-6.0-HF03-1.0.0
        Unchanged packages (1):        nuxeo-6.0-HF01:1.0.0
        Local packages to install (2): nuxeo-6.0-HF03:1.0.0, nuxeo-6.0-HF02:1.0.0
      Installing nuxeo-6.0-HF02-1.0.0
      Installing nuxeo-6.0-HF03-1.0.0
      
      $ ./bin/nuxeoctl mp-list
      Local packages:
      hotfix     started	nuxeo-6.0-HF01 (id: nuxeo-6.0-HF01-1.0.0)
      hotfix     started	nuxeo-6.0-HF02 (id: nuxeo-6.0-HF02-1.0.0)
      hotfix     started	nuxeo-6.0-HF03 (id: nuxeo-6.0-HF03-1.0.0)
       addon  downloaded	nuxeo-drive (id: nuxeo-drive-1.4.1)
       addon  downloaded	nuxeo-drive (id: nuxeo-drive-1.4.2)
      

      We can see that after install of nuxeo-6.0-HF01-1.0.0, nuxeo-drive-1.4.2 is forgotten.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jcarsique Julien Carsique
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: