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

Stefan Blumentrath Stefan.Blumentrath at nina.no
Wed Nov 1 01:50:44 PDT 2017


Thanks so much Alessandro!

Having read some documentation:
https://connect.boundlessgeo.com/docs/desktop/1.1.0/system_admins/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<mailto: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<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<mailto:lists at borysjurgiel.pl>>
Cc: Richard Duivenvoorde <richard at duif.net<mailto:richard at duif.net>>; qgis-developer at lists.osgeo.org<mailto: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<mailto: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<mailto: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<http://www.itopen.it>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171101/d63ff60a/attachment-0001.html>


More information about the QGIS-Developer mailing list