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

mapHFJarfiles misses JARs because of package conflicts

    XMLWordPrintable

    Details

      Description

      This issue prevents from mapping some JARs and further automate the hotfix releases.

      Packages like nxpkg:conflicts are not installed when the conflicting package is thus the JARs are not mapped.

      One way to workaround this would be to:

      1. prepare an instance
      2. make a backup archive instance.tar
      3. retrieve all conflicting packages names from connect using the following query:
        SELECT * FROM Document WHERE ecm:primaryType='NuxeoPackage' AND nxpkg:conflicts LIKE '%' AND nxpkg:targetPlatform LIKE '%8.10' ORDER BY nxpkg:packageVersion DESC
        
      4. remove all those packages from the mp-listall result
      5. install all non-conflicting packages
      6. map the JARs in fileA.out
      7. delete the instance
      8. loop on the following for each conflicting package:
        • prepare an instance (untar the instance.tar archive)
        • install the package
        • map the JARs
        • merge the result with fileA.out
        • delete the instance
      9. then remove doubloons and sort fileA.out

      There are so far only 7 packages for the 8.10 branch so the impact on the processing time should be minimal.

      The issue happens for example with nuxeo-quota and platform explorer, leading to nuxeo-quota JARs not being mapped.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 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 - 5 hours, 15 minutes
                  5h 15m