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

Improve handling of custom and scoped registries for plugin install #2342

Open
t1m0thyj opened this issue Nov 1, 2024 · 1 comment
Open
Labels
enhancement New feature or request keep Issues with this label will be ignored by the stale bot priority-low Legit issue but cosmetic or nice-to-have v4 Prospective changes for v4

Comments

@t1m0thyj
Copy link
Member

t1m0thyj commented Nov 1, 2024

There are several limitations related to how registries are handled for plugin install in V3.

  • When installing a scoped plug-in and a scoped registry is defined in npm config, then this scoped registry is not stored in plugins.json so re-installing in a different environment is not reproducible.
  • When installing a plug-in from TGZ and a registry is passed on the command line for fetching dependencies, then this registry is not stored in plugins.json because we store the TGZ location instead.
    • In V2 we stored registry instead of location, should we consider reverting to this behavior?
  • When installing a scoped plug-in and the scoped registry has credentials stored in project-level npm config, then the credentials are ignored because plugins are installed with ~/.zowe/plugins as the current working directory.
@t1m0thyj t1m0thyj added enhancement New feature or request new The issue wasn't triaged yet v4 Prospective changes for v4 labels Nov 1, 2024
Copy link

github-actions bot commented Nov 1, 2024

Thank you for raising this enhancement request.
The community has 90 days to vote on it.
If the enhancement receives at least 5 upvotes, it is added to our development backlog.
If it receives fewer votes, the issue is closed.

@JTonda JTonda added priority-low Legit issue but cosmetic or nice-to-have keep Issues with this label will be ignored by the stale bot and removed new The issue wasn't triaged yet labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request keep Issues with this label will be ignored by the stale bot priority-low Legit issue but cosmetic or nice-to-have v4 Prospective changes for v4
Projects
Status: Low Priority
Development

No branches or pull requests

2 participants