QDT export: support plugins from unofficial repository#75
Draft
Conversation
Collaborator
Author
|
@nicogodet if you want to review this one, you could be interested in. |
ad3426e to
b07b25c
Compare
nicogodet
reviewed
Oct 2, 2025
Comment on lines
+233
to
+234
| elif plugin_info and not plugin_info.plugin_id: | ||
| profile_plugin_list.append(plugin_info) |
There was a problem hiding this comment.
Bruh?
if plugin_info:
profile_plugin_list.append(plugin_info)is equivalent to current if/elif ?
6d30789 to
4637a7f
Compare
4637a7f to
35ffe59
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a profile contains plugins installed from a third-party repository
, Actually the export gives:
{ "$schema": "https://raw.githubusercontent.com/qgis-deployment/qgis-deployment-toolbelt-cli/main/docs/schemas/profile/qgis_profile.json", "plugins": [ { "name": "Azimuth and Distance Calculator", "folder_name": "AzimuthDistanceCalculator", "official_repository": true, "plugin_id": 606, "version": "2.0.2" }, { "name": "DICT", "folder_name": "DICT", "official_repository": true, "plugin_id": 1545, "version": "1.0.2" }, { "name": "Plugin Reloader", "folder_name": "plugin_reloader", "official_repository": true, "plugin_id": 143, "version": "0.18" }, { "name": "Profile Manager", "folder_name": "profile_manager", "official_repository": true, "plugin_id": 3547, "version": "0.6.0" }, { "name": "QRestart", "folder_name": "QRestart", "official_repository": true, "plugin_id": 2887, "version": "0.2" } ] }With this PR:
{ "$schema": "https://raw.githubusercontent.com/qgis-deployment/qgis-deployment-toolbelt-cli/main/docs/schemas/profile/qgis_profile.json", "plugins": [ { "name": "Azimuth and Distance Calculator", "folder_name": "AzimuthDistanceCalculator", "version": "2.0.2", "plugin_id": 606, "official_repository": true }, { "name": "DICT", "folder_name": "DICT", "version": "1.0.2", "plugin_id": 1545, "official_repository": true }, { "name": "Plugin Reloader", "folder_name": "plugin_reloader", "version": "0.18", "plugin_id": 143, "official_repository": true }, { "name": "QRestart", "folder_name": "QRestart", "version": "0.2", "plugin_id": 2887, "official_repository": true }, { "name": "reperesDeCrues", "folder_name": "reperesDeCrues", "version": "1.5.0", "plugin_id": 3214691075, "official_repository": false, "download_url": "https://plugins.custom.org/download.php?plugin=reperesDeCrues.1.5.0" } ] }❤️ Funded by Oslandia