<div dir="ltr"><div><div><div>> Good idea. That should be done despite on any decision we will take.<br><br></div>Currently you have to specify which releases your plugin supports [0]. So I can take my plugin developed for 8.0 and install it on Fuel-9.0 (I actually did it and it worked just fine). But I won't be able to enable this plugin for "mitaka-9.0" release because plugin was not developed and tested for it, so it does not have "miraka-9.0" in "releases" list [0]. So I don't quite understand how new <span style="line-height:1.5">"validated_against"</span><span class="im"></span> parameter will differ from existing "releases" list.<br><br></div>Regards,<br></div>Alex<br><br>[0] <a href="https://github.com/openstack/fuel-plugin-external-lb/blob/68fc91a2d3360f19605180d7c3d8683227c8d5b1/metadata.yaml#L11-L21">https://github.com/openstack/fuel-plugin-external-lb/blob/68fc91a2d3360f19605180d7c3d8683227c8d5b1/metadata.yaml#L11-L21</a><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 10, 2016 at 10:22 AM, Bogdan Dobrelya <span dir="ltr"><<a href="mailto:bdobrelia@mirantis.com" target="_blank">bdobrelia@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10.03.2016 08:30, Mike Scherbakov wrote:<br>
> Hi folks,<br>
> in order to make a decision whether we need to support example plugins,<br>
> and if actually need them [1], I'd suggest to discuss more common things<br>
> about plugins.<br>
><br>
> My thoughts:<br>
> 1) This is not good, that our plugins created for Fuel 8 won't even<br>
> install on Fuel 9. By default, we should assume that plugin will work at<br>
> newer version of Fuel. However, for proper user experience, I suggest to<br>
> create meta-field "validated_against", where plugin dev would provide<br>
> versions of Fuel this plugin has been tested with. Let's say, it was<br>
> tested against 7.0, 8.0. If user installs plugin in Fuel 9, I'd suggest<br>
> to show a warning saying about risks and the fact that the plugin has<br>
> not been tested against 9. We should not restrict intsallation against<br>
> 9, though.<br>
<br>
</span>Good idea. That should be done despite on any decision we will take.<br>
<span class="im HOEnZb"><br>
><br>
> 2) We need to keep backward compatibility of pluggable interface for a<br>
> few releases. So that plugin developer can use pluggable interface of<br>
> version x, which was supported in Fuel 6.1. If we still support it, it<br>
> would mean (see next point) compatibility of this plugin with 6.1, 7.0,<br>
> 8.0, 9.0. If we want to deprecate pluggable interface version, we should<br>
> announce it, and basically follow standard process of deprecation.<br>
><br>
> 3) Plugin's ability to work against multiple releases of Fuel<br>
> (multi-release support). If if..else clauses to support multiple<br>
> releases are fairly minimal, let's say take less that 10% of LOC, I'd<br>
> suggest to have this supported. Just because it will be easier for<br>
> plugin devs to support their plugin code (no code duplication, single<br>
> repo for multiple releases).<br>
><br>
> Thoughts?<br>
><br>
> [1] <a href="http://lists.openstack.org/pipermail/openstack-dev/2016-March/088211.html" rel="noreferrer" target="_blank">http://lists.openstack.org/pipermail/openstack-dev/2016-March/088211.html</a><br>
> --<br>
> Mike Scherbakov<br>
> #mihgen<br>
><br>
><br>
</span><span class="im HOEnZb">> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
<br>
</span><span class="HOEnZb"><font color="#888888">--<br>
Best regards,<br>
Bogdan Dobrelya,<br>
Irc #bogdando<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>