ScriptCollection 4.3.1__py3-none-any.whl → 4.3.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,13 +56,16 @@ class AnionBuildPlatform:
56
56
  GeneralUtilities.assert_condition(build_repo_folder.endswith("Build"),f"buildrepositoriesfolder {build_repo_folder} must end with 'Build'")
57
57
  self.__sc.assert_is_git_repository(build_repo_folder)
58
58
  product_name = os.path.basename(build_repo_folder)[:-len("Build")]
59
- repository:str=os.path.join(build_repo_folder,"Submodules",product_name)
59
+ repository:str=os.path.join(build_repo_folder, "Submodules", product_name)
60
60
  self.__sc.assert_is_git_repository(repository)
61
- reference_repo:str=os.path.join(build_repo_folder,"Submodules",product_name+"Reference")
61
+ reference_repo:str=os.path.join(build_repo_folder, "Submodules", product_name+"Reference")
62
62
  self.__sc.assert_is_git_repository(reference_repo)
63
63
  self.__sc.git_commit(reference_repo,"Updated changes")
64
64
  self.__sc.git_checkout(repository,self.__configuration.source_branch)
65
65
  self.__sc.git_commit(build_repo_folder,"Updated changes")
66
+ self.__sc.git_fetch(build_repo_folder)
67
+ for remote in self.__sc.git_get_all_remote_names(build_repo_folder):
68
+ self.__sc.git_merge(build_repo_folder,remote+"/main","main")
66
69
 
67
70
  # Pull changes from remote
68
71
  self.__sc.git_fetch(repository)
@@ -71,12 +74,12 @@ class AnionBuildPlatform:
71
74
 
72
75
  # Added changelog entry and build to verify buildability and to update versions etc.
73
76
  if self.__configuration.lazy_mode:
74
- self.__sc.run_program("sccreatechangelogentry","-m Update.",repository)
77
+ self.__sc.run_program("sccreatechangelogentry", "-m Update.", repository)
75
78
  arguments:str="bb --"
76
79
  if self.__configuration.verbosity == LogLevel.Debug:
77
80
  arguments+=f" --verbosity {self.__configuration.verbosity.value}"
78
- self.__sc.run_program("task",arguments,repository)
79
- self.__sc.git_commit(repository,"update")
81
+ self.__sc.run_program("task", arguments, repository)
82
+ self.__sc.git_commit(repository, "update")
80
83
 
81
84
  # Update dependencies
82
85
  if self.__configuration.update_dependencies:
@@ -1074,6 +1074,15 @@ def EnsureDockerNetworkIsAvailable()->int:
1074
1074
  return 0
1075
1075
 
1076
1076
 
1077
+ def EnsureDockerNetworkIsNotAvailable()->int:
1078
+ parser = argparse.ArgumentParser()
1079
+ parser.add_argument('-n', '--networkname', required=True)
1080
+ args = parser.parse_args()
1081
+ sc:ScriptCollectionCore=ScriptCollectionCore()
1082
+ sc.ensure_docker_network_is_not_available(args.networkname)
1083
+ return 0
1084
+
1085
+
1077
1086
  def ShowExternalDockerNetworks() -> int:
1078
1087
  parser = argparse.ArgumentParser(description="Prints all external networks declared in a Docker Compose file.")
1079
1088
  parser.add_argument('-f', '--file', required=False, default="docker-compose.yml", help="Path to the Docker Compose file. Defaults to docker-compose.yml in the current working directory.")
@@ -1166,6 +1166,7 @@ class GeneralUtilities:
1166
1166
  def current_system_is_macos():
1167
1167
  return platform.system() == 'Darwin'
1168
1168
 
1169
+ @staticmethod
1169
1170
  def get_temp_folder() -> str:
