[Qgis-developer] Version number in plugin path?
borys at wolf.most.org.pl
Tue Nov 11 08:04:01 EST 2008
> > This sounds like there's need to add minimal version tag also to
> > repository's XML.
> Yup, something like:
> >= 1.0.0
> or we could just assume this is the minimum and omit the >=
I would like to see rather simple 'int.int.int' string (for easier parsing)
and the tag to be named rather exactly as the module (qgisMinimumVersion)
> > I prefer to be strict and require qgisMinVersion in every plugin.
Ok. Installer won't be so categorical anyway, because has to be compatible
with older plugins too.
> This is how it has been in the past, if __init__ .py doesn't have
> name(), description(), and version(), it won't be loaded... Also, since
> current plugins won't be able to work with the new API without
> significant changes anyway, asking plugin developers to add a new method
> to their __init__.py files won't really be asking that much more ;-)
Definitely won't. I think we should feel free to set up clear metadata and
> I agree, max version will likely be unused/unnecessary...
It's of course not obligatory. However if you put it to the 0.x plugins, it
would be an additional protection for users who will switch from qgis 0.11 to
1.0 in the future.
More information about the Qgis-developer