ScriptCollection 4.3.56__py3-none-any.whl → 4.3.58__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.
@@ -21,11 +21,15 @@ from ..ScriptCollectionCore import ScriptCollectionCore,VSCodeWorkspaceShellTask
21
21
  from ..SCLog import LogLevel
22
22
  from ..OCIImages.AbstractImageHandler import AbstractImageHandler
23
23
  from ..OCIImages.OCIImageManager import OCIImageManager
24
+ from .PackageSource import PackageSource
24
25
 
25
26
  class TFCPS_Tools_General:
26
27
 
27
28
  __sc:ScriptCollectionCore=None
28
29
  oci_image_manager:OCIImageManager=None
30
+ # Kinds which are allowed in the configuration-file that defines where the values of the required environment-variables come from
31
+ # (see get_environment_variables_configuration_file).
32
+ __allowed_environment_variable_kinds:list[str]=["literal","hostenvvariable","file"]
29
33
  # Relative path (inside the source-repository and inside the ScriptCollection.Resources-package) of the
30
34
  # file that pins the OpenAPIGenerator-version used as default when no repository-specific version is given.
31
35
  __openapigenerator_version_resource_relative_path:str="Dependencies/OpenAPIGenerator/Version.txt"
@@ -459,43 +463,174 @@ class TFCPS_Tools_General:
459
463
  return str(root.xpath('/cps:productinformation/cps:producttitle/text()', namespaces={'cps': 'https://projects.aniondev.de/PublicProjects/Common/ProjectTemplates/-/tree/main/Conventions/RepositoryStructure/CommonProjectStructure'})[0])
460
464
 
461
465
  @GeneralUtilities.check_arguments
462
- def get_required_env_variables(self, repository: str) -> dict[str, str]:
463
- """Reads '<repository>/.ScriptCollection/RequiredEnvVariables.csv' and resolves the value of each environment-variable
464
- defined in it. The file is optional; if it does not exist an empty dict is returned. Columns: EnvVariableName;Kind;Value.
465
- 'Kind' is one of 'literal' (Value is used as-is), 'hostenvvariable' (Value is the name of an environment-variable which
466
- must be set on the host-system) or 'file' (Value is a path - resolved relative to the repository if not absolute - to a
467
- text-file whose content, without a trailing linebreak, is used). This function centralizes that resolution so every
468
- caller which needs these environment-variables (for example to pass them into a build-container) obtains identical
469
- values instead of re-implementing the resolution-logic."""
466
+ def get_required_environment_variable_names(self, repository: str) -> list[str]:
467
+ """Returns the names of the environment-variables the product needs for its build. They are declared (name-only, without
468
+ any value) in '<repository>/.ScriptCollection/ProductInformation.xml' below 'requiredenvironmentvariables'. The values are
469
+ deliberately not part of the repository: they are resolved per machine from the user-configuration-file returned by
470
+ get_environment_variables_configuration_file().
471
+ The 'requiredenvironmentvariables'-element itself is required and must be declared even when the product does not need any
472
+ environment-variable (it stays empty then), so that it is always visible which environment-variables a product depends on
473
+ instead of that information being absent by accident."""
474
+ product_information_file = os.path.join(repository, ".ScriptCollection", "ProductInformation.xml")
475
+ GeneralUtilities.assert_file_exists(product_information_file)
476
+ root: etree._ElementTree = etree.parse(product_information_file)
477
+ namespaces = {'cps': 'https://projects.aniondev.de/PublicProjects/Common/ProjectTemplates/-/tree/main/Conventions/RepositoryStructure/CommonProjectStructure'}
478
+ declaration_elements = root.xpath('/cps:productinformation/cps:requiredenvironmentvariables', namespaces=namespaces)
479
+ GeneralUtilities.assert_condition(1 == len(declaration_elements), f"'{product_information_file}' must contain exactly one 'requiredenvironmentvariables'-element but it contains {len(declaration_elements)}. Add '<cps:requiredenvironmentvariables></cps:requiredenvironmentvariables>' (empty if the build of this product does not need any environment-variable) to that file.")
480
+ result: list[str] = []
481
+ #the elements are iterated (instead of their text-nodes) because an element without any content does not have a text-node at all
482
+ #and would therefore be skipped silently instead of being reported as the mistake it is.
483
+ for declared_variable in declaration_elements[0].xpath('cps:requiredenvironmentvariable', namespaces=namespaces):
484
+ name: str = GeneralUtilities.empty_string if declared_variable.text is None else str(declared_variable.text).strip()
485
+ GeneralUtilities.assert_condition(GeneralUtilities.string_has_content(name), f"'{product_information_file}' contains a 'requiredenvironmentvariable'-element without a name. Every declared environment-variable must have a name.")
486
+ GeneralUtilities.assert_condition(name not in result, f"'{product_information_file}' declares the environment-variable '{name}' more than once.")
487
+ result.append(name)
488
+ return result
489
+
490
+ @GeneralUtilities.check_arguments
491
+ def get_environment_variables_configuration_file(self) -> str:
492
+ """Returns the path of the user-specific file which defines where the values of the required environment-variables come from.
493
+ The file is looked up in the configuration-folder, so a build-container which gets that folder mounted (which is the recommended
494
+ setup for a self-hosted build-runner) resolves the values exactly like a build on a host does."""
495
+ return os.path.join(GeneralUtilities.get_scriptcollection_configuration_folder(), "TFCPS", "EnvironmentVariables.csv")
496
+
497
+ @GeneralUtilities.check_arguments
498
+ def get_required_environment_variables(self, repository: str) -> dict[str, str]:
499
+ """Resolves the value of every environment-variable which is declared as required by the repository (see
500
+ get_required_environment_variable_names). A value comes from one of two sources:
501
+ - the configuration-file returned by get_environment_variables_configuration_file(), if the variable is defined there.
502
+ - the environment of the current process otherwise. This is how a build-pipeline provides a value from its own secret-store.
503
+ The configuration-file has precedence, so a resolved value does not depend on what happens to be set in the environment of the
504
+ caller. If a value can not be determined in either way the resolution fails with a message which names both possibilities.
505
+ This function centralizes the resolution so every caller (for example the code which passes the variables into the
506
+ build-container) obtains identical values instead of re-implementing the resolution-logic."""
507
+ required_names: list[str] = self.get_required_environment_variable_names(repository)
508
+ if len(required_names) == 0:
509
+ return {}
510
+ return self.resolve_environment_variables(required_names, f"the product '{self.get_product_name(repository)}' (declared in '{os.path.join(repository, '.ScriptCollection', 'ProductInformation.xml')}')")
511
+
512
+ @GeneralUtilities.check_arguments
513
+ def resolve_environment_variables(self, environment_variable_names: list[str], required_by: str) -> dict[str, str]:
514
+ """Resolves the values of the given environment-variables (see get_required_environment_variables for the sources and their
515
+ precedence). This is the same mechanism a codeunit-build uses for the variables a repository declares as required; it is available
516
+ separately so a tool which needs a value without having such a declaration (for example something which runs inside the
517
+ build-container) does not have to read the configuration or the environment on its own.
518
+ 'required_by' names the thing which needs the values and is used in the error-message when a value can not be determined."""
470
519
  result: dict[str, str] = {}
