[QGIS-Developer] QgsSettings + ows key cleanup?

Alessandro Pasotti apasotti at gmail.com
Thu May 18 03:11:48 PDT 2017


Hi Richard,

Cleaning is always very welcome!

I think that to bring some more order to the root level settings, we should
eventually make more use of the optional section argument:

https://qgis.org/api/classQgsSettings.html#aba2f174ee000905cac8aff26665ed7c7

This is not implemented for groups though, but if you feel it could be
helpful I can add it.

Cheers.




On Thu, May 18, 2017 at 12:01 PM, Richard Duivenvoorde <rdmailings at duif.net>
wrote:

> Hi,
>
> hitting https://issues.qgis.org/issues/16528
> and fixing: https://github.com/qgis/QGIS/pull/4586
>
> with a very clean config, I see that the settings are rather messy:
>
> [Qgis] and [qgis] are/were used (in the PR I propose a further cleanup)
>
>
> But in the settings I see now different parents for the same connection:
>
> [qgis]
> WCS\aa\authcfg=
> WCS\aa\password=
> WCS\aa\username=
> connections-wcs\aa\referer=
> connections-wcs\aa\url=http://foo.com/geoserver/wcs
> connections-wcs\selected=aa
>
> And I'm wondering if we not should try to cleanup that too:
>
> All connections related to a connection in one group, and not scattered
> over those two groups. I would be ok with the use of WCS/WMS/WFS/ESRI
> Anybody else interested in this? :-)
>
> Grepping for [Qgis] I also found old plugin repo's in the
> installer_data.py:
>
> https://github.com/qgis/QGIS/blob/master/python/pyplugin_
> installer/installer_data.py#L112
>
> most of them are not even working anymore....
>
> Clean?
>
> Regards,
>
> Richard
> _______________________________________________
> 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




-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170518/4cda0afa/attachment.html>


More information about the QGIS-Developer mailing list