Skip to content
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

Pass targetPlatform in /{targetPlatform}/ instead ?targetPlatform=XXX to support proxied repositories with no query params available. #1170

Open
rawlukMike opened this issue Feb 26, 2025 · 0 comments
Labels

Comments

@rawlukMike
Copy link

rawlukMike commented Feb 26, 2025

I spend great deal of time trying to install latest version of python extension.
My (and many others according to similar #1135) organisation do not allow direct connection to marketplace.
Previously I could grab extension through Sonartype Nexus repository which was basically a proxy to marketplace.
The problem started when python extension ms-python team decided to include binary inside extension, which created multiple target platform packages.

I can download default one (alpinelinux) by creating link like:
https://nexus-name.organisation.com/repository/marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2025.0.0/vspackage
But this will only download alpine linux version. For windows I would need to add: ?targetPlatform=win32-x64 query, but nexus not support any params just link.

Moving targetPlatform into actual path instead query parameter would make marketplace more compliant with online proxied repositories.

@rawlukMike rawlukMike changed the title Pass targetPlatform in /{targetPlatform}/ instead ?targetPlatform=XXX to support proxied repositories with no query params. Pass targetPlatform in /{targetPlatform}/ instead ?targetPlatform=XXX to support proxied repositories with no query params available. Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant