Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26137

Handle multi-level directories in mp_to_upload

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Dev Tools

      Description

      The marketplace.ini has an mp_to_upload to specify the packages to upload.
      It supports wild cards but not if the packages are in different multi-level directories.
      So we can't support the following structure:

      ./nuxeo-ai-core-package/target/nuxeo-ai-core-2.0-SNAPSHOT.zip
      ./addons/nuxeo-ai-image-quality-package/target/nuxeo-ai-image-quality-package-2.0-SNAPSHOT.zip
      ./addons/nuxeo-ai-aws-package/target/nuxeo-ai-aws-package-2.0-SNAPSHOT.zip

      We need to change https://github.com/nuxeo/nuxeo/blob/master/scripts/release_mp.py#L288 so we can support something like

      Bash recursive globs
      **/target/nuxeo-ai*.zip

      or

      comma-separated list
      */target/nuxeo-ai*.zip,*/*/target/nuxeo-ai*.zip

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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
                  5h