-
Notifications
You must be signed in to change notification settings - Fork 295
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
add ability to use file-based configuration for additional asdf plugin repos #226
Comments
I'm considering this with the following syntax:
what you proposed is tricky since plugins can define multiple versions. I would need to know definitively if the string was a version or a repo. This could also go into a lockfile (#141) or as part of a custom rtx config (which I want to create anyways), like One issue with this is that it isn't clear what should happen if the plugin url isn't the same as the one specified in |
in the meantime, you could setup a custom shorthand repo like this: https://github.com/jdxcode/rtx-shorthands then share it with your team and have them set that up first |
Ah, I wasn't intending to express a preference on syntax, the one you've defined seems adequate. I think if the shorthand repo doesn't match the specified one a warning should be enough.
|
I've laid some groundwork for this in #241, currently it parses that config but it doesn't do anything with it just yet |
I am considering doing this differently though and having a plugins section, e.g.: [tools]
python = ['3.11', '3.10']
[plugins]
python = 'https://github.com/jdxcode/rtx-python' I'm not sure which I like better just yet. |
Thanks! |
I'd like to check in my .tool-versions file so that my CI environment and team can use tools all at the same version, but some asdf plugins are in repositories that aren't linked back to the main plugins list (e.g. https://github.com/looztra/asdf-promtool). I'd love to be able to throw the URL for the plugin into the .tool-versions file, perhaps something akin to:
Or some other file I could check in.
The text was updated successfully, but these errors were encountered: