PowerShell / PSResourceGet

PSResourceGet is the package manager for PowerShell
https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
MIT License
483 stars 92 forks source link

Add tests for ADO v2 server #1539

Closed alerickson closed 7 months ago

alerickson commented 7 months ago

PR Summary

Add v2 endpoint tests specifically for ADO Azure Artifacts.

Add error handling for scenario where name globbing and tags are used simultaneously, since there is no server call that can accommodate for both requests. Filtering can happen client side, but should be a TODO if there's desire for this kind of support.

Non-PSGallery repositories using v2 endpoints cannot process "OrderBy" in the request calls, so that is now conditionally removed.

PR Context

Resolves #1536

PR Checklist

alerickson commented 7 months ago

@anamnavi it definitely might be. I think it's something to keep in the backlog, especially if more conditions start popping up