<div dir="ltr"><div><div><div>Hi Richard,<br><br></div><div>Cleaning is always very welcome!<br></div><br>I think that to bring some more order to the root level settings, we should eventually make more use of the optional section argument:<br><br><a href="https://qgis.org/api/classQgsSettings.html#aba2f174ee000905cac8aff26665ed7c7">https://qgis.org/api/classQgsSettings.html#aba2f174ee000905cac8aff26665ed7c7</a><br><br></div>This is not implemented for groups though, but if you feel it could be helpful I can add it.<br><br></div>Cheers.<br><br><div><br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 18, 2017 at 12:01 PM, Richard Duivenvoorde <span dir="ltr"><<a href="mailto:rdmailings@duif.net" target="_blank">rdmailings@duif.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
hitting <a href="https://issues.qgis.org/issues/16528" rel="noreferrer" target="_blank">https://issues.qgis.org/<wbr>issues/16528</a><br>
and fixing: <a href="https://github.com/qgis/QGIS/pull/4586" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/<wbr>pull/4586</a><br>
<br>
with a very clean config, I see that the settings are rather messy:<br>
<br>
[Qgis] and [qgis] are/were used (in the PR I propose a further cleanup)<br>
<br>
<br>
But in the settings I see now different parents for the same connection:<br>
<br>
[qgis]<br>
WCS\aa\authcfg=<br>
WCS\aa\password=<br>
WCS\aa\username=<br>
connections-wcs\aa\referer=<br>
connections-wcs\aa\url=<a href="http://foo.com/geoserver/wcs" rel="noreferrer" target="_blank">http://<wbr>foo.com/geoserver/wcs</a><br>
connections-wcs\selected=aa<br>
<br>
And I'm wondering if we not should try to cleanup that too:<br>
<br>
All connections related to a connection in one group, and not scattered<br>
over those two groups. I would be ok with the use of WCS/WMS/WFS/ESRI<br>
Anybody else interested in this? :-)<br>
<br>
Grepping for [Qgis] I also found old plugin repo's in the installer_data.py:<br>
<br>
<a href="https://github.com/qgis/QGIS/blob/master/python/pyplugin_installer/installer_data.py#L112" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/<wbr>blob/master/python/pyplugin_<wbr>installer/installer_data.py#<wbr>L112</a><br>
<br>
most of them are not even working anymore....<br>
<br>
Clean?<br>
<br>
Regards,<br>
<br>
Richard<br>
______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div>