[Qgis-developer] Plugin tweaks

vatto mauricio.dev at gmail.com
Tue Dec 9 14:25:35 EST 2008


Hum... and what about those "the name must be the same" that came with 
plugininstaller new version?
Until now I didn't understand exactly what must be with the same name.
I thought about python plugins template (or a new plugin script) to standarize 
as it happens with c++. It could help with the plugin installer standards.
Maurício de Paulo

On Tuesday 09 December 2008 14:02:50 Carson Farmer wrote:
> Nice!
>
> > I might wrote some kind of plugin quality control tester to check for
> > this. I'll also make it check that __init__.py supports the required
> > methods, but at the moment I'm not sure what the complete set of
> > required methods is...
>
> As far as I know, the required methods are :
>
> name
> description
> version
> qgisMinimumVersion
> classFactory
>
> Borys probably knows better than anyone though...
>
> >  Eventually (as I think Tim may have said before) this information
> > ought to go in a config file rather than code. My plugins in SVN are
> > currently adopting both approaches, by having a config file that is
> > read by the code:
> >
> > http://code.google.com/p/bsrplugins/source/browse/trunk/clickfu/__init__.
> >py
> > http://code.google.com/p/bsrplugins/source/browse/trunk/clickfu/config.in
> >i
>
> This is a very nice idea, as it is also infinitely safer for the user in
> the end as well. If the config file doesn't add up, no code is imported,
> and no harm done ;-)
> I assume you are thinking this might be a nice way to move towards an
> R-like way of standardizing plugis, which ties in nicely with the
> quality control testing you were suggesting above. I think this is a
> great idea, and will likely give users more confidence in adding third
> party plugins, and keep plugin developers honest ;-)
>
> Nice work Barry, perhaps py-QGIS meeting on IRC is in order sometime in
> the near future?
>
> That's my two (euro) cents,
>
> Carson
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Ten Maurício
Ch Sec Imagem
1a Divisão de Levantamento


More information about the Qgis-developer mailing list