[QGIS-Developer] Settings migration from QGIS 2 to 3

Nathan Woodrow madmanwoo at gmail.com
Thu Dec 7 17:31:51 PST 2017


Hey,

Yes, a dialog is on the todo list just need some time to finish it.
Hopefully next monday.

On Fri, Dec 8, 2017 at 11:22 AM, Olivier Dalang <olivier.dalang at gmail.com>
wrote:

> Hi !
>
> 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.
>
> 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).
>
> What do you think ? Should I open a feature request ?
>
> Still the feature will definitely be very useful for most users ! Thank
> you very much for developing it :)
>
> Olivier
>
>
> On Wed, Nov 1, 2017 at 9:50 PM, Stefan Blumentrath <
> Stefan.Blumentrath at nina.no> wrote:
>
>> Thanks so much Alessandro!
>>
>>
>>
>> Having read some documentation:
>>
>> https://connect.boundlessgeo.com/docs/desktop/1.1.0/system_a
>> dmins/globalsettings.html
>>
>> I am sure that this will be a cool new feature in QGIS 3 that will be
>> very much appreciated by organisations!!!
>>
>>
>>
>> Thanks again for the hint!
>>
>>
>>
>> Cheers
>>
>> Stefan
>>
>>
>>
>> *From:* Alessandro Pasotti [mailto:apasotti at gmail.com]
>> *Sent:* onsdag 1. november 2017 09.30
>> *To:* Stefan Blumentrath <Stefan.Blumentrath at nina.no>
>> *Cc:* Nathan Woodrow <madmanwoo at gmail.com>; Borys Jurgiel <
>> lists at borysjurgiel.pl>; Richard Duivenvoorde <richard at duif.net>;
>> qgis-developer at lists.osgeo.org
>>
>> *Subject:* Re: [QGIS-Developer] Settings migration from QGIS 2 to 3
>>
>>
>>
>>
>> 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).
>>
>> See:
>> https://github.com/qgis/QGIS/blob/master/src/app/main.cpp#L131
>>
>> and:
>> https://github.com/qgis/QGIS/blob/master/src/app/main.cpp#L831
>>
>> the global settings format is exactly the same of the user settings file:
>> INI.
>>
>> Hope this helps.
>>
>>
>>
>>
>>
>> On Tue, Oct 31, 2017 at 11:19 PM, Stefan Blumentrath <
>> Stefan.Blumentrath at nina.no> wrote:
>>
>> Dear all,
>>
>>
>>
>> I am really looking forward to seeing all QGIS configuration in ini-files
>> and that registry will be abandoned on Windows in QGIS 3!
>>
>> That will be a great improvement, esp. from a sys-admin perspective!
>>
>>
>>
>> In this consolidation context I was wondering I would be possible to
>> prepare for:
>>
>> -          Use of relative path (https://issues.qgis.org/issues/12623)
>>
>> -          Usage of variables in the ini file
>>
>>
>>
>> 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.
>>
>> Background is that the Norwegian mapping authority provides a “Service
>> feed” (https://register.geonorge.no/register/tjenestevarsler) where all
>> OWS changes are announced… I would love to be able to just apply those
>> changes to all our users…
>>
>>
>>
>> No idea if such a thing could be fostered by the way settings are stored
>> in the ini files?
>>
>>
>>
>> Cheers
>>
>> Stefan
>>
>>
>>
>> *From:* QGIS-Developer [mailto:qgis-developer-bounces at lists.osgeo.org] *On
>> Behalf Of *Nathan Woodrow
>> *Sent:* mandag 30. oktober 2017 15.27
>> *To:* Borys Jurgiel <lists at borysjurgiel.pl>
>> *Cc:* Richard Duivenvoorde <richard at duif.net>;
>> qgis-developer at lists.osgeo.org
>> *Subject:* Re: [QGIS-Developer] Settings migration from QGIS 2 to 3
>>
>>
>>
>> Ah right.  I'm happy with whatever there.
>>
>>
>>
>> On Tue, Oct 31, 2017 at 12:25 AM, Borys Jurgiel <lists at borysjurgiel.pl>
>> wrote:
>>
>> Dnia wtorek, 31 października 2017 00:19:49 Nathan Woodrow pisze:
>> > Hey,
>> >
>> > > There are over 100 keys there, are we going to migrate them all from
>> >
>> > Windows
>> > to windows, like we did with Qgis -> qgis?
>> >
>> > No I don't think we need to do anything for those subgroups, dropping
>> the
>> > Windows placement between version isn't a big deal.  The main core
>> things
>> > to migrate is stuff that is a pain to setup again.
>>
>> Sorry I was unclear. I didn't mean migrating the values, just changing the
>> section for all these keys.
>>
>> Regards,
>> Borys
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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/20171208/1a4092f6/attachment-0001.html>


More information about the QGIS-Developer mailing list