qgis_deployment_toolbelt.jobs.job_profiles_downloader module

Download remote QGIS profiles to QDT working folder.

Author: Julien Moura (https://github.com/guts)

class qgis_deployment_toolbelt.jobs.job_profiles_downloader.JobProfilesDownloader(options: dict)

Bases: GenericJob

Job to download remote profiles and set them.

ID: str = 'qprofiles-downloader'
OPTIONS_SCHEMA: dict = {'branch': {'condition': None, 'default': 'master', 'possible_values': None, 'required': False, 'type': <class 'str'>}, 'protocol': {'condition': 'in', 'default': 'git_remote', 'possible_values': ('git', 'git_local', 'git_remote', 'http'), 'required': True, 'type': <class 'str'>}, 'source': {'condition': 'startswith', 'default': None, 'possible_values': ('https://', 'http://', 'git://', 'file://'), 'required': True, 'type': <class 'str'>}}
PROFILES_NAMES_DOWNLOADED: list = []
__init__(options: dict) None

Instantiate the class.

Parameters:
  • options (List[dict]) – list of dictionary with environment variables to set

  • remove. (or)

run() None

Execute job logic.