As an action plugin author, I have a couple of questions what is the recommended/smart way of publishing plugins within official PCM infrastructure. So, I’ll summon @qu1ck to offer his advice. Other opinions are also welcome.
When I update a plugin should I keep the previous versions available within PCM or not? Could there be any issues once PCM gets the proper update logic?
If I have a plugin that is compatible with 6.0.x and I would also like to publish the same plugin compatible with 6.99, but the plugin code differs for each version, what is the best strategy?
- Should I move the version handling code inside the plugin? This means a lot of additional if/else statements or method overloading/monkeypatching, which will place a significant burden on plugin maintenance? And I’d really like to avoid this.
- Can I have two versions (e.g. major versions) of the plugin where one version is available only to 6.0.x and the other only to 6.99, using the