Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade plugin tools #29

Merged
merged 3 commits into from
Jan 26, 2024
Merged

Upgrade plugin tools #29

merged 3 commits into from
Jan 26, 2024

Conversation

LKajan
Copy link

@LKajan LKajan commented Jan 24, 2024

Description

Upgrade qgis-plugin-tool to 0.4.0. This upgrade supports the usage as a subplugin.

Type of change

  • Bug fix

  • New feature

  • Other

  • Non-breaking change

  • Breaking change

Developer checklist

  • A CHANGELOG entry has been included (only when change is visible to users)

This upgrade supports usage as a subplugin.

In some special cases it is wanted to use the plugin from inside another
plugin. Upgrade qgis-plugin-tool to a version that supports this.
@LKajan LKajan requested a review from komima January 24, 2024 10:40
@LKajan
Copy link
Author

LKajan commented Jan 26, 2024

Test failed because settings are stored and get from outside of plugin package. Therefore those are not handled as plugin settings. Before these tests passed because the bug in qgis_plugin_tools which was fixed in GispoCoding/qgis_plugin_tools@227222d. If settings were set inside from plugin package at the first time the plugin name was cached.

In the tests settings are modified outside the plugin package. Therefore settings are not saved correctly as internal settings since the plugin_name is not available. Patch plugin_name when accessing settings.
@LKajan LKajan merged commit e980dde into main Jan 26, 2024
5 checks passed
@LKajan LKajan deleted the upgrade-plugin-tools branch January 26, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants