<div dir="ltr"><div><div><div><div>Hi !<br><br></div>I think the migration should be optional (eg. by displaying a message on first start if there's a QGIS2 conf). I'd say this is what most programs do for major updates. This would allow users who are a bit messy (like me) to take advantage of QGIS3 to make a clean start.<br><br></div>Also, you'd be able to easily reset to factory settings by wiping the whole QGIS3 directory (actually it's by trying to do that and not understanding why the browser kept my providers that I learned that config was migrated).<br></div><div><br></div><div>What do you think ? Should I open a feature request ?<br></div><div><br></div>Still the feature will definitely be very useful for most users ! Thank you very much for developing it :)<br><br></div>Olivier<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 1, 2017 at 9:50 PM, Stefan Blumentrath <span dir="ltr"><<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="NO-BOK">
<div class="m_-2532812625891299754WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks so much Alessandro!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Having read some documentation:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"><a href="https://connect.boundlessgeo.com/docs/desktop/1.1.0/system_admins/globalsettings.html" target="_blank">https://connect.boundlessgeo.<wbr>com/docs/desktop/1.1.0/system_<wbr>admins/globalsettings.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">I am sure that this will be a cool new feature in QGIS 3 that will be very much appreciated by organisations!!!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Thanks again for the hint!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Cheers<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Stefan<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> Alessandro Pasotti [mailto:<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a>]
<br>
<b>Sent:</b> onsdag 1. november 2017 09.30<br>
<b>To:</b> Stefan Blumentrath <<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>><br>
<b>Cc:</b> Nathan Woodrow <<a href="mailto:madmanwoo@gmail.com" target="_blank">madmanwoo@gmail.com</a>>; Borys Jurgiel <<a href="mailto:lists@borysjurgiel.pl" target="_blank">lists@borysjurgiel.pl</a>>; Richard Duivenvoorde <<a href="mailto:richard@duif.net" target="_blank">richard@duif.net</a>>; <a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a></span></p><div><div class="h5"><br>
<b>Subject:</b> Re: [QGIS-Developer] Settings migration from QGIS 2 to 3<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Stefan, you may try to use global settings for shared user settings, you can specify the global settings file path in several ways (and it could even be a shared network folder).<u></u><u></u></p>
</div>
<p class="MsoNormal">See: <br>
<a href="https://github.com/qgis/QGIS/blob/master/src/app/main.cpp#L131" target="_blank">https://github.com/qgis/QGIS/<wbr>blob/master/src/app/main.cpp#<wbr>L131</a><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">and:<br>
<a href="https://github.com/qgis/QGIS/blob/master/src/app/main.cpp#L831" target="_blank">https://github.com/qgis/QGIS/<wbr>blob/master/src/app/main.cpp#<wbr>L831</a><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">the global settings format is exactly the same of the user settings file: INI.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hope this helps.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Oct 31, 2017 at 11:19 PM, Stefan Blumentrath <<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Dear all,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">I am really looking forward to seeing all QGIS configuration in ini-files and that registry
 will be abandoned on Windows in QGIS 3!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">That will be a great improvement, esp. from a sys-admin perspective!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">In this consolidation context I was wondering I would be possible to prepare for:</span><u></u><u></u></p>
<p class="m_-2532812625891299754m-388160701026182734msolistparagraph"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">-</span><span style="font-size:7.0pt;color:#1f497d" lang="EN-GB">         
</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Use of relative path (<a href="https://issues.qgis.org/issues/12623" target="_blank">https://issues.qgis.org/<wbr>issues/12623</a>)</span><u></u><u></u></p>
<p class="m_-2532812625891299754m-388160701026182734msolistparagraph"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">-</span><span style="font-size:7.0pt;color:#1f497d" lang="EN-GB">         
</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Usage of variables in the ini file</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">I have been earlier thinking about “versioning” of ini files, so that updates (e.g. changes
 in OWS URLs) can be passed to all users as a sort of “diff/merge” without damaging individual adjustments they might have made.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Background is that the Norwegian mapping authority provides a “Service feed” (<a href="https://register.geonorge.no/register/tjenestevarsler" target="_blank">https://register.geonorge.no/<wbr>register/tjenestevarsler</a>)
 where all OWS changes are announced… I would love to be able to just apply those changes to all our users…</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">No idea if such a thing could be fostered by the way settings are stored in the ini files?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Cheers</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" lang="EN-GB">Stefan</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" lang="EN-US"> QGIS-Developer
 [mailto:<a href="mailto:qgis-developer-bounces@lists.osgeo.org" target="_blank">qgis-developer-<wbr>bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Nathan Woodrow<br>
<b>Sent:</b> mandag 30. oktober 2017 15.27<br>
<b>To:</b> Borys Jurgiel <<a href="mailto:lists@borysjurgiel.pl" target="_blank">lists@borysjurgiel.pl</a>><br>
<b>Cc:</b> Richard Duivenvoorde <<a href="mailto:richard@duif.net" target="_blank">richard@duif.net</a>>;
<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [QGIS-Developer] Settings migration from QGIS 2 to 3</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal"><span lang="EN-GB">Ah right.  I'm happy with whatever there.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p>
<div>
<p class="MsoNormal"><span lang="EN-GB">On Tue, Oct 31, 2017 at 12:25 AM, Borys Jurgiel <</span><a href="mailto:lists@borysjurgiel.pl" target="_blank"><span lang="EN-GB">lists@borysjurgiel.pl</span></a><span lang="EN-GB">>
 wrote:</span><u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-GB">Dnia wtorek, 31 października 2017 00:19:49 Nathan Woodrow pisze:<br>
> Hey,<br>
><br>
> > There are over 100 keys there, are we going to migrate them all from<br>
><br>
> Windows<br>
> to windows, like we did with Qgis -> qgis?<br>
><br>
> No I don't think we need to do anything for those subgroups, dropping the<br>
> Windows placement between version isn't a big deal.  The main core things<br>
> to migrate is stuff that is a pain to setup again.<br>
<br>
Sorry I was unclear. I didn't mean migrating the values, just changing the<br>
section for all these keys.<br>
<br>
</span>Regards,<br>
Borys<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" 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" target="_blank">
https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Alessandro Pasotti<br>
w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a><u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

<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><br></blockquote></div><br></div>