Skip to content

Commit

Permalink
Add sync_mode option
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed May 20, 2022
1 parent dbd4e78 commit 9af0ba0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions qgis_deployment_toolbelt/jobs/job_profiles_synchronizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,18 @@ class JobProfilesDownloader:
"possible_values": ("https://", "http://", "git://", "file://"),
"condition": "startswith",
},
"sync_mode": {
"type": str,
"required": False,
"default": "only_missing",
"possible_values": (
"only_missing",
"only_different_version",
"only_new_version",
"overwrite",
),
"condition": "in",
},
}
PROFILES_NAMES_DOWNLOADED: list = []
PROFILES_NAMES_INSTALLED: list = []
Expand Down

0 comments on commit 9af0ba0

Please sign in to comment.