4ms/metamodule

Allow version number in plugin filename

Closed this issue · 1 comments

Currently plugins must be named PLUGINNAME.mmplugin, which untars to a directory named PLUGINNAME/.

It would be better to have PLUGINNAME-v1.2.3.mmplugin, which untars to PLUGINNAME/. This would allow users to keep track of versions, especially when we have an API change (1.x => 2.x) this will be very handy.

We would need to handle multiple versions on a disk when a user clicks "Scan Disks" on the Plugins page. Maybe the easiest way is to ignore incompatible version plugins and only display the latest compatible version. Or, we could display all compatible versions and give an error if the user loads a plugin with the same root name as an already installed plugin.
Or we could display all versions and give an error if the user tried to load an incompatible one.

Closed by #385