[Qgis-developer] Recent changes in the python plugins web application

Alessandro Pasotti apasotti at gmail.com
Sat Oct 6 04:14:32 PDT 2012


Hi,

during the HF we introduced two new fields in the plugins web
application http://plugins.qgis.org :

* author
* email

this new fields are now mandatory for both the old __init__.py and the
new metadata.txt file.

Temporary documentation can be found at
https://github.com/qgis/qgis-django/blob/master/qgis-app/plugins/docs/metadata.rst

Having the webiste user (which comes from OSGEO LDAP authentication)
decoupled from the plugin author and email makes now possible to show
a different author and email for each plugin even if uploaded by the
same website user.

All existing plugins author and email, when missing, have beeen
automatically filled using LDAP informations, but all new plugins must
now contain author and email metadata in order to be accepted on the
repository.

These new field must also be changed in the plugin builder, in
particular, the old authorName is now ignored and should be changed
(or maybe better copied ) in "author"

Please note that the __init__.py parser in the web application only
recognize functions returning quoted strings or boolean values.

-- 
Alessandro Pasotti
w3:   www.itopen.it


More information about the Qgis-developer mailing list