-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify filter query parameter #1761
Conversation
…o include eq true to resolve Artifactory issue
I can confirm that this does mitigate the issue with Artifactory as described in #1656. My one point of feedback here is that restricting this change to Artifactory might not fully capture the problem/solution at hand. The "real" bug here is Gallery's poor handling of Some suggestions:
|
@sean-r-williams happy new year and my apologies for the late reply. Thank you for the detailed feedback, while I agree that this behavior could happen with other PMPs, our concern is that we don't have enough data on those other ones like Sonatype Nexus to enable this behavior for any PMP that is not ADO, nor test feeds to check if it would break scenarios on those feeds. I'll add a comment saying what Artifactory (and other PMPs) may do and we can come back to it as we get feedback from users using other PMPs. |
… to JFrog but may also apply to other PMPs
Modify $filter query parameters IsLatestVersion and IsAbsoluteVersion to be
IsLatestVersion eq true
orIsAbsoluteVersion eq true
for Artifactory to resolve Artifactory issue. For ADO Search() based queries includingeq true
returns a BadRequest error so it's not included.Based on the API call Artifactory is performing as supplied here: PowerShell/PowerShellGallery#273 (comment)
the count returns 1 but the response doesn't include a package, however including the
eq true
actually honors the filter and the response is successful in getting a package from PSGallery (from our testing).PR Summary
PR Context
Resolves #1656
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.