Guts / qgis-deployment-cli

Cross-platform (but focused on Windows) CLI to perform deployment operations: profiles, plugins, etc.
https://guts.github.io/qgis-deployment-cli/
Apache License 2.0
18 stars 2 forks source link

[Feature Request]: Add a `search_paths` option to the qgis-installation-finder job #523

Closed Guts closed 2 months ago

Guts commented 5 months ago

Context

No response

Description

Add a search_paths option to the qgis-installation-finder job like this:

- name: Find installed QGIS
  uses: qgis-installation-finder
  with:
    if_not_found: warning
    search_paths:
      - %PROGRAMFILES%\\QGIS x.y.z\\bin\
      - %QDT_OSGEO4W_INSTALL_DIR%
      - D:\\Applications\\QGIS\\
    version_priority:
      - "3.36"

A few remarks:

Related links

Use Cases

Strategies for deploying QGIS on computer parks often opt for specific locations (typically outside %PROGRAMFILES%), notably for security reasons (a bit of unpredictability for outside people), backup or standardization of practices (typically the name of the QGIS installation folder is... not very clever.).

Visuals

No response

Before submitting