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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 4.7.6
    • Fix Version/s: 5.7.0
    • Component/s: NuGet
    • Labels:
      None

      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
                Assigned QA:
                Gilad Kalchheim (Inactive)
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: