Skip to content

Conversation

@kannes
Copy link
Contributor

@kannes kannes commented Jun 29, 2023

Lots of changes, following a dive into the code in preparation of the plugin leaving the "experimental" state.

Some cosmetics, some refactoring, some fixes, some new features. This branch is meant for testing, not code review.

When merging main the work from #6 was overwritten because it was not necessary anymore.

jk-wg added 30 commits May 26, 2023 12:17
Line lengths, too much whitespace, coding headers, unused imports, etc
was broken anyways, missing trailing 0 in the number :o)
- DataSourceProvider: Document functions
- InterfaceHandler: remove vars and parser, merge functions
- Signals were connected multiple times
- Selection of active profile triggered cascade of UI updates
There is no standard or rules that provide a safe way to identify
plugins' options...
ref: https://hannes.enjoys.it/blog/2023/07/plugins-in-qgis3-ini/
@kannes
Copy link
Contributor Author

kannes commented Dec 1, 2023

Current state is a mixed-bag as I had to jump projects midway:

  • We must make sure to know all sections and variations where data sources are stored in QGIS3.ini. I have a dump of QGIS profiles from various versions as base for that. https://github.com/WhereGroup/profile-manager/blob/b70a2ca80580636217e9d2e170617866065ae651/datasources/Dataservices/datasource_provider.py#L23C8-L23C8 is prepared to take multiple search paths per data source.
  • We should clearly state what is supported (and tested) and what is not
  • The code is fairly ready for unittests, it would be great to implement at least some before marking it experimental=false
  • There are still some pretty random structural flows that I would like to refactor (e.g. the datasource handler still handles some non-datasource things) but that can wait for later, this branch should get merged asap...

@kannes
Copy link
Contributor Author

kannes commented Sep 24, 2024

This was left with broken parts, at least transfer of data sources and bookmarks does not work at the moment. To not halt development and contributions, let's merge it anyways.

The main version of the plugin had its own issues (silent failures, missing something things, etc) so while this makes things a bit worse in terms of usability for now, it provides a better base for future development and fixes. 🤞

@kannes kannes merged commit cee42f6 into main Sep 24, 2024
@Guts Guts added the enhancement New feature or request label Oct 9, 2024
@Guts Guts deleted the cleanup_2023 branch October 22, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants