Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-23754

Metadata and other non-component files are counted in RHC percentage identified for npm repositories

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.22.1
    • Fix Version/s: None
    • Labels:
      None
    • Notability:
      3

      Description

      1. Start up Nexus Repo 3.22.1
      2. Add an npm proxy repository with remote of https://registry.npmjs.org
      3. Request a package's metadata through it: http://localhost:8081/repository/npm-proxy/lodash
      4. Request a package from that metadata: http://localhost:8081/repository/npm-proxy/lodash/-/lodash-4.17.9.tgz

      Observe that the generated health check report shows 25% of components identified (screenshot attached).

      Analysis shows that the package metadata and other non-component files are being included in the percentage identified.

      The percentage identified is therefore misleading. 100% of components in the repository are identified, but the report always shows a much lower percentage.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Rich Seddon Rich Seddon
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title