QDT export: support plugins from unofficial repository #75
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