GHC plugins marketplace plugin versioning #191657
Replies: 2 comments 3 replies
-
|
In this kind of scenario, the usual approach is to rely on proper versioning and let the marketplace handle multiple published versions instead of overwriting them. Ideally, you’d keep both nice_tool-plugin v1.x and v2.x available, and allow users to install a specific version (e.g. --version 1.0) so it matches their CLI version. If the marketplace supports version pinning or compatibility metadata, that’s the cleanest solution. Otherwise, you may need to implement version resolution yourself or clearly document which plugin version works with each CLI version. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, that structure looks right. Both versions live in the registry at the same time, each pointing to its own source directory, and the marketplace resolves which one to pull based on the version field when a user specifies One thing to keep in mind: the For users who don't specify a version, the marketplace will typically resolve to the latest (highest version number), so v2.0 in this case. Depending on how your marketplace implementation handles version sorting, you may want to document this behavior explicitly for your users. If you're seeing issues with the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
VS Code
Body
Hello,
My SW group created copilot plugins marketplace, which is superb solution to share the extensions as plugins.
The issue we are facing:
let's say we have a tool named
nice_toolversion 1.0.we created a plugin
nice_tool-pluginversion 1.0 on top of it's CLI (contain agents, skills, hooks and whatever).now, the tool progressed due to clients needs and provides new major changes which require rewriting massive amount of it's CLI interface (version 2.0) - so we had to also update the plugin with the new CLI capabilities to version 2.0.
we still want to enable users of version 1.0 of the tool to install using the marketplace.
something like
/plugin install nice_tool-plugin@my-marketplace --version 1.0instead of the latest version.
is it something that a marketplace addresses?
any best practice on how to handle those kind of use-cases?
Beta Was this translation helpful? Give feedback.
All reactions