[Qgis-developer] About metadata.txt plugin (new) syntax

Alessandro Pasotti apasotti at gmail.com
Mon Jan 12 01:45:58 PST 2015


2015-01-11 17:43 GMT+01:00 Geo DrinX <geodrinx at gmail.com>:
> Hello,
>
>
> I noticed that something must be changed in metadata.txt syntax.
>
> Inserting a plugin in repository, now it returns this error:
>
> "There were errors reading plugin package (please check also your plugin's
> metadata).
> The 'experimental' flag in the form does not match the 'experimental' flag
> in the plugins package metadata."
>
> And then:
>
> "This field is required"
>
>
> Sorry to bother, but something changed, because my metadata.txt file is the
> same that before.
>
> Someone knows what is changed ?   There is a documentation ?
>
>

Hi,

AFAIK nothing has changed recently:

https://github.com/qgis/QGIS-Django/commits/master

the check is here:
https://github.com/qgis/QGIS-Django/blob/master/qgis-app/plugins/forms.py#L81

The field is *not* required but if you specify it in metadata.txt then
you cannot set a different value in the submission form (I think this
should only be a problem when you set it to false in metadata.txt and
check it in the form).

IMHO the main problem with the user interface is that we have two (or
three) different ways to upload a revision while we should only have
one, I think I will eventually remove all submission forms except to
the big blue button and let only change a plugin (version) record by
modifying its metadata.txt file and upload a new revision.

This will solve all problems related to information conflicts between
metadata.txt and what the user enters in the form.

If you think there is a bug somewhere in the process, feel free to
file a ticket.

Hope this helps.

-- 
Alessandro Pasotti
w3:   www.itopen.it


More information about the Qgis-developer mailing list