471
- files=[
472
- os.path.join(repository, ".ScriptCollection", "RequiredEnvVariables.local.csv"),
473
- os.path.join(repository, ".ScriptCollection", "RequiredEnvVariables.csv")
474
- ]
475
- for file in files:
476
- if not os.path.isfile(file):
477
- return result
478
- allowed_kinds = ["literal", "hostenvvariable", "file"]
479
- for entry in GeneralUtilities.read_csv_file(file, True):
480
- env_variable_name = entry[0]
481
- kind = entry[1]
482
- value = entry[2]
483
- GeneralUtilities.assert_condition(kind in allowed_kinds, f"Unknown kind '{kind}' for required environment-variable '{env_variable_name}' defined in '{file}'. Allowed values are: {', '.join(allowed_kinds)}.")
484
- if kind == "literal":
485
- resolved_value = value
486
- elif kind == "hostenvvariable":
487
- resolved_value = os.environ.get(value)
488
- GeneralUtilities.assert_condition(resolved_value is not None, f"The environment-variable '{env_variable_name}' defined in '{file}' is supposed to be taken from the host-environment-variable '{value}', but that environment-variable is not set.")
489
- elif kind == "file":
490
- value = os.path.expanduser(value)
491
- value_file = GeneralUtilities.resolve_relative_path(value, repository)
492
- GeneralUtilities.assert_file_exists(value_file, f"The environment-variable '{env_variable_name}' defined in '{file}' is supposed to be taken from the file '{value_file}', but that file does not exist.")
493
- resolved_value = GeneralUtilities.read_text_from_file(value_file).strip()
494
- else:
495
- raise ValueError(f"Unknown kind '{kind}' for required environment-variable '{env_variable_name}' defined in '{file}'. Allowed values are: {', '.join(allowed_kinds)}.")
496
- result[env_variable_name] = resolved_value
520
+ configuration_file: str = self.get_environment_variables_configuration_file()
521
+ entries: dict[str, tuple[str, str]] = self.__read_environment_variables_configuration_file(configuration_file)
522
+ for environment_variable_name in environment_variable_names:
523
+ if environment_variable_name in entries:
524
+ result[environment_variable_name] = self.__resolve_environment_variable_value(environment_variable_name, entries[environment_variable_name], configuration_file)
525
+ else:
526
+ value_from_environment: str = os.environ.get(environment_variable_name)
527
+ GeneralUtilities.assert_condition(GeneralUtilities.string_has_content(value_from_environment), f"The value of the environment-variable '{environment_variable_name}' which is required by {required_by} is unknown: it is not defined in '{configuration_file}' and it is not set in the environment. Add a line '{environment_variable_name};<kind>;<value>' to that file (allowed kinds are: {', '.join(TFCPS_Tools_General.__allowed_environment_variable_kinds)}) or provide the value as an environment-variable, which is how a build-pipeline usually provides it.")
528
+ result[environment_variable_name] = value_from_environment
497
529
  return result
498
530
 
531
+ @GeneralUtilities.check_arguments
532
+ def resolve_environment_variable(self, environment_variable_name: str, required_by: str) -> str:
533
+ """Resolves the value of a single environment-variable, see resolve_environment_variables."""
534
+ return self.resolve_environment_variables([environment_variable_name], required_by)[environment_variable_name]
535
+
536
+ @GeneralUtilities.check_arguments
537
+ def __read_environment_variables_configuration_file(self, configuration_file: str) -> dict[str, tuple[str, str]]:
538
+ """Reads the configuration-file which defines where the values of environment-variables come from (columns
539
+ 'EnvVariableName;Kind;Value') and returns a mapping of the name of the variable to its kind and its value.
540
+ The file is optional: if it does not exist, nothing is defined by it and all values have to come from the environment."""
541
+ result: dict[str, tuple[str, str]] = {}
542
+ if not os.path.isfile(configuration_file):
543
+ return result
544
+ for entry in GeneralUtilities.read_csv_file(configuration_file, True):
545
+ GeneralUtilities.assert_condition(2 < len(entry), f"Invalid line in '{configuration_file}': every line must have the 3 columns 'EnvVariableName;Kind;Value' but '{';'.join(entry)}' has {len(entry)}.")
546
+ #the value itself may contain the separator-character (for example in a literal value), so everything behind the second column belongs to the value.
547
+ result[entry[0]] = (entry[1], ";".join(entry[2:]))
548
+ return result
549
+
550
+ @GeneralUtilities.check_arguments
551
+ def __resolve_environment_variable_value(self, env_variable_name: str, entry: tuple[str, str], configuration_file: str) -> str:
552
+ """Resolves the value of an entry of the configuration-file. 'Kind' is one of 'literal' (the value is used as-is),
553
+ 'hostenvvariable' (the value is the name of an environment-variable which must be set on the current system) or 'file' (the value
554
+ is a path - '~' is expanded, a relative path is resolved against the configuration-folder - to a text-file whose content, without
555
+ surrounding whitespace, is used). A relative path is the recommended form for a secret-file, because it also resolves correctly
556
+ when the configuration-folder is mounted into a build-container."""
557
+ kind, value = entry
558
+ GeneralUtilities.assert_condition(kind in TFCPS_Tools_General.__allowed_environment_variable_kinds, f"Unknown kind '{kind}' for environment-variable '{env_variable_name}' defined in '{configuration_file}'. Allowed values are: {', '.join(TFCPS_Tools_General.__allowed_environment_variable_kinds)}.")
559
+ if kind == "literal":
560
+ return value
561
+ if kind == "hostenvvariable":
562
+ resolved_value = os.environ.get(value)
563
+ GeneralUtilities.assert_condition(resolved_value is not None, f"The environment-variable '{env_variable_name}' defined in '{configuration_file}' is supposed to be taken from the environment-variable '{value}', but that environment-variable is not set.")
564
+ return resolved_value
565
+ value_file = GeneralUtilities.resolve_relative_path(os.path.expanduser(value), os.path.dirname(configuration_file))
566
+ GeneralUtilities.assert_file_exists(value_file, f"The environment-variable '{env_variable_name}' defined in '{configuration_file}' is supposed to be taken from the file '{value_file}', but that file does not exist.")
567
+ return GeneralUtilities.read_text_from_file(value_file).strip()
568
+
569
+ @GeneralUtilities.check_arguments
570
+ def ensure_required_environment_variables_are_set(self, repository: str) -> None:
571
+ """Ensures that the environment-variables which the repository declares as required (see get_required_environment_variable_names)
572
+ are set in the environment of the current process, so every part of the build - including the sub-processes started for the
573
+ single codeunits - can rely on them without the caller having to specify them on every call.
574
+ This works the same way on a host, inside a build-container which gets the configuration-folder mounted and in a build-pipeline
575
+ which provides the values as environment-variables (see get_required_environment_variables)."""
576
+ required_environment_variable_names: list[str] = self.get_required_environment_variable_names(repository)
577
+ if len(required_environment_variable_names) == 0:
578
+ return
579
+ for environment_variable_name, environment_variable_value in self.get_required_environment_variables(repository).items():
580
+ os.environ[environment_variable_name] = environment_variable_value
581
+ self.__sc.log.log(f"Set the required environment-variables: {', '.join(required_environment_variable_names)}", LogLevel.Debug)
582
+
583
+ @GeneralUtilities.check_arguments
584
+ def get_declared_package_sources(self, technology: str) -> list[PackageSource]:
585
+ """Returns the package-sources which are declared for the given technology (for example 'CSharp') in the environment of the
586
+ current process. A source named '<sourcename>' is declared by the environment-variables 'Dependency_<technology>_<sourcename>_URL'
587
+ and - if the source requires authentication - 'Dependency_<technology>_<sourcename>_Username' and
588
+ 'Dependency_<technology>_<sourcename>_Password'.
589
+ Environment-variables are used because a package-source (and especially its credentials) must not be part of a repository. Which
590
+ values a machine uses is typically declared as required environment-variables of the product (see
591
+ get_required_environment_variable_names), so that the values are resolved from the user-specific configuration-file and are
592
+ available on the host as well as inside the build-container.
593
+ The names of environment-variables are treated case-insensitively because they are not case-sensitive on all operating-systems.
594
+ For the same reason the name of the source is normalized to lowercase: the case of the name of an environment-variable can not be
595
+ preserved on all operating-systems (on Windows they are always read in uppercase), and a source-name which differs depending on
596
+ the operating-system the build runs on would be registered twice in a configuration which is used by both."""
597
+ url_variable_pattern = re.compile(f"^Dependency_{re.escape(technology)}_(.+)_URL$", re.IGNORECASE)
598
+ environment_variables: dict[str, str] = {name.lower(): value for name, value in os.environ.items()}
599
+ result: list[PackageSource] = []
600
+ for environment_variable_name, environment_variable_value in os.environ.items():
601
+ match = url_variable_pattern.match(environment_variable_name)
602
+ if match is None:
603
+ continue
604
+ source_name: str = match.group(1).lower()
605
+ if not GeneralUtilities.string_has_content(environment_variable_value):
606
+ continue
607
+ username: str = environment_variables.get(f"dependency_{technology}_{source_name}_username".lower())
608
+ password: str = environment_variables.get(f"dependency_{technology}_{source_name}_password".lower())
609
+ result.append(PackageSource(source_name, environment_variable_value.strip(), username, password))
610
+ result.sort(key=lambda package_source: package_source.name)#sorted so the order (and therefore the log-output) is deterministic
611
+ return result
612
+
613
+ @GeneralUtilities.check_arguments
614
+ def get_custom_script_file(self, filename: str) -> str:
615
+ """Returns the path of an optional user-specific script in '~/.ScriptCollection/TFCPS'. These scripts are located outside of any
616
+ repository on purpose: they contain machine-specific preparation-steps which must not be part of a product's sourcecode."""
617
+ return os.path.join(GeneralUtilities.get_scriptcollection_configuration_folder(), "TFCPS", filename)
618
+
619
+ @GeneralUtilities.check_arguments
620
+ def get_folder_of_custom_scripts_in_container(self) -> str:
621
+ """Returns the folder inside the build-container into which the custom scripts of the host are mounted. It is an own folder
622
+ (and not the configuration-folder of the container-user) because the home-folder inside the container depends on the user the
623
+ image runs as, while this path is defined by the mount and is therefore identical for both sides."""
624
+ return "/Workspace/CustomScripts"
625
+
626
+ @GeneralUtilities.check_arguments
627
+ def run_custom_script_if_available(self, script_file: str, arguments: list[str]) -> None:
628
+ """Runs the given optional script if it exists. The script is run in its own folder so it can use files located next to it."""
629
+ if not os.path.isfile(script_file):
630
+ return
631
+ self.__sc.log.log(f"Run custom script \"{script_file}\"...")
632
+ self.__sc.run_program_argsasarray(GeneralUtilities.get_python_executable(), [os.path.basename(script_file)]+arguments, os.path.dirname(script_file), print_live_output=True)
633
+
499
634
  @GeneralUtilities.check_arguments
500
635
  def set_constant(self, codeunit_folder: str, constantname: str, constant_value: str, documentationsummary: str = None, constants_valuefile: str = None) -> None:
501
636
  self.assert_is_codeunit_folder(codeunit_folder)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptcollection
3
- Version: 4.3.56
3
+ Version: 4.3.58
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
1
  ScriptCollection/AnionBuildPlatform.py,sha256=GP-jnb1GbvT8jzlH-cqnxgOzBzeUdiaWnDXtKNjsxiA,12153
2
2
  ScriptCollection/CertificateUpdater.py,sha256=dR5JpJDlZdjD4_pgMz7zCrt1IM7VfatmK6pULSczxQw,9693
3
- ScriptCollection/Executables.py,sha256=x91j_zkKezLekL7i7eiR_KNbV4N5HdltlhanwNXP5AI,67593
4
- ScriptCollection/GeneralUtilities.py,sha256=SBP37EyUcU0_x0-XV5zlwi557AlZssU1QXrKIhkdTIs,72145
3
+ ScriptCollection/Executables.py,sha256=qnL7sUN_yHnQ3jlS2_OjC4Blp9mcxC5q0VXFUSfqZLU,70211
4
+ ScriptCollection/GeneralUtilities.py,sha256=SmN5PV0vI5TZZCjVulIrYRzdogxNAeTqQ27ZKb6gul0,72184
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=zVD-gZY85o8wiGFcpYAGNDl-tXaKzipl1Bkhqy2ois4,4681
10
10
  ScriptCollection/ProgramRunnerSudo.py,sha256=RXsiceQ8W6a8YDk_2BPscVbIAmDIpIxqe9WHBy2r4CM,5233
11
11
  ScriptCollection/SCLog.py,sha256=LdzSJy3NnnwYCCefz2h4tiTy4BjT8lOz3IBG_bMOg9E,4821
12
- ScriptCollection/ScriptCollectionCore.py,sha256=aLiQinyV_2Htwv5JMhcgKVwu7nk5_12FcRxxkZZ1ZKo,248810
12
+ ScriptCollection/ScriptCollectionCore.py,sha256=fJO9xg28OiiERt9mBD87SAb1IeMMrHYenOlYty2L_NE,247435
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=WO2M28c2tUwsXFNa2L9zqMhdlyObWm3qpPE0LdIs7SE,2315
@@ -33,24 +33,27 @@ ScriptCollection/Resources/Fonts/DejaVuSans-Oblique.ttf,sha256=SvdfoW7m061D4ezsQ
33
33
  ScriptCollection/Resources/Fonts/DejaVuSans.ttf,sha256=faGVp0xVvvmI0NSPlQi9XYSUJcF3Dbpde_xs6e2EiVQ,757076
34
34
  ScriptCollection/Resources/Fonts/LICENSE.txt,sha256=egg7E25k0GR5TDQZdR5cfdENL2TBCP5boWHq5eWVipM,8816
35
35
  ScriptCollection/Resources/MaintenanceSite/MaintenanceSite.html,sha256=CX9S1bdOz6xU2aGfr03tJRGczQrlpn-IeODc15d5kc0,232
36
+ ScriptCollection/TFCPS/PackageSource.py,sha256=tQoMbxrIbV3mYHKH2wgOoGzIHY1TvBH8EAFpWGhryrQ,1311
36
37
  ScriptCollection/TFCPS/SCTaskRunnerServer.py,sha256=rpuwSsQ6YQfZS2LGnvOH5ql8zs_-cHU4LQttS7XNT60,11272
37
- ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=H9FWlS6BPK-UWJXdWN686ePky4Hq-Q13T0Kx8HSJu7s,34990
38
+ ScriptCollection/TFCPS/TFCPS_BuildCodeUnitsHook.py,sha256=67_DQwoH5bhxxSmwtuAeoW1NOCMiLMzOy48OqlJX-KY,1744
39
+ ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=N-Wvxzwv_R8EVybjQjE7wXX-VpFLa_62LinWa57C_Wo,35345
38
40
  ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=Ll5EOkpVpPiFrM2mLeQXolaF7075IwgtnHXvfdpkH4k,9904
39
- ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=W_-sVAxBrpYZen_1YOGICRHmLvkMyfJ5iqk7FVvieUY,36106
41
+ ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=CY4qvckKYPkyYmuTiplDX0jCzsFWqTTXy6cq6yicKjk,44171
40
42
  ScriptCollection/TFCPS/TFCPS_CreateRelease.py,sha256=X2NgZgbOkJsdZ6wMHB_RuS_rQCuz5oQCqzYrxyXBN9Q,6680
41
43
  ScriptCollection/TFCPS/TFCPS_Generic.py,sha256=5vCFfDiU8bvfcnoKNs2ATS8nsl6mYXcIuX7XfYE0tvg,2116
42
44
  ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=zp7n0Li7GTi4tERDMgDcJ-o3m6131m31zvkat0lALEc,7781
43
45
  ScriptCollection/TFCPS/TFCPS_MergeToStable.py,sha256=jQ0B3yq45we-8a0KuNFMfXCk9MfzPpTv2QgDWMN34x4,22792
46
+ ScriptCollection/TFCPS/TFCPS_OCIImageSecretScan.py,sha256=rhw0glr4gZ5enG9faOD51xE4MMK1cIdNjUdaswiMsrY,14622
44
47
  ScriptCollection/TFCPS/TFCPS_PreBuildCodeunitsScript.py,sha256=JYiDqDsfVJQWS9xWMi_UzfXnXsJRnPRxAzFr82bUEvI,2370
45
48
  ScriptCollection/TFCPS/TFCPS_RemoteBuild.py,sha256=Z8Gw-j5I7VPafHEsVeQJ2gTTKVLAnnhwZhY8IVTi2Qk,11867
46
- ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=ETrDZQK2tsVd6PTv0pN2xl4nQnbiS11piNiRbMJ-bmk,133508
49
+ ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=lHTCO9gd-GsN95i4Wytb6KBYb6EAsAHhp106Tc2XFCM,146799
47
50
  ScriptCollection/TFCPS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
- ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=wS2yzYUmJ4m0cf6cBYVTHsiXSXfYhHoLFFy8x6yEQvY,19573
51
+ ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=iW1_5oE4EEThGa3QC_n8fuJFMQ5lkX_BlZ0jtmtC7sg,19474
49
52
  ScriptCollection/TFCPS/Docker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
53
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationBase.py,sha256=bT6Gd5pQpZCw4OQz6HWkPCSn5z__eUUEisABLDSxd0o,200
51
54
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationGenerate.py,sha256=QyjOfMY22JWCvKjMelHiDWbJiWqotOfebpJpgDUaoO4,237
52
55
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationNoGenerate.py,sha256=i0zEGehj0sttxjjZtoq2KFSKp_ulxVyWp_ZgAhIY_So,241
53
- ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=jPLgGKd0VzB6zsN8XhPnNhxMyxpHmAbGoe2a76GcTQY,46371
56
+ ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=oIJooRrhr3ZlBZ2uEviJ7xEB0AItW4I7e19Oa28MRA0,47184
54
57
  ScriptCollection/TFCPS/DotNet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
58
  ScriptCollection/TFCPS/Flutter/TFCPS_CodeUnitSpecific_Flutter.py,sha256=CwDBogG7Lg3IyywpCGta9gcaqWpgjENNXaupS19ZwTM,8751
56
59
  ScriptCollection/TFCPS/Flutter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -64,8 +67,8 @@ ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=Bd1gxCk9Fb
64
67
  ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
68
  ScriptCollection/TFCPS/Rust/TFCPS_CodeUnitSpecific_Rust.py,sha256=WhOsMpJxNGqnQGA3nJ99ruyqymxBeJxCcpK98zJduTo,1680
66
69
  ScriptCollection/TFCPS/Rust/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
67
- scriptcollection-4.3.56.dist-info/METADATA,sha256=1Nudt0yModh6hDsGleqO1Iedjd_NOg9N3VmN1MZi6Ww,7648
68
- scriptcollection-4.3.56.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
69
- scriptcollection-4.3.56.dist-info/entry_points.txt,sha256=SCaysPSowWjcCsPpNgVQIKYfo1I5BMiVI39LTWl4qDI,5915
70
- scriptcollection-4.3.56.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
71
- scriptcollection-4.3.56.dist-info/RECORD,,
70
+ scriptcollection-4.3.58.dist-info/METADATA,sha256=AR9f5bz8qgKOJpEuqiYPFRX5ITmM2WTk_LOZFL98I6c,7648
71
+ scriptcollection-4.3.58.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
72
+ scriptcollection-4.3.58.dist-info/entry_points.txt,sha256=52v0Kt6uaeQeDFjvc0Xcsd4YqQw2qKcs6GNgPO71pkU,5996
73
+ scriptcollection-4.3.58.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
74
+ scriptcollection-4.3.58.dist-info/RECORD,,
@@ -66,6 +66,7 @@ screname = ScriptCollection.Executables:Rename
66
66
  screplacesubstringsinfilenames = ScriptCollection.Executables:ReplaceSubstringsInFilenames
67
67
  scruncommandinfolder = ScriptCollection.Executables:RunCommandInFolder
68
68
  scsearchforsecrets = ScriptCollection.Executables:SearchForSecrets
69
+ scsearchforsecretsinimage = ScriptCollection.Executables:SearchForSecretsInImage
69
70
  scsearchinfiles = ScriptCollection.Executables:SearchInFiles
70
71
  scsetcontentoffile = ScriptCollection.Executables:SetContentOfFile
71
72
  scshow2faasqrcode = ScriptCollection.Executables:Show2FAAsQRCode