[RTFACT-10132] Nuget install does not respect include/exclude patterns set in local NuGet repositories Created: 12/May/16  Updated: 05/Dec/17  Resolved: 13/Nov/17

Status: Resolved
Project: Artifactory Binary Repository
Component/s: NuGet
Affects Version/s: 4.7.6
Fix Version/s: 5.7.0

Type: Bug Priority: High
Reporter: Joshua Han Assignee: Tomer Mayost (Inactive)
Resolution: Fixed Votes: 2
Labels: None

Issue Links:
is duplicated by RTFACT-8218 Artifactory's include/exclude pattern... Ready for Code Review


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.

Comment by Uriah Levy [ 12/Apr/17 ]

This affects not just the virtual repo, it also affects local nuget repos (and most likely remote ones too)

Generated at Tue Sep 22 19:09:37 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.