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

Nuget install does not respect include/exclude patterns set in local NuGet repositories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 3 - High
    • Resolution: Done
    • Affects Version/s: 4.7.6
    • Fix Version/s: 5.7.0
    • Component/s: NuGet
    • Labels:
      None
    • Severity:
      High
    • Regression:
      Yes

      Description

      Nuget install does not make a use of include/exclude patterns in a virtual nuget repo; although it works if the patterns are set at a repository within the virtual nuget repo.

      <Steps to reproduce the issue (tested with NuGet Version: 2.8.60318.667)>
      1. In virtual repo, set a proper pattern to exclude a nuget package
      2. Try to install it via the virtual repo (e.g. nuget install -Source nuget-virtual DevUI.Policy -verbosity detailed)
      3. See that it installs properly, even though it is blocked from being downloaded if you use a curl command (e.g. curl -uadmin:password -Lk https://art.art.local/artifactory/nuget-virtual/a/b/DevUI.Policy.0.92.nupkg?trace)

      Note: This was tested on both local and virtual repositories and does not work on both.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tomerma Tomer Mayost (Inactive)
              Reporter:
              joshuah Joshua Han
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

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