From d22ff42e428ea5789fad5aa7bd52407f5567ab0c Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Thu, 14 Nov 2019 11:49:07 +0100 Subject: [PATCH] Catalogs: The scm XML tag is now used. The tag can be overridden on the command line with the --update and --no-update options. --- catalog/update-catalog.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/catalog/update-catalog.py b/catalog/update-catalog.py index 12579e0..d7e4eb1 100755 --- a/catalog/update-catalog.py +++ b/catalog/update-catalog.py @@ -281,6 +281,12 @@ if args.no_update: else: cwd = os.getcwd() for scm in scm_list: + # XML mandated skip, with command line override. + if not args.update: + skip = get_xml_text(scm.find('update')) + if skip == 'false': + continue + repo_type = get_xml_text(scm.find('type')) repo_path = get_xml_text(scm.find('path')) includes.append(repo_path)