Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-21456

Change the default layout for NPM repositories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 6.18.0
    • Fix Version/s: 7.5.0
    • Component/s: REST API
    • Labels:
    • Severity:
      Medium

      Description

       

      Artifactory have a default layout which is being assigned to every new NPM repository: 

       [orgPath]/[module]/[module]-[baseRev](-[fileItegRev]).tgz

      This is not working for NPM.

      Artifactory should have the following layout: 

      [orgPath]/-/[module]-[baseRev](-[fileItegRev]).tgz

       

      Workaround:

      Create a new repository layout with the following parameters: 

      Artifact Path Pattern 

      [orgPath]/-/[module]-[baseRev](-[fileItegRev]).tgz

      Folder Integration Revision RegExp 

      .*

      File Integration Revision RegExp 

      .*

       

      Then go to each of your NPM repositories (Local, Remote, and Virtual) and replace the layout from the edit repository configuration screen. 

        Attachments

          Activity

            People

            Assignee:
            igoru Igor Usenko [EXT]
            Reporter:
            pavang Pavan Gonugunta
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-21456 -
                SYNCHRONIZED
                • Last Sync Date: