-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Feature request: Custom locators #433
Comments
I don't think this will ever happen, as we would lose all type safety on the rust side. The |
Ah, that's a shame but understandable. Is there any official plans for registry support down the line? |
I've been looking into piggy-backing off of other registries, but nothing has stood out so far. I'd rather not have to build a custom registry. It's a shame wapm.io disappeared. |
It looks like wapm.io now redirects to wasmer.io: https://wasmer.io/ Would it make sense to have a wasmer plugin for pixi that would allow installation from the wasmer registry? Either way, that is probably a conversation left for another GitHub issue. |
Basically I'd like to be able to run:
Which would update the .prototools like so:
This will of course complicate the installation process a little, as it would first have to install the locators, before it can handle the usages of them. Essentially I think it should install all plugins using locators it recognises in a loop, until it has installed everything possible. If there's still unknown locators in use, then complain to the user.
There's also the issue of what if two plugins provide locators with the same name? First entry in list wins? I'm not sure.
Aside from providing locators like the git locator in #431, which should probably be bundled anyway, this would also make it possible to create a registry plugin which could resolve from something similar to https://github.com/asdf-vm/asdf-plugins.
Alternatively locators could be separate from plugins, perhaps even called providers or registries, seeing as they're quite a bit different from the regular plugins.
The text was updated successfully, but these errors were encountered: