You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The INI file is too much of a mess. It does not make sense to invest too much effort into something that unstable and undocumented...
So my (hopefully reasonable and functional) plan is:
For each data source type I will catalog all known places where it might be stored, regardless as to why and the usefulness of those settings keys.
During data source discovery the plugin will simple collect all those occurences and store the sections + keys + values.
Then we can use that to just transfer the whole bunch to a different profile (ignoring if some keys might be deprecated and unused in newer versions) or to delete all that from the profile.
Since #34 we are using all known locations for source discovery and transfer those 1:1 to the target.
It would be ace to only transfer the needed information for a specific QGIS version instead. That would be a new concept though and potentially lead to lots of headache. The user would need to be able to decide a target QGIS version, not something we can safely discover from a profile afaik.
So I am closing this as "good enough to transfer all kinds of existing sources, in the worst case the target profile is a bit cluttered, but working". If you want to tackle version specific migrations, just shout.
Ref: https://lists.osgeo.org/pipermail/qgis-developer/2023-June/065957.html
Connections can be defined in the INI file in many different ways, e. g.:
This seems to be due to changes between QGIS versions.
Currently the Profile Manager only looks for "
connections-
" under "[qgis]
".This affects at least the "Data Sources", but might affect other things from QGIS3.ini too.
The text was updated successfully, but these errors were encountered: