ScriptCollection 4.4.4__py3-none-any.whl → 4.4.6__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.
- ScriptCollection/Executables.py +36 -4
- ScriptCollection/Resources/CultureChooser/CultureChooser.js +0 -0
- ScriptCollection/Resources/CultureChooser/index.html +0 -0
- ScriptCollection/Resources/Dependencies/JRE/Version.txt +0 -0
- ScriptCollection/Resources/Dependencies/OpenAPIGenerator/Version.txt +0 -0
- ScriptCollection/Resources/Dependencies/PlantUML/Version.txt +0 -0
- ScriptCollection/Resources/Fonts/DejaVuSans-Bold.ttf +0 -0
- ScriptCollection/Resources/Fonts/DejaVuSans-BoldOblique.ttf +0 -0
- ScriptCollection/Resources/Fonts/DejaVuSans-Oblique.ttf +0 -0
- ScriptCollection/Resources/Fonts/DejaVuSans.ttf +0 -0
- ScriptCollection/Resources/Fonts/LICENSE.txt +0 -0
- ScriptCollection/Resources/MaintenanceSite/MaintenanceSite.html +0 -0
- ScriptCollection/ScriptCollectionCore.py +1 -1
- ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py +62 -1
- ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py +71 -0
- ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py +60 -19
- ScriptCollection/TFCPS/TFCPS_Tools_General.py +2 -2
- {scriptcollection-4.4.4.dist-info → scriptcollection-4.4.6.dist-info}/METADATA +1 -1
- {scriptcollection-4.4.4.dist-info → scriptcollection-4.4.6.dist-info}/RECORD +11 -11
- {scriptcollection-4.4.4.dist-info → scriptcollection-4.4.6.dist-info}/entry_points.txt +1 -0
- {scriptcollection-4.4.4.dist-info → scriptcollection-4.4.6.dist-info}/WHEEL +0 -0
- {scriptcollection-4.4.4.dist-info → scriptcollection-4.4.6.dist-info}/top_level.txt +0 -0
ScriptCollection/Executables.py
CHANGED
|
@@ -312,14 +312,46 @@ def UpdateDependencies() -> int:
|
|
|
312
312
|
parser.add_argument('-v', '--verbosity', required=False, default=3, help=f"Sets the loglevel. Possible values: {verbosity_values}")
|
|
313
313
|
parser.add_argument('--targetenvironment', required=False, default="QualityCheck")
|
|
314
314
|
parser.add_argument('--additionalargumentsfile', required=False, default=None)
|
|
315
|
-
parser.add_argument("-
|
|
315
|
+
parser.add_argument("-n",'--nocache', required=False, default=False, action='store_true')
|
|
316
|
+
parser.add_argument('-c','--runincontainer', required=False, default=False, action='store_true')
|
|
317
|
+
parser.add_argument('-b','--basemountfolder', required=False, default=None, help="Only used if -c is set.")
|
|
316
318
|
args = parser.parse_args()
|
|
317
319
|
|
|
318
320
|
verbosity=LogLevel(int(args.verbosity))
|
|
319
321
|
repo:str=GeneralUtilities.resolve_relative_path(args.repositoryfolder,os.getcwd())
|
|
320
|
-
t:TFCPS_CodeUnit_BuildCodeUnits=TFCPS_CodeUnit_BuildCodeUnits(repo,verbosity,args.targetenvironment,args.additionalargumentsfile,not args.nocache,False,False)
|
|
321
|
-
|
|
322
|
-
|
|
322
|
+
t:TFCPS_CodeUnit_BuildCodeUnits=TFCPS_CodeUnit_BuildCodeUnits(repo,verbosity,args.targetenvironment,args.additionalargumentsfile,not args.nocache,False,False)
|
|
323
|
+
if args.runincontainer:
|
|
324
|
+
base_mount_folder:str=args.basemountfolder
|
|
325
|
+
if base_mount_folder is None:
|
|
326
|
+
base_mount_folder=repo
|
|
327
|
+
base_mount_folder:str=GeneralUtilities.resolve_relative_path(base_mount_folder,os.getcwd())
|
|
328
|
+
success, _ = t.update_dependencies_in_container(base_mount_folder)
|
|
329
|
+
return 0 if success else 1
|
|
330
|
+
else:
|
|
331
|
+
t.update_dependencies()
|
|
332
|
+
return 0
|
|
333
|
+
|
|
334
|
+
def UpdateDependenciesC() -> int:
|
|
335
|
+
parser = argparse.ArgumentParser()
|
|
336
|
+
parser.add_argument('-r','--repositoryfolder', required=False, default=".")
|
|
337
|
+
verbosity_values = ", ".join(f"{lvl.value}={lvl.name}" for lvl in LogLevel)
|
|
338
|
+
parser.add_argument('-v', '--verbosity', required=False, default=3, help=f"Sets the loglevel. Possible values: {verbosity_values}")
|
|
339
|
+
parser.add_argument('--targetenvironment', required=False, default="QualityCheck")
|
|
340
|
+
parser.add_argument('--additionalargumentsfile', required=False, default=None)
|
|
341
|
+
parser.add_argument("-n",'--nocache', required=False, default=False, action='store_true')
|
|
342
|
+
parser.add_argument('-b','--basemountfolder', required=False, default=None)
|
|
343
|
+
args = parser.parse_args()
|
|
344
|
+
|
|
345
|
+
GeneralUtilities.reconfigure_standard_input_and_outputs()
|
|
346
|
+
repo:str=GeneralUtilities.resolve_relative_path(args.repositoryfolder,os.getcwd())
|
|
347
|
+
verbosity=LogLevel(int(args.verbosity))
|
|
348
|
+
base_mount_folder:str=args.basemountfolder
|
|
349
|
+
if base_mount_folder is None:
|
|
350
|
+
base_mount_folder=repo
|
|
351
|
+
base_mount_folder:str=GeneralUtilities.resolve_relative_path(base_mount_folder,os.getcwd())
|
|
352
|
+
t:TFCPS_CodeUnit_BuildCodeUnits=TFCPS_CodeUnit_BuildCodeUnits(repo,verbosity,args.targetenvironment,args.additionalargumentsfile,not args.nocache,False,False)
|
|
353
|
+
success, _ = t.update_dependencies_in_container(base_mount_folder)
|
|
354
|
+
return 0 if success else 1
|
|
323
355
|
|
|
324
356
|
|
|
325
357
|
def GenerateCertificateAuthority() -> int:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -17,6 +17,8 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
17
17
|
csproj_file:bool = None
|
|
18
18
|
#the output of the dotnet-cli is localized. The language is set explicitly for the commands whose output gets parsed, because otherwise the parsing would only work on machines which are configured to use english.
|
|
19
19
|
__dotnet_cli_environment_variables:dict = {"DOTNET_CLI_UI_LANGUAGE": "en-US"}
|
|
20
|
+
#the only accepted form of a version of a package-reference: an exact version in square brackets. Everything else is a version-range.
|
|
21
|
+
__pinned_version_regex = re.compile(r"^\[[^,\[\]]+\]$")
|
|
20
22
|
|
|
21
23
|
def __init__(self,current_file:str,verbosity:LogLevel,targetenvironmenttype:str,use_cache:bool,is_pre_merge:bool):
|
|
22
24
|
super().__init__(current_file, verbosity,targetenvironmenttype,use_cache,is_pre_merge)
|
|
@@ -161,6 +163,33 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
161
163
|
return [self.__remove_carriage_returns_recursively(item) for item in value]
|
|
162
164
|
return value
|
|
163
165
|
|
|
166
|
+
@GeneralUtilities.check_arguments
|
|
167
|
+
def __get_lock_file_name(self, runtime: str) -> str:
|
|
168
|
+
"""Returns the name of the lock-file which belongs to the given runtime.
|
|
169
|
+
|
|
170
|
+
Every runtime needs its own lock-file: the lock-file records the set of runtime-identifiers it was created for, and a
|
|
171
|
+
restore in locked mode fails with NU1004 when that set differs from the one which is currently restored (the restore
|
|
172
|
+
gets exactly one runtime via "--runtime"). The name is relative, so NuGet resolves it per project - a restore over the
|
|
173
|
+
solution therefore creates one lock-file next to each of the two project-files instead of letting them collide."""
|
|
174
|
+
return f"packages.{runtime}.lock.json"
|
|
175
|
+
|
|
176
|
+
@GeneralUtilities.check_arguments
|
|
177
|
+
def __get_lock_file_arguments(self, codeunit_folder: str, codeunit_name: str, runtime: str) -> list[str]:
|
|
178
|
+
"""Returns the restore-arguments which pin the dependencies of the given runtime to the content of its lock-files.
|
|
179
|
+
|
|
180
|
+
Locked mode is only requested when the lock-file of every project of the codeunit already exists, because a restore in
|
|
181
|
+
locked mode can not create one. A codeunit which does not have them yet is restored without it and gets a warning, so
|
|
182
|
+
introducing the lock-files does not break the build of a codeunit which was not migrated yet."""
|
|
183
|
+
lock_file_name: str = self.__get_lock_file_name(runtime)
|
|
184
|
+
expected_lock_files: list[str] = [os.path.join(codeunit_folder, project_name, lock_file_name) for project_name in [codeunit_name, codeunit_name+"Tests"]]
|
|
185
|
+
missing_lock_files: list[str] = [lock_file for lock_file in expected_lock_files if not os.path.isfile(lock_file)]
|
|
186
|
+
result: list[str] = [f"-p:NuGetLockFilePath={lock_file_name}"]
|
|
187
|
+
if len(missing_lock_files) == 0:
|
|
188
|
+
result.append("--locked-mode")
|
|
189
|
+
else:
|
|
190
|
+
self._protected_sc.log.log(f"The dependencies of codeunit \"{codeunit_name}\" are not restored in locked mode for the runtime \"{runtime}\", because the following lock-file(s) do not exist yet: {', '.join(missing_lock_files)}. The restore creates them now; commit them so that the dependencies of this codeunit are pinned.", LogLevel.Warning)
|
|
191
|
+
return result
|
|
192
|
+
|
|
164
193
|
@GeneralUtilities.check_arguments
|
|
165
194
|
def __standardized_tasks_build_for_dotnet_build(self, csproj_file: str, originaloutputfolder: str, files_to_sign: dict[str, str], commitid: str, runtimes: list[str], target_environmenttype_mapping: dict[str, str], copy_license_file_to_target_folder: bool, repository_folder: str, codeunit_name: str) -> None:
|
|
166
195
|
self._protected_sc.assert_is_git_repository(repository_folder)
|
|
@@ -181,7 +210,7 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
181
210
|
GeneralUtilities.ensure_directory_does_not_exist(outputfolder)
|
|
182
211
|
self._protected_sc.run_program("dotnet", "clean", csproj_file_folder)
|
|
183
212
|
GeneralUtilities.ensure_directory_exists(outputfolder)
|
|
184
|
-
self._protected_sc.run_program_argsasarray("dotnet", ["restore", "--runtime", runtime], codeunit_folder,print_live_output=self.get_verbosity()==LogLevel.Debug)
|
|
213
|
+
self._protected_sc.run_program_argsasarray("dotnet", ["restore", "--runtime", runtime]+self.__get_lock_file_arguments(codeunit_folder, codeunit_name, runtime), codeunit_folder,print_live_output=self.get_verbosity()==LogLevel.Debug)
|
|
185
214
|
self._protected_sc.run_program_argsasarray("dotnet", ["build", "--no-restore", csproj_file_name, "-c", dotnet_build_configuration, "-o", outputfolder, "--runtime", runtime], csproj_file_folder,print_live_output=self.get_verbosity()==LogLevel.Debug)
|
|
186
215
|
if copy_license_file_to_target_folder:
|
|
187
216
|
license_file = os.path.join(repository_folder, "License.txt")
|
|
@@ -393,6 +422,7 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
393
422
|
hints: str = "\n".join(result1[2])
|
|
394
423
|
raise ValueError(f"'{csproj_file}' with content '{GeneralUtilities.read_text_from_file(csproj_file)}' does not match the standardized .csproj-file-format which is defined by the regex '{result1[1]}'.\n{hints}")
|
|
395
424
|
self.__check_csproj_urls(csproj_file)
|
|
425
|
+
self.__verify_that_all_package_references_are_pinned(csproj_file)
|
|
396
426
|
|
|
397
427
|
test_csproj_project_name = csproj_project_name+"Tests"
|
|
398
428
|
test_csproj_file = os.path.join(codeunit_folder, test_csproj_project_name, test_csproj_project_name+".csproj")
|
|
@@ -401,6 +431,35 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
401
431
|
hints: str = "\n".join(result2[2])
|
|
402
432
|
raise ValueError(f"'{test_csproj_file}' with content '{GeneralUtilities.read_text_from_file(test_csproj_file)}' does not match the standardized .csproj-file-format which is defined by the regex '{result2[1]}'.\n{hints}")
|
|
403
433
|
self.__check_csproj_urls(test_csproj_file)
|
|
434
|
+
self.__verify_that_all_package_references_are_pinned(test_csproj_file)
|
|
435
|
+
|
|
436
|
+
@GeneralUtilities.check_arguments
|
|
437
|
+
def __verify_that_all_package_references_are_pinned(self, csproj_file: str) -> None:
|
|
438
|
+
"""Ensures that every package-reference of the given project is pinned to exactly one version.
|
|
439
|
+
|
|
440
|
+
The version-attribute of a package-reference is a version-*range*, not a version: "1.2.3" means "at least 1.2.3".
|
|
441
|
+
NuGet resolves such a range to the lowest version which satisfies it - or, when exactly that version is not available
|
|
442
|
+
on the feed (unlisted, removed, incomplete mirror), silently to the next higher one. "[1.2.3]" means exactly 1.2.3,
|
|
443
|
+
so a version which is not available fails loudly instead of becoming a different version than the one which is
|
|
444
|
+
written in the project-file. This keeps the restore deterministic and makes the version which is deployed readable
|
|
445
|
+
from the source-code."""
|
|
446
|
+
root: etree._ElementTree = etree.parse(csproj_file)
|
|
447
|
+
not_pinned: list[str] = []
|
|
448
|
+
for package_reference in root.xpath("//PackageReference"):
|
|
449
|
+
#the attributes are read case-insensitively because msbuild reads them that way: a "version"-attribute is as
|
|
450
|
+
#effective as a "Version"-attribute, so a case-sensitive check would report a version which exists as missing.
|
|
451
|
+
attributes: dict[str, str] = {name.lower(): value for name, value in package_reference.attrib.items()}
|
|
452
|
+
package_name: str = attributes.get("include") or attributes.get("update") or "(package-reference without a name)"
|
|
453
|
+
if 0 < len(package_reference.xpath("*[translate(local-name(),'VERSION','version')='version']")):
|
|
454
|
+
not_pinned.append(f"{package_name}: the version is set as child-element; it must be set as attribute in the form Version=\"[<version>]\".")
|
|
455
|
+
continue
|
|
456
|
+
version: str = attributes.get("version")
|
|
457
|
+
if version is None:
|
|
458
|
+
not_pinned.append(f"{package_name}: no version is set at all, so the restore decides which version is used.")
|
|
459
|
+
elif self.__pinned_version_regex.match(version.strip()) is None:
|
|
460
|
+
not_pinned.append(f"{package_name}: the version \"{version}\" is a version-range, not a pinned version. Pin it in the form Version=\"[<version>]\".")
|
|
461
|
+
if 0 < len(not_pinned):
|
|
462
|
+
raise ValueError(f"The following package-reference(s) in \"{csproj_file}\" are not pinned to exactly one version:\n" + "\n".join(f" {entry}" for entry in not_pinned))
|
|
404
463
|
|
|
405
464
|
@GeneralUtilities.check_arguments
|
|
406
465
|
def __check_csproj_urls(self, csproj_file: str) -> None:
|
|
@@ -437,6 +496,7 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
437
496
|
<IsPackable>false<\\/IsPackable>
|
|
438
497
|
<PreserveCompilationContext>false<\\/PreserveCompilationContext>
|
|
439
498
|
<GenerateRuntimeConfigurationFiles>true<\\/GenerateRuntimeConfigurationFiles>
|
|
499
|
+
<RestorePackagesWithLockFile>true<\\/RestorePackagesWithLockFile>
|
|
440
500
|
<Copyright>([^<]+)<\\/Copyright>
|
|
441
501
|
<Description>{codeunit_description_regex}<\\/Description>
|
|
442
502
|
<PackageProjectUrl>https:\\/\\/([^<]+)<\\/PackageProjectUrl>
|
|
@@ -502,6 +562,7 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
502
562
|
<IsPackable>false<\\/IsPackable>
|
|
503
563
|
<PreserveCompilationContext>false<\\/PreserveCompilationContext>
|
|
504
564
|
<GenerateRuntimeConfigurationFiles>true<\\/GenerateRuntimeConfigurationFiles>
|
|
565
|
+
<RestorePackagesWithLockFile>true<\\/RestorePackagesWithLockFile>
|
|
505
566
|
<Copyright>([^<]+)<\\/Copyright>
|
|
506
567
|
<Description>{codeunit_name_regex}Tests is the test-project for {codeunit_name_regex}\\.<\\/Description>
|
|
507
568
|
<PackageProjectUrl>https:\\/\\/([^<]+)<\\/PackageProjectUrl>
|
|
@@ -20,10 +20,81 @@ class TFCPS_CodeUnitSpecific_Python_Functions(TFCPS_CodeUnitSpecific_Base):
|
|
|
20
20
|
GeneralUtilities.ensure_directory_does_not_exist(os.path.join(self.get_codeunit_folder(),"build"))
|
|
21
21
|
GeneralUtilities.ensure_directory_does_not_exist(os.path.join(self.get_codeunit_folder(),f"{self.get_codeunit_name()}.egg-info"))
|
|
22
22
|
GeneralUtilities.ensure_directory_exists(target_directory)
|
|
23
|
+
self.__check_compilable()
|
|
23
24
|
self._protected_sc.run_program(GeneralUtilities.get_python_executable(), f"-m build --wheel --outdir {target_directory}", codeunit_folder,print_live_output=self.get_verbosity()==LogLevel.Debug)
|
|
24
25
|
self.generate_bom_for_python_project()
|
|
25
26
|
self.copy_source_files_to_output_directory()
|
|
26
27
|
|
|
28
|
+
@GeneralUtilities.check_arguments
|
|
29
|
+
def __check_compilable(self) -> None:
|
|
30
|
+
self.__ensure_sourcecode_is_compilable_using_python_compile()
|
|
31
|
+
self.__ensure_sourcecode_has_no_errors_using_pylint()
|
|
32
|
+
|
|
33
|
+
@GeneralUtilities.check_arguments
|
|
34
|
+
def __ensure_sourcecode_has_no_errors_using_pylint(self) -> None:
|
|
35
|
+
"""Checks the sourcecode which goes into the wheel with pylint and raises when pylint reports a message
|
|
36
|
+
of the category error or fatal.
|
|
37
|
+
|
|
38
|
+
This finds the defects which the compile-check can not find, because they are not syntax-errors: a call
|
|
39
|
+
which does not pass an argument for a parameter which has no default-value (E1120), a name which is not
|
|
40
|
+
defined (E0602) and an attribute which the accessed object does not have (E1101), for example.
|
|
41
|
+
|
|
42
|
+
Only these two categories are checked: a convention-, refactor- or warning-message is a matter of style
|
|
43
|
+
and belongs to the linting-task, while an error- or a fatal-message means the sourcecode is broken,
|
|
44
|
+
which must not result in a wheel at all."""
|
|
45
|
+
codeunit_name = self.get_codeunit_name()
|
|
46
|
+
# The check runs in an isolated folder which only contains this codeunit, for the same reason as in
|
|
47
|
+
# "linting": otherwise a sibling-codeunit-source-folder of the repository would shadow the installed
|
|
48
|
+
# dependency-package of the same name while pylint resolves the imports, which would result in a
|
|
49
|
+
# false-positive import-error.
|
|
50
|
+
ignored_subfolders = ["Other", "__pycache__", "*.egg-info", "build", "dist", "venv", ".venv", ".pytest_cache", ".git"]
|
|
51
|
+
with tempfile.TemporaryDirectory(dir=GeneralUtilities.get_temp_folder()) as isolation_folder:
|
|
52
|
+
GeneralUtilities.copy_content_of_folder(self.get_codeunit_folder(), os.path.join(isolation_folder, codeunit_name), ignored_glob_patterms=ignored_subfolders)
|
|
53
|
+
pylint_configuration_file = os.path.join(self.get_repository_folder(), ".pylintrc")
|
|
54
|
+
if os.path.isfile(pylint_configuration_file):
|
|
55
|
+
GeneralUtilities.safe_copy(pylint_configuration_file, os.path.join(isolation_folder, ".pylintrc"))
|
|
56
|
+
# "--errors-only" suppresses every message whose category is not error or fatal, so the exitcode of
|
|
57
|
+
# pylint is only unequal to zero when such a message was found.
|
|
58
|
+
(exit_code, stdout, stderr, _) = self._protected_sc.run_program("pylint", f"--errors-only {codeunit_name}/{codeunit_name}", isolation_folder, throw_exception_if_exitcode_is_not_zero=False)
|
|
59
|
+
pylint_exitcode_for_a_usage_error: int = 32
|
|
60
|
+
if exit_code == pylint_exitcode_for_a_usage_error:
|
|
61
|
+
raise ValueError(f"Pylint could not be executed properly, so the sourcecode of the codeunit {codeunit_name} was not checked:\n{stdout}{stderr}")
|
|
62
|
+
if exit_code != 0:
|
|
63
|
+
raise ValueError(f"Pylint reported a message of the category error or fatal in the sourcecode of the codeunit {codeunit_name}, so no wheel was built:\n{stdout}{stderr}")
|
|
64
|
+
|
|
65
|
+
@GeneralUtilities.check_arguments
|
|
66
|
+
def __ensure_sourcecode_is_compilable_using_python_compile(self) -> None:
|
|
67
|
+
"""Checks every python-file which goes into the wheel and raises when one of them can not be compiled.
|
|
68
|
+
|
|
69
|
+
This check exists so that a codeunit whose sourcecode is broken does not result in a wheel at all. It is
|
|
70
|
+
done with the builtin "compile"-function instead of with a linter: "compile" parses the file and reports
|
|
71
|
+
a syntax-error without executing anything of it, so the check needs no further tool and can not have
|
|
72
|
+
side-effects. Importing the modules instead would find more, but it would run the code of every module.
|
|
73
|
+
Everything which is a matter of style belongs to the linting-task and is deliberately not checked here."""
|
|
74
|
+
codeunit_name = self.get_codeunit_name()
|
|
75
|
+
repository_folder = self.get_repository_folder()
|
|
76
|
+
source_folder = os.path.join(self.get_codeunit_folder(), codeunit_name)
|
|
77
|
+
errors: list[str] = []
|
|
78
|
+
for file in GeneralUtilities.get_all_files_of_folder(source_folder):
|
|
79
|
+
if not file.endswith(".py"):
|
|
80
|
+
continue
|
|
81
|
+
if self._protected_sc.file_is_git_ignored(os.path.relpath(file, repository_folder), repository_folder):
|
|
82
|
+
continue
|
|
83
|
+
try:
|
|
84
|
+
# The file is read as "utf-8-sig" so that a byte-order-mark is removed instead of being handed to
|
|
85
|
+
# "compile" as the first character, which would report a syntax-error although python itself
|
|
86
|
+
# accepts a sourcecode-file which starts with a byte-order-mark.
|
|
87
|
+
# The filename is passed so that it appears in the message of a syntax-error.
|
|
88
|
+
compile(GeneralUtilities.read_text_from_file(file, "utf-8-sig"), file, "exec")
|
|
89
|
+
except SyntaxError as exception:
|
|
90
|
+
errors.append(f'"{file}" (line {exception.lineno}): {exception.msg}')
|
|
91
|
+
except ValueError as exception:
|
|
92
|
+
# "compile" raises a ValueError instead of a SyntaxError when the sourcecode contains a
|
|
93
|
+
# null-byte, which is not a syntax-error but makes the file just as unusable.
|
|
94
|
+
errors.append(f'"{file}": {exception}')
|
|
95
|
+
if 0 < len(errors):
|
|
96
|
+
raise ValueError(f"The sourcecode of the codeunit {codeunit_name} can not be compiled, so no wheel was built:\n" + "\n".join(errors))
|
|
97
|
+
|
|
27
98
|
@GeneralUtilities.check_arguments
|
|
28
99
|
def generate_bom_for_python_project(self) -> None:
|
|
29
100
|
codeunit_folder: str=self.get_codeunit_folder()
|
|
@@ -36,6 +36,16 @@ class TFCPS_UpdateDependenciesHook(TFCPS_BuildCodeUnitsHook):
|
|
|
36
36
|
if os.path.isfile(os.path.join(update_dependencies_script_folder, "UpdateDependencies.py")):
|
|
37
37
|
self.__sc.log.log("Update dependencies of the repository...")
|
|
38
38
|
self.__sc.run_program(GeneralUtilities.get_python_executable(), "UpdateDependencies.py", update_dependencies_script_folder)
|
|
39
|
+
self.__ensure_changelog_is_there(repository)
|
|
40
|
+
|
|
41
|
+
@GeneralUtilities.check_arguments
|
|
42
|
+
def __ensure_changelog_is_there(self, repository: str) -> None:
|
|
43
|
+
if not self.__sc.git_repository_has_uncommitted_changes(repository):
|
|
44
|
+
return
|
|
45
|
+
changelog_file: str = os.path.join(repository, "Other", "Resources", "Changelog", f"v{self.__tfcps_tools_general.get_version_of_project(repository)}.md")
|
|
46
|
+
if os.path.isfile(changelog_file):
|
|
47
|
+
return
|
|
48
|
+
self.__tfcps_tools_general.create_changelog_entry(repository, "Updated dependencies.", False, False)
|
|
39
49
|
|
|
40
50
|
@GeneralUtilities.check_arguments
|
|
41
51
|
def run_after_codeunit_was_built(self, codeunit_build: TFCPS_CodeUnit_BuildCodeUnit) -> None:
|
|
@@ -46,6 +56,7 @@ class TFCPS_UpdateDependenciesHook(TFCPS_BuildCodeUnitsHook):
|
|
|
46
56
|
return
|
|
47
57
|
self.__sc.log.log(f"Update dependencies of codeunit {codeunit_name}...")
|
|
48
58
|
self.__sc.run_program(GeneralUtilities.get_python_executable(), "UpdateDependencies.py", os.path.join(codeunit_folder, "Other"))
|
|
59
|
+
self.__ensure_changelog_is_there(repository)
|
|
49
60
|
if self.__sc.git_repository_has_uncommitted_changes(repository):
|
|
50
61
|
#the update changed something, so it has to be verified that the codeunit is still buildable with the updated dependencies.
|
|
51
62
|
self.__sc.log.log(f"Build codeunit {codeunit_name} again to verify it is still buildable with the updated dependencies...")
|
|
@@ -311,20 +322,12 @@ class TFCPS_CodeUnit_BuildCodeUnits:
|
|
|
311
322
|
|
|
312
323
|
@GeneralUtilities.check_arguments
|
|
313
324
|
def build_codeunits_in_container(self,base_mount_folder:str) -> tuple[bool, str]:
|
|
314
|
-
|
|
315
|
-
#it may be the repository itself or any parent-folder of it, which allows the caller to mount not only the repository but the whole surrounding folder-structure into the container.
|
|
316
|
-
normalized_base_mount_folder = os.path.normpath(base_mount_folder)
|
|
317
|
-
normalized_repository = os.path.normpath(self.repository)
|
|
318
|
-
relative_repository_path = os.path.relpath(normalized_repository, normalized_base_mount_folder).replace(os.sep, "/")
|
|
319
|
-
GeneralUtilities.assert_condition(relative_repository_path == "." or not relative_repository_path.startswith(".."), f"The repository '{self.repository}' is not located inside the base-mount-folder '{base_mount_folder}'.")
|
|
320
|
-
container_base_mount_folder = f"/Workspace/Project/{os.path.basename(normalized_base_mount_folder)}"
|
|
321
|
-
container_repository_folder = container_base_mount_folder if relative_repository_path == "." else f"{container_base_mount_folder}/{relative_repository_path}"
|
|
322
|
-
image = self.tfcps_tools_general.oci_image_manager.get_registry_address_for_image_with_default_tag(self.repository, "SCBuilder")
|
|
325
|
+
container_base_mount_folder, container_repository_folder = self.__get_folders_inside_container(base_mount_folder)
|
|
323
326
|
|
|
324
327
|
#build the scbuildcodeunits-arguments based on the current state (analogous to the arguments accepted by the scbuildcodeunits-executable). each token must be a separate argument because run_program_argsasarray passes every list-element verbatim and does not split on spaces.
|
|
325
328
|
scbuildcodeunits_arguments = ["scbuildcodeunits", "-r", container_repository_folder, "-v", "4"]
|
|
326
329
|
if not self.__use_cache:
|
|
327
|
-
scbuildcodeunits_arguments.append("-
|
|
330
|
+
scbuildcodeunits_arguments.append("-n")
|
|
328
331
|
if self.__is_pre_merge:
|
|
329
332
|
scbuildcodeunits_arguments.append("-p")
|
|
330
333
|
if self.__assert_no_new_changes:
|
|
@@ -335,12 +338,53 @@ class TFCPS_CodeUnit_BuildCodeUnits:
|
|
|
335
338
|
scbuildcodeunits_arguments.append("-f")
|
|
336
339
|
if GeneralUtilities.string_has_content(self.additionalargumentsfile):
|
|
337
340
|
scbuildcodeunits_arguments += ["-a", self.__translate_path_into_container(self.additionalargumentsfile, container_repository_folder)]
|
|
341
|
+
return self.__run_scriptcollection_executable_in_container(base_mount_folder, container_base_mount_folder, container_repository_folder, scbuildcodeunits_arguments, "Build codeunits in container")
|
|
342
|
+
|
|
343
|
+
@GeneralUtilities.check_arguments
|
|
344
|
+
def update_dependencies_in_container(self,base_mount_folder:str) -> tuple[bool, str]:
|
|
345
|
+
"""Runs the update of the dependencies inside the SCBuilder-image, analogous to build_codeunits_in_container.
|
|
346
|
+
|
|
347
|
+
The whole update runs in the container and not only the codeunit-builds which it triggers: update_dependencies
|
|
348
|
+
hands a hook-object to build_codeunits, and an object can not be passed to a program through
|
|
349
|
+
commandline-arguments, so a containerized inner build would build without updating anything."""
|
|
350
|
+
container_base_mount_folder, container_repository_folder = self.__get_folders_inside_container(base_mount_folder)
|
|
351
|
+
|
|
352
|
+
#only the arguments which scupdatedependencies really accepts are passed. It has no equivalent of the
|
|
353
|
+
#pre-merge-, assert-no-new-changes-, ready-to-merge- and fastlane-flags of scbuildcodeunits, so passing one
|
|
354
|
+
#of them would make the argument-parsing fail inside the container.
|
|
355
|
+
scupdatedependencies_arguments = ["scupdatedependencies", "-r", container_repository_folder, "-v", "4"]
|
|
356
|
+
if not self.__use_cache:
|
|
357
|
+
scupdatedependencies_arguments.append("-n")
|
|
358
|
+
if GeneralUtilities.string_has_content(self.additionalargumentsfile):
|
|
359
|
+
scupdatedependencies_arguments += ["--additionalargumentsfile", self.__translate_path_into_container(self.additionalargumentsfile, container_repository_folder)]
|
|
360
|
+
return self.__run_scriptcollection_executable_in_container(base_mount_folder, container_base_mount_folder, container_repository_folder, scupdatedependencies_arguments, "Update dependencies in container")
|
|
361
|
+
|
|
362
|
+
@GeneralUtilities.check_arguments
|
|
363
|
+
def __get_folders_inside_container(self, base_mount_folder: str) -> tuple[str, str]:
|
|
364
|
+
"""Returns the folder which the base-mount-folder is mounted to inside the container and the folder which the
|
|
365
|
+
repository has inside the container."""
|
|
366
|
+
#base_mount_folder is assumed to be an absolute path set correctly by the caller (see BuildCodeUnitsC in Executables.py, which defaults it to the repository itself).
|
|
367
|
+
#it may be the repository itself or any parent-folder of it, which allows the caller to mount not only the repository but the whole surrounding folder-structure into the container.
|
|
368
|
+
normalized_base_mount_folder = os.path.normpath(base_mount_folder)
|
|
369
|
+
normalized_repository = os.path.normpath(self.repository)
|
|
370
|
+
relative_repository_path = os.path.relpath(normalized_repository, normalized_base_mount_folder).replace(os.sep, "/")
|
|
371
|
+
GeneralUtilities.assert_condition(relative_repository_path == "." or not relative_repository_path.startswith(".."), f"The repository '{self.repository}' is not located inside the base-mount-folder '{base_mount_folder}'.")
|
|
372
|
+
container_base_mount_folder = f"/Workspace/Project/{os.path.basename(normalized_base_mount_folder)}"
|
|
373
|
+
container_repository_folder = container_base_mount_folder if relative_repository_path == "." else f"{container_base_mount_folder}/{relative_repository_path}"
|
|
374
|
+
return (container_base_mount_folder, container_repository_folder)
|
|
375
|
+
|
|
376
|
+
@GeneralUtilities.check_arguments
|
|
377
|
+
def __run_scriptcollection_executable_in_container(self, base_mount_folder: str, container_base_mount_folder: str, container_repository_folder: str, executable_arguments: list[str], log_message: str) -> tuple[bool, str]:
|
|
378
|
+
"""Runs one of the commandline-tools of ScriptCollection inside the SCBuilder-image. The tool and its
|
|
379
|
+
arguments are given by the caller; everything which is required to make the container able to run it (the
|
|
380
|
+
mounts, the environment-variables and the preparation-hooks) is done here."""
|
|
381
|
+
image = self.tfcps_tools_general.oci_image_manager.get_registry_address_for_image_with_default_tag(self.repository, "SCBuilder")
|
|
338
382
|
|
|
339
383
|
update_scriptcollection=True
|
|
340
384
|
update_argument:str=""
|
|
341
385
|
if update_scriptcollection:
|
|
342
386
|
update_argument="pip3 install scriptcollection --upgrade && "
|
|
343
|
-
|
|
387
|
+
executable_arguments=["bash","-c", f"{update_argument}scshowversion && "+" ".join(executable_arguments)]
|
|
344
388
|
|
|
345
389
|
#run the optional user-specific script which prepares this host for a container-build (for example to log in to the registry the image is pulled from).
|
|
346
390
|
#it runs before the environment-variables are resolved, so it can also create the files their values are read from.
|
|
@@ -358,7 +402,7 @@ class TFCPS_CodeUnit_BuildCodeUnits:
|
|
|
358
402
|
mount_arguments += ["-v", f"{custom_scripts_folder_for_inside_the_container}:{self.tfcps_tools_general.get_folder_of_custom_scripts_in_container()}"]
|
|
359
403
|
|
|
360
404
|
#pass the environment-variables which are declared as required in <repository>/.ScriptCollection/ProductInformation.xml into the container
|
|
361
|
-
#so they do not have to be specified explicitly on every
|
|
405
|
+
#so they do not have to be specified explicitly on every call. Their values are resolved from the user-specific
|
|
362
406
|
#configuration-file (see TFCPS_Tools_General.get_environment_variables_configuration_file), which only exists on the host.
|
|
363
407
|
#only the names are passed as arguments; the values are given to the docker-client through its own environment, because arguments
|
|
364
408
|
#are written to the log and are visible in the process-list of this host, which must not happen for a value which is typically a secret.
|
|
@@ -367,7 +411,7 @@ class TFCPS_CodeUnit_BuildCodeUnits:
|
|
|
367
411
|
for env_variable_name in required_environment_variables:
|
|
368
412
|
env_arguments += ["-e", env_variable_name]
|
|
369
413
|
|
|
370
|
-
#run
|
|
414
|
+
#run the tool inside the SCBuilder-image. base_mount_folder is mounted into the container (covering the repository and, for submodules, its real gitdir) and the docker-socket is forwarded because codeunit-builds often start containers (for example local test-services).
|
|
371
415
|
docker_arguments = [
|
|
372
416
|
"run", "--rm",
|
|
373
417
|
"-v", f"{base_mount_folder}:{container_base_mount_folder}",
|
|
@@ -375,8 +419,8 @@ class TFCPS_CodeUnit_BuildCodeUnits:
|
|
|
375
419
|
"-w", container_repository_folder,
|
|
376
420
|
] + mount_arguments + env_arguments + [
|
|
377
421
|
image,
|
|
378
|
-
] +
|
|
379
|
-
self.sc.log.log(f"
|
|
422
|
+
] + executable_arguments
|
|
423
|
+
self.sc.log.log(f"{log_message} using image \"{image}\"...")
|
|
380
424
|
image_address, image_tag = ScriptCollectionCore.split_image_address_and_tag(image)
|
|
381
425
|
self.sc.docker_pull(image_address, image_tag)
|
|
382
426
|
# the exitcode is evaluated by the caller (returned as part of the result-tuple), so the program-runner must not raise on a non-zero exitcode here.
|
|
@@ -660,10 +704,6 @@ class TFCPS_CodeUnit_BuildCodeUnits:
|
|
|
660
704
|
self.update_year_in_license_file()
|
|
661
705
|
self.sc.assert_is_git_repository(repository)
|
|
662
706
|
self.sc.assert_no_uncommitted_changes(repository)
|
|
663
|
-
#the update is done while the codeunits are built regularly (see TFCPS_UpdateDependenciesHook): a codeunit is built before its
|
|
664
|
-
#dependencies are updated (some programming-languages need that) and again afterwards if the update changed something. Using the
|
|
665
|
-
#regular build means the update also gets all preparation-steps of a build - especially the package-sources which are required to
|
|
666
|
-
#resolve dependencies which are not available on a public package-source.
|
|
667
707
|
self.build_codeunits(TFCPS_UpdateDependenciesHook(self.sc, self.tfcps_tools_general))
|
|
668
708
|
if self.sc.git_repository_has_uncommitted_changes(repository):
|
|
669
709
|
changelog_folder = os.path.join(repository, "Other", "Resources", "Changelog")
|
|
@@ -672,6 +712,7 @@ class TFCPS_CodeUnit_BuildCodeUnits:
|
|
|
672
712
|
if not os.path.isfile(changelog_file):
|
|
673
713
|
self.__ensure_changelog_file_is_added(repository, project_version)
|
|
674
714
|
self.build_codeunits()#check the codeunits are buildable at all with all updates together
|
|
715
|
+
self.sc.log.log("Build all codeunits again to ensure they are buildable with all updates together...")
|
|
675
716
|
self.sc.git_commit(repository, "Updated dependencies", stage_all_changes=True)
|
|
676
717
|
|
|
677
718
|
@GeneralUtilities.check_arguments
|
|
@@ -411,7 +411,7 @@ class TFCPS_Tools_General:
|
|
|
411
411
|
@GeneralUtilities.check_arguments
|
|
412
412
|
def set_default_constants(self, codeunit_folder: str) -> None:
|
|
413
413
|
self.assert_is_codeunit_folder(codeunit_folder)
|
|
414
|
-
self.
|
|
414
|
+
self.set_constant_for_currenttimestamp(codeunit_folder)
|
|
415
415
|
self.set_constant_for_commitid(codeunit_folder)
|
|
416
416
|
self.set_constant_for_commitdate(codeunit_folder)
|
|
417
417
|
self.set_constant_for_codeunitname(codeunit_folder)
|
|
@@ -420,7 +420,7 @@ class TFCPS_Tools_General:
|
|
|
420
420
|
self.set_constant_for_description(codeunit_folder)
|
|
421
421
|
|
|
422
422
|
@GeneralUtilities.check_arguments
|
|
423
|
-
def
|
|
423
|
+
def set_constant_for_currenttimestamp(self, codeunit_folder: str) -> None:
|
|
424
424
|
self.assert_is_codeunit_folder(codeunit_folder)
|
|
425
425
|
timestamp = GeneralUtilities.datetime_to_string_for_logfile_entry(GeneralUtilities.get_now().astimezone(timezone.utc),False)
|
|
426
426
|
self.set_constant(codeunit_folder, "CurrentTimestamp", timestamp)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scriptcollection
|
|
3
|
-
Version: 4.4.
|
|
3
|
+
Version: 4.4.6
|
|
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,6 +1,6 @@
|
|
|
1
1
|
ScriptCollection/AnionBuildPlatform.py,sha256=LF9b4f4iqgsjgXZjS0RHiEBw73tQANfu0O1dYGWNjy8,11948
|
|
2
2
|
ScriptCollection/CertificateUpdater.py,sha256=bD0VhKQsD2cNRTG1kzMkhgpd0BZw7igbG30goKw5p1A,9749
|
|
3
|
-
ScriptCollection/Executables.py,sha256=
|
|
3
|
+
ScriptCollection/Executables.py,sha256=Gl4sT5XMqdT9GmUSX4eGoakURwCS0CxufavdQsRqxjM,72517
|
|
4
4
|
ScriptCollection/GeneralUtilities.py,sha256=JeUZM4uHO85RAbx-MIYRXAVmklTw7UycVnrSxbXFROI,71417
|
|
5
5
|
ScriptCollection/HTTPMaintenanceOverheadHelper.py,sha256=TToNtyO1XzsMbBsTBf3o0xgOK0v4Jf03qw2Z0xb2nCk,2007
|
|
6
6
|
ScriptCollection/ProcessesRunner.py,sha256=Va9O-ohWoRfe4pO2gPBzc940gkM5BpP4Txcu1CmLOvg,1494
|
|
@@ -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=ot9Ib-plQ8wejR9M2XXfnx6GR-va9k8SH1gAC5kjaJ0,5123
|
|
11
11
|
ScriptCollection/SCLog.py,sha256=Fjf8Pdi63cXHGMxL_aI6A0dwGm7QIfrv3czjvpSUlaM,4705
|
|
12
|
-
ScriptCollection/ScriptCollectionCore.py,sha256=
|
|
12
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=IsdSBIUYEyvXpvdHEOrC0dCFuXK9Aot9UTy5DI7B_a0,261810
|
|
13
13
|
ScriptCollection/TestKind.py,sha256=EBTLR8yBz5VmWA2NZIpDTbQNg6tkfv_kAsIzEJ--mCI,1756
|
|
14
14
|
ScriptCollection/UnassignedVariablesCheck.py,sha256=v59qLQ5RRvx31ouuCW7NWZj3McWENvGBPkV5ZGBmqJE,4344
|
|
15
15
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -39,7 +39,7 @@ ScriptCollection/TFCPS/SCTaskRunnerServer.py,sha256=rpuwSsQ6YQfZS2LGnvOH5ql8zs_-
|
|
|
39
39
|
ScriptCollection/TFCPS/TFCPS_BuildCodeUnitsHook.py,sha256=67_DQwoH5bhxxSmwtuAeoW1NOCMiLMzOy48OqlJX-KY,1744
|
|
40
40
|
ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=ahRpBESHO9CMqjy6jGFTiPluUmt9biHlO6Wa0VEftJw,36835
|
|
41
41
|
ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=Mj9t1SyRpkYZE74cLsGWYv4xB89gXL2ld-RX3xvvGdw,9835
|
|
42
|
-
ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=
|
|
42
|
+
ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=PHu13UCn3xj3UBneGk5DDkYZ9iGdJ80IKIte3ewwKfI,49143
|
|
43
43
|
ScriptCollection/TFCPS/TFCPS_CreateRelease.py,sha256=kpEmSnfzfgB4OjcCuS_X6jgW_ftcphxEnjjoLoAHTLY,6582
|
|
44
44
|
ScriptCollection/TFCPS/TFCPS_Generic.py,sha256=mRBcf7XuNWOSXbZYc3NuJow18AMZ30D6Z-BtyNYfNcM,2072
|
|
45
45
|
ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=Krt5oyGNcRAN3szsgU7LoTh8yVTOdHW-Kq7R9MDDV-Q,7673
|
|
@@ -47,7 +47,7 @@ ScriptCollection/TFCPS/TFCPS_MergeToStable.py,sha256=oYEhz5ZWMnbu97_CcYEqdDxakUF
|
|
|
47
47
|
ScriptCollection/TFCPS/TFCPS_OCIImageSecretScan.py,sha256=rhw0glr4gZ5enG9faOD51xE4MMK1cIdNjUdaswiMsrY,14622
|
|
48
48
|
ScriptCollection/TFCPS/TFCPS_PreBuildCodeunitsScript.py,sha256=XLVsFTA1jvfDbZ7wYJgIdEByZhF_bYVbA5jkisuvK4k,2322
|
|
49
49
|
ScriptCollection/TFCPS/TFCPS_RemoteBuild.py,sha256=Z8Gw-j5I7VPafHEsVeQJ2gTTKVLAnnhwZhY8IVTi2Qk,11867
|
|
50
|
-
ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=
|
|
50
|
+
ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=6oi5vdng6wMx2inbj8KTwIFOPvZAO4ekIVLQcq4pZ9Y,162988
|
|
51
51
|
ScriptCollection/TFCPS/TFCPS_VisualRegressionTests.py,sha256=iTsgZgUGeJMpFgYC8NDMep7xb0Ad53VXlrA2Q1gD6rs,34565
|
|
52
52
|
ScriptCollection/TFCPS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
53
|
ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=919mNfzVRurTJhWi8WV0oEAFoH-yd4a6m2Rbxcf2oZ4,19927
|
|
@@ -55,7 +55,7 @@ ScriptCollection/TFCPS/Docker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
|
55
55
|
ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationBase.py,sha256=bT6Gd5pQpZCw4OQz6HWkPCSn5z__eUUEisABLDSxd0o,200
|
|
56
56
|
ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationGenerate.py,sha256=QyjOfMY22JWCvKjMelHiDWbJiWqotOfebpJpgDUaoO4,237
|
|
57
57
|
ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationNoGenerate.py,sha256=i0zEGehj0sttxjjZtoq2KFSKp_ulxVyWp_ZgAhIY_So,241
|
|
58
|
-
ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=
|
|
58
|
+
ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=omrV59RJhbwljRPzZch7Ldd8CvN4VvGPPmOZJ4sK8VM,54550
|
|
59
59
|
ScriptCollection/TFCPS/DotNet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
60
60
|
ScriptCollection/TFCPS/Flutter/TFCPS_CodeUnitSpecific_Flutter.py,sha256=cAE_OFJBU0M3L2Ov5PUUMH7aOVVzKtnKlFoXSw43fng,8759
|
|
61
61
|
ScriptCollection/TFCPS/Flutter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -65,14 +65,14 @@ ScriptCollection/TFCPS/Maven/TFCPS_CodeUnitSpecific_Maven.py,sha256=HDZlU70lF4nx
|
|
|
65
65
|
ScriptCollection/TFCPS/Maven/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
66
66
|
ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py,sha256=pZGICeWX7aqO2NTZS1e9NJR6H23cev2aL6qZqO-UYHo,14004
|
|
67
67
|
ScriptCollection/TFCPS/NodeJS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
68
|
-
ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=
|
|
68
|
+
ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=Wi9anRljuvW1-UplYhI_QNR2szxaitHiXVJ6p4nUEI8,21089
|
|
69
69
|
ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
70
|
ScriptCollection/TFCPS/Rust/TFCPS_CodeUnitSpecific_Rust.py,sha256=yyjWPMHQjPLkMLlfjrOjhEieFEW_PDm7RWbs4I1TWWY,12275
|
|
71
71
|
ScriptCollection/TFCPS/Rust/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
72
72
|
ScriptCollection/TFCPS/TypeScript/TFCPS_CodeUnitSpecific_TypeScript.py,sha256=5z990qyO5durX07xRWRwju1hl6wpjQAy2f-yRwJ-7s0,11856
|
|
73
73
|
ScriptCollection/TFCPS/TypeScript/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
74
|
-
scriptcollection-4.4.
|
|
75
|
-
scriptcollection-4.4.
|
|
76
|
-
scriptcollection-4.4.
|
|
77
|
-
scriptcollection-4.4.
|
|
78
|
-
scriptcollection-4.4.
|
|
74
|
+
scriptcollection-4.4.6.dist-info/METADATA,sha256=Yatq_B7nMbb-6DQ2a99Qd_rLXMDnlZ__yKyzGfjdbf8,7647
|
|
75
|
+
scriptcollection-4.4.6.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
76
|
+
scriptcollection-4.4.6.dist-info/entry_points.txt,sha256=Aj6CHuJxASMe52fK_O6-bNJ_uhxcDb-AgRxFOeTojyE,6069
|
|
77
|
+
scriptcollection-4.4.6.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
|
78
|
+
scriptcollection-4.4.6.dist-info/RECORD,,
|
|
@@ -77,6 +77,7 @@ scshowversion = ScriptCollection.Executables:ShowVersion
|
|
|
77
77
|
scsigncertificate = ScriptCollection.Executables:SignCertificate
|
|
78
78
|
scsyncxlffiles = ScriptCollection.Executables:SyncXlfFiles
|
|
79
79
|
scupdatedependencies = ScriptCollection.Executables:UpdateDependencies
|
|
80
|
+
scupdatedependenciesc = ScriptCollection.Executables:UpdateDependenciesC
|
|
80
81
|
scupdateimagesindockercomposefile = ScriptCollection.Executables:UpdateImagesInDockerComposeFile
|
|
81
82
|
scupdatenugetpackagesincsharpproject = ScriptCollection.Executables:UpdateNugetpackagesInCsharpProject
|
|
82
83
|
scupdatetimestampinfile = ScriptCollection.Executables:UpdateTimestampInFile
|
|
File without changes
|
|
File without changes
|