-
Notifications
You must be signed in to change notification settings - Fork 86
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
Create plugin add to place plugin in proper directory #193
Comments
This might be more challenging for a multi-file plug-in that might be written in Java or .net if the expectation is to copy the plug-in over. |
Expectation would be to copy the file over. It was my understanding that a plugin must be a single executable file - at least that's what I was reading in the code. |
@gokarnm any inputs on this? |
I agree that expecting users to copy over files to appropriate plugin location is error prone and bad CX. This is not prioritized for RC1 by should be by GA release. Something like
We also have a notion of system and user level paths for plugin base dir, so probably will need a switch for it and a default value. |
The multi-file thing is a good issue. Perhaps we can pass in a file, or a directory. This behavior did previously exist, but it was single-file based. |
We should also consider an approach similar to Docker plugin. |
Can I work on this? |
Agree 549 is duplicate, solves the problem, and has more detail on a design for implementation than this issue |
Currently
notation plugin
only officially supports thelist
command. It is confusing, error prone, and time consuming for users to have to go lookup what the proper directory is for plugins. Suggestion is to add support fornotation plugin add <name> <path-to-local-plugin-file>
which automatically creates the proper directory and adds the plugin file there.The text was updated successfully, but these errors were encountered: