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

Add an ability of incremental indexing for npm packages

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Backlog
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: NPM
    • Labels:

      Description

      Currently, while deploying an npm package, the package is triggering an async indexing of the entire package versions metadata. 

      To do so, it delete the package.json and reads all the versions metadata to create the package.json from scratch. While this works very well for tens of versions, a package with thousands of versions may take a few minutes to complete.

      Suggested fix (toggleable) should read the package.json and only update the changes from the last change. Reindexing should still use the old mechanism - so both mechanism should live side by side.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nadavy Nadav Yogev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: