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

Fix version resolution in nuxeoctl for packages with dependencies

    XMLWordPrintable

    Details

      Description

      If a package has several versions and the last one has a dependency, the first one will be chosen !
      Example :

      • package A is not installed and has 3 available versions :
        • version 1.0 has no dependency
        • version 1.1 has no dependency
        • version 1.2 has a dependency on package B
      • package B is not already installed

      => If I try to install package A without specifying a version, it will install A-1.0 instead of A-1.2 + B !!

      The problem comes from the P2CUDFDependencyResolver class which is specifying the wrong criteria for dependency resolution :

      • actual -removed,-changed,-notuptodate,-new,-versionchanged
      • should be -removed,-versionchanged,-notuptodate,-new

        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 - 2 hours
                  2h