1170
1171
  """Returns an absolute path to the system-temp-folder. Use this instead of tempfile.gettempdir() directly:
1171
1172
  in some Linux-build-containers TMPDIR/TEMP/TMP is set to a relative value, which makes tempfile.gettempdir()
@@ -37,7 +37,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
37
37
  from .ProgramRunnerPopen import ProgramRunnerPopen
38
38
  from .SCLog import SCLog, LogLevel
39
39
 
40
- version = "4.3.1"
40
+ version = "4.3.3"
41
41
  __version__ = version
42
42
 
43
43
  class VSCodeWorkspaceShellTask:
@@ -497,7 +497,8 @@ class ScriptCollectionCore:
497
497
  @GeneralUtilities.check_arguments
498
498
  def git_get_commit_id(self, repository_folder: str, rev: str = "HEAD") -> str:
499
499
  self.is_git_or_bare_git_repository(repository_folder)
500
- result: tuple[int, str, str, int] = self.run_program_argsasarray("git", ["rev-parse", "--verify", rev], repository_folder, throw_exception_if_exitcode_is_not_zero=True)
500
+ # Append "^{commit}" so that annotated tags are dereferenced to the commit they point to instead of returning the SHA of the tag-object itself.
501
+ result: tuple[int, str, str, int] = self.run_program_argsasarray("git", ["rev-parse", "--verify", f"{rev}^{{commit}}"], repository_folder, throw_exception_if_exitcode_is_not_zero=True)
501
502
  return result[1].replace('\n', '')
502
503
 
503
504
  @GeneralUtilities.check_arguments
@@ -3499,46 +3500,14 @@ OCR-content:
3499
3500
 
3500
3501
  @GeneralUtilities.check_arguments
3501
3502
  def ensure_docker_network_is_available(self,network_name:str):
3502
- #TODO add cli-script to call this function
3503
3503
  if not (network_name in self.get_docker_networks()):
3504
3504
  self.run_program("docker",f"network create {network_name}")
3505
3505
 
3506
3506
  @GeneralUtilities.check_arguments
3507
3507
  def ensure_docker_network_is_not_available(self,network_name:str):
3508
- #TODO add cli-script to call this function
3509
3508
  if network_name in self.get_docker_networks():
3510
3509
  self.run_program("docker",f"network rm {network_name}")
3511
3510
 
3512
- def get_external_docker_networks_from_compose_file(self,compose_file_path: str) -> list[str]:
3513
- """
3514
- Parses a docker-compose.yml file and returns all network names
3515
- that are marked as external: true.
3516
- """
3517
-
3518
- with open(compose_file_path, "r", encoding="utf-8") as f:
3519
- data = yaml.safe_load(f)
3520
-
3521
- external_networks = []
3522
-
3523
- networks = data.get("networks", {})
3524
- if not isinstance(networks, dict):
3525
- return external_networks
3526
-
3527
- for name, config in networks.items():
3528
- if isinstance(config, dict):
3529
- if config.get("external") is True:
3530
- # case: external: true
3531
- external_networks.append(name)
3532
-
3533
- # optional advanced case: external with explicit name
3534
- elif "external" in config and isinstance(config["external"], dict):
3535
- # e.g. external: { name: "real_network_name" }
3536
- real_name = config["external"].get("name")
3537
- if real_name:
3538
- external_networks.append(real_name)
3539
-
3540
- return external_networks
3541
-
3542
3511
  @GeneralUtilities.check_arguments
3543
3512
  def get_external_docker_networks_from_compose_file(self, compose_file: str) -> list[str]:
3544
3513
  with open(compose_file, encoding="utf-8") as stream:
@@ -30,8 +30,8 @@ class SCTaskRunnerServer:
30
30
 
31
31
  def __init__(self, operating_system_name: str, username: str, password: str, work_folder: str = None, sc: ScriptCollectionCore = None):
32
32
  self.operating_system_name = operating_system_name
33
- self.__username = username
34
- self.__password = password
33
+ self.__username = username # pylint:disable=unused-private-member # accessed via name-mangling inside the nested request-handler
34
+ self.__password = password # pylint:disable=unused-private-member # accessed via name-mangling inside the nested request-handler
35
35
  self.work_folder = work_folder if work_folder is not None else os.path.join(GeneralUtilities.get_temp_folder(), "SCTaskRunner")
36
36
  self.__sc = sc if sc is not None else ScriptCollectionCore()
37
37
  self.__jobs: dict[str, _RunnerJob] = {}
@@ -53,7 +53,7 @@ class SCTaskRunnerServer:
53
53
  server.serve_forever()
54
54
 
55
55
  @GeneralUtilities.check_arguments
56
- def __start_job(self, archive_bytes: bytes, codeunit_name: str, program: str, arguments: list[str], working_directory: str) -> str:
56
+ def __start_job(self, archive_bytes: bytes, codeunit_name: str, program: str, arguments: list[str], working_directory: str) -> str: # pylint:disable=unused-private-member # accessed via name-mangling inside the nested request-handler
57
57
  job_id = str(uuid.uuid4())
58
58
  workspace_folder = os.path.join(self.work_folder, job_id)
59
59
  # Isolation: each job gets a fresh, empty workspace-folder.
@@ -78,14 +78,14 @@ class SCTaskRunnerServer:
78
78
  command_folder = os.path.join(job.workspace_folder, working_directory)
79
79
  try:
80
80
  self.__sc.log.log(f"Run '{program} {' '.join(arguments)}' in '{command_folder}'...")
81
- process = subprocess.Popen([program] + arguments, cwd=command_folder, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True, encoding="utf-8", errors="replace")
82
- for line in process.stdout:
81
+ with subprocess.Popen([program] + arguments, cwd=command_folder, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True, encoding="utf-8", errors="replace") as process:
82
+ for line in process.stdout:
83
+ with job.lock:
84
+ job.log = job.log + line
85
+ process.wait()
83
86
  with job.lock:
84
- job.log = job.log + line
85
- process.wait()
86
- with job.lock:
87
- job.exitcode = process.returncode
88
- job.state = "completed" if process.returncode == 0 else "failed"
87
+ job.exitcode = process.returncode
88
+ job.state = "completed" if process.returncode == 0 else "failed"
89
89
  except Exception as exception:
90
90
  with job.lock:
91
91
  job.log = job.log + f"\nException while running the program: {exception}\n"
@@ -93,7 +93,7 @@ class SCTaskRunnerServer:
93
93
  job.state = "failed"
94
94
 
95
95
  @GeneralUtilities.check_arguments
96
- def __get_result_archive(self, job: _RunnerJob) -> bytes:
96
+ def __get_result_archive(self, job: _RunnerJob) -> bytes: # pylint:disable=unused-private-member # accessed via name-mangling inside the nested request-handler
97
97
  codeunit_folder = os.path.join(job.workspace_folder, job.codeunit_name)
98
98
  archive_file = os.path.join(self.work_folder, f"{uuid.uuid4()}.result.tar.gz")
99
99
  try:
@@ -104,7 +104,7 @@ class SCTaskRunnerServer:
104
104
  GeneralUtilities.ensure_file_does_not_exist(archive_file)
105
105
 
106
106
  @GeneralUtilities.check_arguments
107
- def __delete_job(self, job_id: str) -> None:
107
+ def __delete_job(self, job_id: str) -> None: # pylint:disable=unused-private-member # accessed via name-mangling inside the nested request-handler
108
108
  with self.__jobs_lock:
109
109
  job = self.__jobs.pop(job_id, None)
110
110
  if job is not None:
@@ -155,26 +155,31 @@ class SCTaskRunnerServer:
155
155
  return
156
156
  parts = self.path.strip("/").split("/")
157
157
  if len(parts) >= 2 and parts[0] == "jobs":
158
- job = self.__get_job(parts[1])
159
- if job is None:
160
- self.__send_text(404, "Unknown job")
161
- return
162
- if len(parts) == 2:
163
- with job.lock:
164
- self.__send_json(200, {"state": job.state, "exitcode": job.exitcode})
165
- return
166
- if len(parts) == 3 and parts[2] == "logs":
167
- with job.lock:
168
- self.__send_text(200, job.log)
169
- return
170
- if len(parts) == 3 and parts[2] == "result":
171
- with job.lock:
172
- ready = job.state == "completed"
173
- if not ready:
174
- self.__send_text(409, "Job is not completed")
175
- return
176
- self.__send(200, outer._SCTaskRunnerServer__get_result_archive(job))
158
+ self.__handle_job_get(parts)
159
+ return
160
+ self.__send_text(404, "Not found")
161
+
162
+ def __handle_job_get(self, parts: list[str]) -> None:
163
+ job = self.__get_job(parts[1])
164
+ if job is None:
165
+ self.__send_text(404, "Unknown job")
166
+ return
167
+ if len(parts) == 2:
168
+ with job.lock:
169
+ self.__send_json(200, {"state": job.state, "exitcode": job.exitcode})
170
+ return
171
+ if len(parts) == 3 and parts[2] == "logs":
172
+ with job.lock:
173
+ self.__send_text(200, job.log)
174
+ return
175
+ if len(parts) == 3 and parts[2] == "result":
176
+ with job.lock:
177
+ ready = job.state == "completed"
178
+ if not ready:
179
+ self.__send_text(409, "Job is not completed")
177
180
  return
181
+ self.__send(200, outer._SCTaskRunnerServer__get_result_archive(job))
182
+ return
178
183
  self.__send_text(404, "Not found")
179
184
 
180
185
  def do_POST(self): # pylint:disable=invalid-name
@@ -27,7 +27,7 @@ class TFCPS_CodeUnitSpecific_Base(ABC):
27
27
  __use_cache:bool=None
28
28
  tfcps_Tools_General:TFCPS_Tools_General = None
29
29
  _protected_sc:ScriptCollectionCore = None
30
- __is_pre_merge:bool=False#TODO must be setable to true
30
+ __is_pre_merge:bool=False
31
31
  __validate_developers_of_repository:bool=True#TODO must be setable to false
32
32
 
33
33
  def __init__(self,current_file:str,verbosity:LogLevel,target_envionment_type:str,use_cache:bool,is_pre_merge:bool):
@@ -115,9 +115,17 @@ class TFCPS_CodeUnitSpecific_Base(ABC):
115
115
  codeunit_folder = os.path.join(repository_folder, codeunit_name)
116
116
 
117
117
  # check codeunit-conformity
118
- # TODO check if foldername=="<codeunitname>[.codeunit.xml]" == <codeunitname> in file
118
+ # The codeunit-folder must contain exactly one codeunit-file and its filename (without the ".codeunit.xml"-suffix)
119
+ # must be equal to the folder-name. (The equality of the folder-name and the name inside the file is checked further below.)
120
+ if not os.path.isdir(codeunit_folder):
121
+ raise ValueError(f'Codeunit-folder "{codeunit_folder}" does not exist.')
122
+ codeunit_filename_suffix = ".codeunit.xml"
123
+ codeunit_files_in_folder = [entry for entry in os.listdir(codeunit_folder) if entry.endswith(codeunit_filename_suffix) and os.path.isfile(os.path.join(codeunit_folder, entry))]
124
+ GeneralUtilities.assert_condition(len(codeunit_files_in_folder) == 1, f'The codeunit-folder "{codeunit_folder}" must contain exactly one codeunit-file (matching "*{codeunit_filename_suffix}") but contains {len(codeunit_files_in_folder)}.')
125
+ codeunit_name_in_codeunit_filename = codeunit_files_in_folder[0][:-len(codeunit_filename_suffix)]
126
+ GeneralUtilities.assert_condition(codeunit_name_in_codeunit_filename == codeunit_name, f'The codeunit-file "{codeunit_files_in_folder[0]}" must be named "{codeunit_name}{codeunit_filename_suffix}" to match its folder-name ("{codeunit_name}").')
119
127
  supported_codeunitspecificationversion = "2.9.4" # should always be the latest version of the ProjectTemplates-repository
120
- codeunit_file = os.path.join(codeunit_folder, f"{codeunit_name}.codeunit.xml")
128
+ codeunit_file = os.path.join(codeunit_folder, f"{codeunit_name}{codeunit_filename_suffix}")
121
129
  if not os.path.isfile(codeunit_file):
122
130
  raise ValueError(f'Codeunitfile "{codeunit_file}" does not exist.')
123
131
  # TODO implement usage of self.reference_latest_version_of_xsd_when_generating_xml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptcollection
3
- Version: 4.3.1
3
+ Version: 4.3.3
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Author-email: Marius Göcke <marius.goecke@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/anionDev/ScriptCollection
@@ -1,7 +1,7 @@
1
- ScriptCollection/AnionBuildPlatform.py,sha256=vg1lZ6D1nqq_mO7iYTDSktSImXd34scfPaXiIrbvrg0,11848
1
+ ScriptCollection/AnionBuildPlatform.py,sha256=T1tkh4pzQyUb8r5acWiv95TvmkNnDhiNaQAP2dJJvoA,12057
2
2
  ScriptCollection/CertificateUpdater.py,sha256=dR5JpJDlZdjD4_pgMz7zCrt1IM7VfatmK6pULSczxQw,9693
3
- ScriptCollection/Executables.py,sha256=l_HLG1oIcmIWh9QKhcQdgocSADQbqxGBChs3D-r-SSk,66070
4
- ScriptCollection/GeneralUtilities.py,sha256=4RKClFNriMiiNPMQ4yK9eiBhF_z_9TCd9jumhcwJJeI,69142
3
+ ScriptCollection/Executables.py,sha256=Ha0DRqeqxhOM9V-MPd1rozSEWVSRHji6XwysWf7JS8k,66378
4
+ ScriptCollection/GeneralUtilities.py,sha256=9-hL-qbbCW42XOz6kMtZyTQA4MsLeCbvqXtuB-Ab_r4,69161
5
5
  ScriptCollection/HTTPMaintenanceOverheadHelper.py,sha256=TToNtyO1XzsMbBsTBf3o0xgOK0v4Jf03qw2Z0xb2nCk,2007
6
6
  ScriptCollection/ProcessesRunner.py,sha256=yYaC95h40uszuZPggn2kK3qXIN2ZjGMCavo-NQ53ElQ,1537
7
7
  ScriptCollection/ProgramRunnerBase.py,sha256=eZenpiIFW1dhvSVCG7cfBs5hO4_KLlOxR7oXoSxUDmk,2286
@@ -9,7 +9,7 @@ ScriptCollection/ProgramRunnerMock.py,sha256=uTu-aFle1W_oKjeQEmuPsFPQpvo0kRf2FrR
9
9
  ScriptCollection/ProgramRunnerPopen.py,sha256=8tP0xWKeRYoGlaNB3iUh4o61O-tKtcxrS7IUqtU85C4,4091
10
10
  ScriptCollection/ProgramRunnerSudo.py,sha256=RXsiceQ8W6a8YDk_2BPscVbIAmDIpIxqe9WHBy2r4CM,5233
11
11
  ScriptCollection/SCLog.py,sha256=Z-HhC_CRtU3HdQflNsabFh9IJOucHcXmxMDcf58fli0,4671
12
- ScriptCollection/ScriptCollectionCore.py,sha256=BuQAEDva8RYYnW5tN3z-jHkbxzos4uI96ddPWv0vSr8,224854
12
+ ScriptCollection/ScriptCollectionCore.py,sha256=x7LGpiV-ViWK-u_6xhcOaZEVnmpS4os7JLkOo-kOnwA,223745
13
13
  ScriptCollection/UnassignedVariablesCheck.py,sha256=v59qLQ5RRvx31ouuCW7NWZj3McWENvGBPkV5ZGBmqJE,4344
14
14
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  ScriptCollection/OCIImages/AbstractImageHandler.py,sha256=o129UYDtLymCRjMZBP9Puaj19ueMHoNt6UTLspfnaRc,1758
@@ -32,8 +32,8 @@ ScriptCollection/Resources/Fonts/DejaVuSans-Oblique.ttf,sha256=SvdfoW7m061D4ezsQ
32
32
  ScriptCollection/Resources/Fonts/DejaVuSans.ttf,sha256=faGVp0xVvvmI0NSPlQi9XYSUJcF3Dbpde_xs6e2EiVQ,757076
33
33
  ScriptCollection/Resources/Fonts/LICENSE.txt,sha256=egg7E25k0GR5TDQZdR5cfdENL2TBCP5boWHq5eWVipM,8816
34
34
  ScriptCollection/Resources/MaintenanceSite/MaintenanceSite.html,sha256=CX9S1bdOz6xU2aGfr03tJRGczQrlpn-IeODc15d5kc0,232
35
- ScriptCollection/TFCPS/SCTaskRunnerServer.py,sha256=-jdoajgECUYrYIk0zmcOcGYMw2NkahEFp3sy8htGE08,10603
36
- ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=Jr2cEoj0mPyDrI1XACIry9diu5V_7z4b2f4a7Tns5lM,30844
35
+ ScriptCollection/TFCPS/SCTaskRunnerServer.py,sha256=rpuwSsQ6YQfZS2LGnvOH5ql8zs_-cHU4LQttS7XNT60,11272
36
+ ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=oICRtl85n2puWvchcJIkmLZL1BAylMbzH7ltBGWfqgY,31973
37
37
  ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=ulxU6CykkqyE6QWeX8PEyW0rntuK3qfBEbPSIplekfI,9677
38
38
  ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=cScWO7n89Gbs3au8U_EczJO53jZx6NFzpm7c46IqO_Q,23733
39
39
  ScriptCollection/TFCPS/TFCPS_CreateRelease.py,sha256=X2NgZgbOkJsdZ6wMHB_RuS_rQCuz5oQCqzYrxyXBN9Q,6680
@@ -63,8 +63,8 @@ ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=Bd1gxCk9Fb
63
63
  ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
64
  ScriptCollection/TFCPS/Rust/TFCPS_CodeUnitSpecific_Rust.py,sha256=WhOsMpJxNGqnQGA3nJ99ruyqymxBeJxCcpK98zJduTo,1680
65
65
  ScriptCollection/TFCPS/Rust/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
- scriptcollection-4.3.1.dist-info/METADATA,sha256=j6ypC3c7uhpWkefeCtMwq4sdbVhyluvE692kderqCs4,7815
67
- scriptcollection-4.3.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
68
- scriptcollection-4.3.1.dist-info/entry_points.txt,sha256=cvkJt0PR9co3xeHlUDNufX7A37gyZB5WAu3waWzi3Cg,5711
69
- scriptcollection-4.3.1.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
70
- scriptcollection-4.3.1.dist-info/RECORD,,
66
+ scriptcollection-4.3.3.dist-info/METADATA,sha256=RPdoXaSXRqhykTokvk4i0ZJuNUdqOzb1MAlxBHnDimQ,7815
67
+ scriptcollection-4.3.3.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
68
+ scriptcollection-4.3.3.dist-info/entry_points.txt,sha256=MwiP9P29EeSfjS19JOZmqbx8OzpZrUWpgMza3EffBs8,5812
69
+ scriptcollection-4.3.3.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
70
+ scriptcollection-4.3.3.dist-info/RECORD,,
@@ -21,6 +21,7 @@ sccreateskill = ScriptCollection.Executables:CreateSkill
21
21
  sccurrentuserhaselevatedprivileges = ScriptCollection.Executables:CurrentUserHasElevatedPrivileges
22
22
  scdownloadcachabletools = ScriptCollection.Executables:DownloadCachableTools
23
23
  scensuredockernetworkisavailable = ScriptCollection.Executables:EnsureDockerNetworkIsAvailable
24
+ scensuredockernetworkisnotavailable = ScriptCollection.Executables:EnsureDockerNetworkIsNotAvailable
24
25
  scensureexternaldockernetworksexist = ScriptCollection.Executables:EnsureExternalDockerNetworksExist
25
26
  scespoc = ScriptCollection.Executables:Espoc
26
27
  scextractpdfpages = ScriptCollection.Executables:ExtractPDFPages