[QGIS-Developer] Experimental plugin flag, yes/no or True/False?
Lova Andriarimalala
lova at kartoza.com
Thu Feb 13 03:55:20 PST 2025
Hi Raymond,
Now I remember that we used to have experimental=yes in the metadata, so
> the documentation might be wrong? Can anyone explain or check?
>
> Same counts for other boolean fields: deprecated, server and
> hasProcessingProvider.
>
Currently, the correct values for these fields are True or False as
mentioned in the documentation.
However, it seems that the value from the checkbox is (was) prioritised
instead of the value from the metadata, which is not expected. The reason
seems unclear to me (probably the form component in the new UI) as I
remember it worked as expected before.
I have just applied and deployed a fix (
https://github.com/qgis/QGIS-Plugins-Website/pull/72) to handle these
values correctly when uploading a plugin. This will get the value from the
checkbox if only the experimental attribute is not set in the metadata.txt.
Best regards,
Lova Andriarimalala
*QGIS Full Stack Developer *
*T *: +27(0) 87 809 2702 *E *: lova at kartoza.com *W* :
kartoza.com
*This email and any attachments are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you *
*have received this email in error, please notify the sender immediately
and delete it from your system. Unauthorised use, disclosure, or copying*
*of the contents is prohibited.*
On Thu, 13 Feb 2025 at 12:05, Lova Andriarimalala <lova at kartoza.com> wrote:
> Hi Raymond,
>
> After uploading I did not check the experimental checkbox, as my
>> metadata should override this anyway. (Why do both exist anyway??)
>>
>
> In my understanding, this has been implemented for the possibility of
> checking the experimental when uploading, as this is not required in the
> metadata.
>
> However, my plugin was not published as experimental, but as a normal
>> plugin discoverable for everyone.
>>
>> Now I remember that we used to have experimental=yes in the metadata, so
>> the documentation might be wrong? Can anyone explain or check?
>>
>> Same counts for other boolean fields: deprecated, server and
>> hasProcessingProvider.
>>
>> By the way, the new plugin website looks wonderful!! 🤩
>>
>
> Let me check this and get back to you. Thanks for reporting this, and
> thank you also for the feedback.
>
> Best regards.
>
> Lova Andriarimalala
>
>
> *QGIS Full Stack Developer *
> *T *: +27(0) 87 809 2702 *E *: lova at kartoza.com *W* :
> kartoza.com
>
>
>
> *This email and any attachments are confidential and intended solely for
> the use of the individual or entity to whom they are addressed. If you *
> *have received this email in error, please notify the sender immediately
> and delete it from your system. Unauthorised use, disclosure, or copying*
> *of the contents is prohibited.*
>
>
> On Thu, 13 Feb 2025 at 10:41, Raymond Nijssen via QGIS-Developer <
> qgis-developer at lists.osgeo.org> wrote:
>
>> Yesterday I uploaded a new plugin and I set the experimental flag in the
>> metadata.txt to True, as it should be according to the documentation here:
>>
>>
>> https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/plugins/plugins.html#id4
>>
>> (I mean the paragraph "16.1.2.1. metadata.txt" but the link doesn't
>> exactly bring me there in my Browser.)
>>
>> After uploading I did not check the experimental checkbox, as my
>> metadata should override this anyway. (Why do both exist anyway??)
>>
>> However, my plugin was not published as experimental, but as a normal
>> plugin discoverable for everyone.
>>
>> Now I remember that we used to have experimental=yes in the metadata, so
>> the documentation might be wrong? Can anyone explain or check?
>>
>> Same counts for other boolean fields: deprecated, server and
>> hasProcessingProvider.
>>
>> By the way, the new plugin website looks wonderful!! 🤩
>>
>> Raymond
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20250213/969662ae/attachment-0001.htm>
More information about the QGIS-Developer
mailing list