Re: [Qgis-developer] About metadata.txt plugin (new) syntax
2015-01-11 17:43 GMT+01:00 Geo DrinX geodr...@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 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] About metadata.txt plugin (new) syntax
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 ? Thank you Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] About metadata.txt plugin (new) syntax
Roberto, what I read here: - in your metadata.txt you had 'true' - but in the form with which you uploaded it, you checked false (or the other way around) so: there was a mismatch between what was said in metadata.txt and the upload form and we do not know which one is correct? - the experimental flag is required??? From this docs: http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/plugins.html#plugin-metadata it should NOT be... maybe Alessandro knows better? Regards, Richard Duivenvoorde On 11-01-15 17:43, Geo DrinX wrote: 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 ? Thank you Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer