ScriptCollection 4.3.46__py3-none-any.whl → 4.3.49__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.
Files changed (22) hide show
  1. ScriptCollection/Executables.py +1 -1
  2. ScriptCollection/Resources/CultureChooser/CultureChooser.js +0 -0
  3. ScriptCollection/Resources/CultureChooser/index.html +0 -0
  4. ScriptCollection/Resources/Dependencies/JRE/Version.txt +0 -0
  5. ScriptCollection/Resources/Dependencies/OpenAPIGenerator/Version.txt +0 -0
  6. ScriptCollection/Resources/Fonts/DejaVuSans-Bold.ttf +0 -0
  7. ScriptCollection/Resources/Fonts/DejaVuSans-BoldOblique.ttf +0 -0
  8. ScriptCollection/Resources/Fonts/DejaVuSans-Oblique.ttf +0 -0
  9. ScriptCollection/Resources/Fonts/DejaVuSans.ttf +0 -0
  10. ScriptCollection/Resources/Fonts/LICENSE.txt +0 -0
  11. ScriptCollection/Resources/MaintenanceSite/MaintenanceSite.html +0 -0
  12. ScriptCollection/ScriptCollectionCore.py +35 -1
  13. ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py +1 -3
  14. ScriptCollection/TFCPS/Flutter/TFCPS_CodeUnitSpecific_Flutter.py +3 -1
  15. ScriptCollection/TFCPS/Go/TFCPS_CodeUnitSpecific_Go.py +72 -72
  16. ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py +1 -10
  17. ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py +35 -12
  18. {scriptcollection-4.3.46.dist-info → scriptcollection-4.3.49.dist-info}/METADATA +1 -1
  19. {scriptcollection-4.3.46.dist-info → scriptcollection-4.3.49.dist-info}/RECORD +12 -12
  20. {scriptcollection-4.3.46.dist-info → scriptcollection-4.3.49.dist-info}/WHEEL +0 -0
  21. {scriptcollection-4.3.46.dist-info → scriptcollection-4.3.49.dist-info}/entry_points.txt +0 -0
  22. {scriptcollection-4.3.46.dist-info → scriptcollection-4.3.49.dist-info}/top_level.txt +0 -0
@@ -253,7 +253,7 @@ def BuildCodeUnits() -> int:
253
253
  parser.add_argument('-v', '--verbosity', required=False, default=3, help=f"Sets the loglevel. Possible values: {verbosity_values}")
254
254
  parser.add_argument('-e','--targetenvironment', required=False, default="QualityCheck")
255
255
  parser.add_argument('-a','--additionalargumentsfile', required=False, default=None)
256
- parser.add_argument("-c",'--nocache', required=False, default=False, action='store_true')
256
+ parser.add_argument("-n",'--nocache', required=False, default=False, action='store_true')
257
257
  parser.add_argument('-p','--ispremerge', required=False, default=False, action='store_true')
258
258
  parser.add_argument('-u','--assertnonewchanges', required=False, default=False, action='store_true')
259
259
  parser.add_argument('-m','--addreadytomergeflag', required=False, default=False, action='store_true')
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -39,7 +39,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
39
39
  from .ProgramRunnerPopen import ProgramRunnerPopen
40
40
  from .SCLog import SCLog, LogLevel
41
41
 
42
- version = "4.3.46"
42
+ version = "4.3.49"
43
43
  __version__ = version
44
44
 
45
45
  class VSCodeWorkspaceShellTask:
@@ -2548,6 +2548,17 @@ class ScriptCollectionCore:
2548
2548
  lines = ["/Cache/"]
2549
2549
  GeneralUtilities.write_lines_to_file(gitignore_file, lines)
2550
2550
 
2551
+ @GeneralUtilities.check_arguments
2552
+ def ensure_line_is_in_gitignore(self, repository_folder: str, line: str) -> None:
2553
+ """Ensures that "<repository>/.gitignore" exists and contains the given line. The line is appended if it is not contained yet."""
2554
+ gitignore_file = os.path.join(repository_folder, ".gitignore")
2555
+ if os.path.isfile(gitignore_file):
2556
+ existing_lines = GeneralUtilities.read_lines_from_file(gitignore_file)
2557
+ else:
2558
+ existing_lines = []
2559
+ if line not in existing_lines:
2560
+ GeneralUtilities.write_lines_to_file(gitignore_file, existing_lines+[line])
2561
+
2551
2562
  @GeneralUtilities.check_arguments
2552
2563
  def check_python_ast(self, path: str) -> list[tuple[str, int, int, str]]:
2553
2564
  """
@@ -3079,6 +3090,14 @@ TXDX
3079
3090
  if normalized_content != content:
3080
3091
  GeneralUtilities.write_binary_to_file(file, normalized_content)
3081
3092
 
3093
+ @GeneralUtilities.check_arguments
3094
+ def normalize_line_endings_of_files_in_folder(self, folder: str, file_extensions: list[str]) -> None:
3095
+ """Normalizes the line-endings of all not-git-ignored files inside 'folder' which have one of the given
3096
+ file-extensions. The file-extensions must be given without a leading dot (example: ["ts", "js"])."""
3097
+ for file_extension in file_extensions:
3098
+ for file in self.get_not_git_ignored_files_of_folder(folder, f".{file_extension}"):
3099
+ self.normalize_line_endings(file)
3100
+
3082
3101
  @GeneralUtilities.check_arguments
3083
3102
  def remove_trailing_linebreak(self, file: str) -> None:
3084
3103
  content = GeneralUtilities.read_binary_from_file(file)
@@ -3419,6 +3438,21 @@ OCR-content:
3419
3438
  arcname = os.path.relpath(file_path, start=folder)
3420
3439
  zipf.write(file_path, arcname)
3421
3440
 
3441
+ @GeneralUtilities.check_arguments
3442
+ def create_zip_archive_of_folders(self, folders:dict[str,str],zip_file:str) -> None:
3443
+ """Creates a zip-archive which contains the content of all given folders. The keys of 'folders' are the
3444
+ folder-names which are used inside the archive and the values are the paths of the folders which should be added."""
3445
+ GeneralUtilities.assert_file_does_not_exist(zip_file)
3446
+ with zipfile.ZipFile(zip_file, "w", zipfile.ZIP_DEFLATED) as zipf:
3447
+ for folder_name_in_archive, folder in folders.items():
3448
+ GeneralUtilities.assert_folder_exists(folder)
3449
+ folder = os.path.abspath(folder)
3450
+ for root, _, files in os.walk(folder):
3451
+ for file in files:
3452
+ file_path = os.path.join(root, file)
3453
+ arcname = os.path.join(folder_name_in_archive, os.path.relpath(file_path, start=folder))
3454
+ zipf.write(file_path, arcname)
3455
+
3422
3456
  @GeneralUtilities.check_arguments
3423
3457
  def start_local_test_service(self, file: str):
3424
3458
  example_folder = os.path.dirname(file)
@@ -328,9 +328,7 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
328
328
  codeunit_name = self.get_codeunit_name()
329
329
  codeunit_folder = self.get_codeunit_folder()
330
330
  # Normalize the line-endings of all non-git-ignored *.cs-files in the codeunit- and the test-project to LF.
331
- for cs_source_folder in [os.path.join(codeunit_folder, codeunit_name), os.path.join(codeunit_folder, codeunit_name + "Tests")]:
332
- for cs_file in self._protected_sc.get_not_git_ignored_files_of_folder(cs_source_folder, ".cs"):
333
- self._protected_sc.normalize_line_endings(cs_file)
331
+ self._protected_sc.normalize_line_endings_of_files_in_folder(codeunit_folder, ["cs"])
334
332
  self._protected_sc.format_xml_file(os.path.join(codeunit_folder, codeunit_name, codeunit_name + ".csproj"), add_xml_declaration=False)
335
333
  self._protected_sc.format_xml_file(os.path.join(codeunit_folder, codeunit_name + "Tests", codeunit_name + "Tests.csproj"), add_xml_declaration=False)
336
334
  self.standardized_task_verify_standard_format_csproj_files()
@@ -85,7 +85,9 @@ class TFCPS_CodeUnitSpecific_Flutter_Functions(TFCPS_CodeUnitSpecific_Base):
85
85
 
86
86
  @GeneralUtilities.check_arguments
87
87
  def linting(self) -> None:
88
- pass#TODO
88
+ codeunit_folder = self.get_codeunit_folder()
89
+ self._protected_sc.normalize_line_endings_of_files_in_folder(codeunit_folder, ["java","dart", "kt", "html"])
90
+ #TODO call the flutter-linting here when available
89
91
 
90
92
  @GeneralUtilities.check_arguments
91
93
  def do_common_tasks(self,current_codeunit_version:str )-> None:
@@ -1,72 +1,72 @@
1
- import os
2
- from lxml import etree
3
- from ...GeneralUtilities import GeneralUtilities
4
- from ...ScriptCollectionCore import ScriptCollectionCore
5
- from ...SCLog import LogLevel
6
- from ..TFCPS_CodeUnitSpecific_Base import TFCPS_CodeUnitSpecific_Base,TFCPS_CodeUnitSpecific_Base_CLI
7
-
8
- class TFCPS_CodeUnitSpecific_Go_Functions(TFCPS_CodeUnitSpecific_Base):
9
-
10
- def __init__(self,current_file:str,verbosity:LogLevel,targetenvironmenttype:str,use_cache:bool,is_pre_merge:bool):
11
- super().__init__(current_file, verbosity,targetenvironmenttype,use_cache,is_pre_merge)
12
-
13
- @GeneralUtilities.check_arguments
14
- def build(self) -> None:
15
- #TODO
16
- self.__generate_sbom_for_go_image()
17
-
18
- @GeneralUtilities.check_arguments
19
- def __generate_sbom_for_go_image(self) -> None:
20
- pass#TODO
21
-
22
- @GeneralUtilities.check_arguments
23
- def linting(self) -> None:
24
- pass#TODO
25
-
26
- @GeneralUtilities.check_arguments
27
- def __update_coverage_file(self,coverage_file:str) -> None:
28
- tree = etree.parse(coverage_file)
29
- root = tree.getroot()
30
- for package in root.findall(".//package"):
31
- package.set("name",self.get_codeunit_name())
32
- for cls in root.findall(".//class"):
33
- filename = cls.get("filename")
34
- if filename:
35
- cls.set("filename", f"./{filename}")
36
- cls.set("name",str(filename).rsplit("/", 1)[-1])
37
- tree.write(coverage_file, encoding="utf-8", xml_declaration=True, pretty_print=True)
38
-
39
- @GeneralUtilities.check_arguments
40
- def run_testcases(self) -> None:
41
- test_coverage_folder = os.path.join(self.get_codeunit_folder(), "Other", "Artifacts", "TestCoverage").replace("\\", "/")
42
- GeneralUtilities.ensure_directory_exists(test_coverage_folder)
43
- src_folder = GeneralUtilities.resolve_relative_path(self.get_codeunit_name(), self.get_codeunit_folder())
44
- sc: ScriptCollectionCore = ScriptCollectionCore()
45
- sc.run_program_argsasarray("go", ["install", "github.com/t-yuki/gocover-cobertura@latest"], src_folder)
46
- sc.run_program_argsasarray("go", ["test", "-coverprofile=coverage.out", "./..."], src_folder)
47
- coverage_file:str=f"{test_coverage_folder}/TestCoverage.xml"
48
- sc.run_program_argsasarray("sh", ["-c", f"gocover-cobertura < coverage.out > {coverage_file}"], src_folder)
49
- self.__update_coverage_file(coverage_file)
50
- self.run_testcases_common_post_task(self.get_repository_folder(),self.get_codeunit_name(),True,self.get_type_environment_type())
51
-
52
- def get_dependencies(self)->dict[str,set[str]]:
53
- return dict[str,set[str]]()#TODO
54
-
55
- @GeneralUtilities.check_arguments
56
- def get_available_versions(self,dependencyname:str)->list[str]:
57
- return []#TODO
58
-
59
- @GeneralUtilities.check_arguments
60
- def set_dependency_version(self,name:str,new_version:str)->None:
61
- raise ValueError(f"Operation is not implemented.")
62
-
63
- class TFCPS_CodeUnitSpecific_Go_CLI:
64
-
65
- @staticmethod
66
- @GeneralUtilities.check_arguments
67
- def parse(file:str)->TFCPS_CodeUnitSpecific_Go_Functions:
68
- parser=TFCPS_CodeUnitSpecific_Base_CLI.get_base_parser()
69
- #add custom parameter if desired
70
- args=parser.parse_args()
71
- result:TFCPS_CodeUnitSpecific_Go_Functions=TFCPS_CodeUnitSpecific_Go_Functions(file,LogLevel(int(args.verbosity)),args.targetenvironmenttype,not args.nocache,args.ispremerge)
72
- return result
1
+ import os
2
+ from lxml import etree
3
+ from ...GeneralUtilities import GeneralUtilities
4
+ from ...ScriptCollectionCore import ScriptCollectionCore
5
+ from ...SCLog import LogLevel
6
+ from ..TFCPS_CodeUnitSpecific_Base import TFCPS_CodeUnitSpecific_Base,TFCPS_CodeUnitSpecific_Base_CLI
7
+
8
+ class TFCPS_CodeUnitSpecific_Go_Functions(TFCPS_CodeUnitSpecific_Base):
9
+
10
+ def __init__(self,current_file:str,verbosity:LogLevel,targetenvironmenttype:str,use_cache:bool,is_pre_merge:bool):
11
+ super().__init__(current_file, verbosity,targetenvironmenttype,use_cache,is_pre_merge)
12
+
13
+ @GeneralUtilities.check_arguments
14
+ def build(self) -> None:
15
+ #TODO
16
+ self.__generate_sbom_for_go_image()
17
+
18
+ @GeneralUtilities.check_arguments
19
+ def __generate_sbom_for_go_image(self) -> None:
20
+ pass#TODO
21
+
22
+ @GeneralUtilities.check_arguments
23
+ def linting(self) -> None:
24
+ pass#TODO
25
+
26
+ @GeneralUtilities.check_arguments
27
+ def __update_coverage_file(self,coverage_file:str) -> None:
28
+ tree = etree.parse(coverage_file)
29
+ root = tree.getroot()
30
+ for package in root.findall(".//package"):
31
+ package.set("name",self.get_codeunit_name())
32
+ for cls in root.findall(".//class"):
33
+ filename = cls.get("filename")
34
+ if filename:
35
+ cls.set("filename", f"./{filename}")
36
+ cls.set("name",str(filename).rsplit("/", 1)[-1])
37
+ tree.write(coverage_file, encoding="utf-8", xml_declaration=True, pretty_print=True)
38
+
39
+ @GeneralUtilities.check_arguments
40
+ def run_testcases(self) -> None:
41
+ test_coverage_folder = os.path.join(self.get_codeunit_folder(), "Other", "Artifacts", "TestCoverage").replace("\\", "/")
42
+ GeneralUtilities.ensure_directory_exists(test_coverage_folder)
43
+ src_folder = GeneralUtilities.resolve_relative_path(self.get_codeunit_name(), self.get_codeunit_folder())
44
+ sc: ScriptCollectionCore = ScriptCollectionCore()
45
+ sc.run_program_argsasarray("go", ["install", "github.com/t-yuki/gocover-cobertura@latest"], src_folder)
46
+ sc.run_program_argsasarray("go", ["test", "-coverprofile=coverage.out", "./..."], src_folder)
47
+ coverage_file:str=f"{test_coverage_folder}/TestCoverage.xml"
48
+ sc.run_program_argsasarray("sh", ["-c", f"gocover-cobertura < coverage.out > {coverage_file}"], src_folder)
49
+ self.__update_coverage_file(coverage_file)
50
+ self.run_testcases_common_post_task(self.get_repository_folder(),self.get_codeunit_name(),True,self.get_type_environment_type())
51
+
52
+ def get_dependencies(self)->dict[str,set[str]]:
53
+ return dict[str,set[str]]()#TODO
54
+
55
+ @GeneralUtilities.check_arguments
56
+ def get_available_versions(self,dependencyname:str)->list[str]:
57
+ return []#TODO
58
+
59
+ @GeneralUtilities.check_arguments
60
+ def set_dependency_version(self,name:str,new_version:str)->None:
61
+ raise ValueError(f"Operation is not implemented.")
62
+
63
+ class TFCPS_CodeUnitSpecific_Go_CLI:
64
+
65
+ @staticmethod
66
+ @GeneralUtilities.check_arguments
67
+ def parse(file:str)->TFCPS_CodeUnitSpecific_Go_Functions:
68
+ parser=TFCPS_CodeUnitSpecific_Base_CLI.get_base_parser()
69
+ #add custom parameter if desired
70
+ args=parser.parse_args()
71
+ result:TFCPS_CodeUnitSpecific_Go_Functions=TFCPS_CodeUnitSpecific_Go_Functions(file,LogLevel(int(args.verbosity)),args.targetenvironmenttype,not args.nocache,args.ispremerge)
72
+ return result
@@ -25,16 +25,7 @@ class TFCPS_CodeUnitSpecific_NodeJS_Functions(TFCPS_CodeUnitSpecific_Base):
25
25
  @GeneralUtilities.check_arguments
26
26
  def linting(self) -> None:
27
27
  codeunit_folder = self.get_codeunit_folder()
28
- for ts_file in self._protected_sc.get_not_git_ignored_files_of_folder(codeunit_folder, ".ts"):
29
- self._protected_sc.normalize_line_endings(ts_file)
30
- for js_file in self._protected_sc.get_not_git_ignored_files_of_folder(codeunit_folder, ".js"):
31
- self._protected_sc.normalize_line_endings(js_file)
32
- for css_file in self._protected_sc.get_not_git_ignored_files_of_folder(codeunit_folder, ".css"):
33
- self._protected_sc.normalize_line_endings(css_file)
34
- for scss_file in self._protected_sc.get_not_git_ignored_files_of_folder(codeunit_folder, ".scss"):
35
- self._protected_sc.normalize_line_endings(scss_file)
36
- for sass_file in self._protected_sc.get_not_git_ignored_files_of_folder(codeunit_folder, ".sass"):
37
- self._protected_sc.normalize_line_endings(sass_file)
28
+ self._protected_sc.normalize_line_endings_of_files_in_folder(codeunit_folder, ["ts", "js", "css", "scss", "sass"])
38
29
  # The OpenAPI-generator writes its '.openapi-generator/FILES' metadata-file with the host's native
39
30
  # line-endings (CRLF on Windows, LF on Linux). Normalize it to LF like the other generated text-files
40
31
  # so the committed file does not drift between build-hosts.
@@ -49,6 +49,7 @@ class TFCPS_CodeUnit_BuildCodeUnits:
49
49
  product_information_file = os.path.join(self.repository, ".ScriptCollection", "ProductInformation.xml")
50
50
  GeneralUtilities.assert_file_exists(product_information_file, f"The file '{product_information_file}' does not exist.")
51
51
 
52
+
52
53
  #when the build runs inside a container, ensure the used SCBuilder-image is at least the version required by this repository (defined in .ScriptCollection/OCIImages/ImageDefinition.csv)
53
54
  if self.sc.is_runnning_in_container():
54
55
  scbuilder_version_environment_value = os.environ.get("SCBuilderVersion")
@@ -62,9 +63,10 @@ class TFCPS_CodeUnit_BuildCodeUnits:
62
63
  if self.is_pre_merge():
63
64
  GeneralUtilities.assert_condition(not self.__assert_no_new_changes,f"A pre-merge build can not be done with the assert-no-new-changes-option.")
64
65
 
65
- #disable autocrlf for this repository so git does not rewrite line-endings on checkout/commit. otherwise the line-endings normalized by __normalize_line_endings_of_common_files would be converted back to crlf, which results in spurious uncommitted changes (and therefore in failing assert-no-new-changes-builds) on windows.
66
66
  self.sc.git_set_local_configuration_value(self.repository, "core.autocrlf", "false")
67
67
 
68
+ #ensure the artifacts-folder of the repository is git-ignored so build-results never show up as uncommitted changes
69
+ self.sc.ensure_line_is_in_gitignore(self.repository, "Other/Resources/Artifacts")
68
70
 
69
71
  #ensure <repo>/.ScriptCollection/.gitignore is set up (ignores the cache-folder so cache-files never show up as uncommitted changes)
70
72
  self.sc.ensure_scriptcollection_gitignore_is_setup(self.repository)
@@ -135,7 +137,7 @@ class TFCPS_CodeUnit_BuildCodeUnits:
135
137
  if self.__assert_no_new_changes:
136
138
  self.sc.assert_no_uncommitted_changes(self.repository,"There are new uncommitted changes in the repository.")
137
139
 
138
- self.__log_hashes_of_artifacts(codeunits)
140
+ self.__create_artifacts_archive(codeunits)
139
141
 
140
142
  end_time:datetime=GeneralUtilities.get_now()
141
143
  duration=end_time-start_time
@@ -143,22 +145,43 @@ class TFCPS_CodeUnit_BuildCodeUnits:
143
145
  self.sc.log.log(GeneralUtilities.get_line())
144
146
 
145
147
  @GeneralUtilities.check_arguments
146
- def __log_hashes_of_artifacts(self, codeunits:list[str]) -> None:
147
- self.sc.log.log("Hashes of the artifacts of the codeunits:")
148
+ def __create_artifacts_archive(self, codeunits:list[str]) -> str:
149
+ product_name:str=self.tfcps_tools_general.get_product_name(self.repository)
150
+ product_version:str=self.tfcps_tools_general.get_version_of_project(self.repository)
151
+ target_folder:str=os.path.join(self.repository,"Other","Resources","Artifacts")
152
+ target_file_zip:str=os.path.join(target_folder,f"{product_name}_Artifacts_v{product_version}.zip")
153
+ target_file_infotxt:str=os.path.join(target_folder,f"{product_name}_Artifacts_v{product_version}.information.txt")
154
+
155
+ artifacts_folders:dict[str,str]={}
148
156
  for codeunit_name in codeunits:
149
157
  artifacts_folder = os.path.join(self.repository, codeunit_name, "Other", "Artifacts")
150
- if os.path.isdir(artifacts_folder):
151
- hash_of_artifacts:str = self.sc.create_hash_of_folder(artifacts_folder)
152
- self.sc.log.log(f" - {codeunit_name}: {hash_of_artifacts}")
153
- else:
154
- self.sc.log.log(f" - {codeunit_name}: (no artifacts-folder available)")
158
+ GeneralUtilities.assert_folder_exists(artifacts_folder,f"The artifacts-folder '{artifacts_folder}' of codeunit '{codeunit_name}' does not exist.")
159
+ artifacts_folders[codeunit_name]=artifacts_folder
160
+
161
+ GeneralUtilities.ensure_directory_exists(target_folder)
162
+ GeneralUtilities.ensure_file_does_not_exist(target_file_zip)#ensure the archive of a previous build gets replaced
163
+ self.sc.create_zip_archive_of_folders(artifacts_folders,target_file_zip)
164
+
165
+ hash_of_zip_file:str=GeneralUtilities.get_sha256_of_file(target_file_zip)
166
+ creation_timestamp:datetime=GeneralUtilities.get_now()
167
+ GeneralUtilities.ensure_file_does_not_exist(target_file_infotxt)
168
+ GeneralUtilities.ensure_file_exists(target_file_infotxt)
169
+ information_lines:list[str]=[
170
+ f"Product: {product_name}",
171
+ f"Version: {product_version}",
172
+ f"Artifacts-archive-hash: {hash_of_zip_file}",
173
+ f"Creation-timestamp: {GeneralUtilities.datetime_to_string_for_readable_entry(creation_timestamp,False)}",
174
+ ]
175
+ GeneralUtilities.write_lines_to_file(target_file_infotxt,information_lines)
176
+
177
+ self.sc.log.log(f"Created artifacts-archive \"{GeneralUtilities.normalize_path(os.path.relpath(target_file_zip, self.repository))}\":")
178
+ for information_line in information_lines:
179
+ self.sc.log.log(f" {information_line}")
155
180
 
156
181
  @GeneralUtilities.check_arguments
157
182
  def __normalize_line_endings_of_common_files(self) -> None:
158
183
  #TODO add option to define exceptions (means: files which should not be normalized).
159
- for text_file_extension in [".txt", ".md", ".json", ".xml", ".csv", ".yml", ".yaml"]:
160
- for text_file in self.sc.get_not_git_ignored_files_of_folder(self.repository, text_file_extension):
161
- self.sc.normalize_line_endings(text_file)
184
+ self.sc.normalize_line_endings_of_files_in_folder(self.repository, ["txt", "md", "json", "xml", "csv", "yml", "yaml", "gitignore"])
162
185
 
163
186
  @GeneralUtilities.check_arguments
164
187
  def is_working_branch(self)->bool:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptcollection
3
- Version: 4.3.46
3
+ Version: 4.3.49
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=GP-jnb1GbvT8jzlH-cqnxgOzBzeUdiaWnDXtKNjsxiA,12153
2
2
  ScriptCollection/CertificateUpdater.py,sha256=dR5JpJDlZdjD4_pgMz7zCrt1IM7VfatmK6pULSczxQw,9693
3
- ScriptCollection/Executables.py,sha256=7HPkyAqil8G0WO7kukInq0ineI9Gq3PnV4BYfVlOsQA,67063
3
+ ScriptCollection/Executables.py,sha256=cSnyAwQq3c79hKrARAh0MO3SH61iTtxwjfr0cchECro,67063
4
4
  ScriptCollection/GeneralUtilities.py,sha256=qYhrKkwbEewGIppuxYRmGhLP50C443tw7sBlwH7Mkbc,71606
5
5
  ScriptCollection/HTTPMaintenanceOverheadHelper.py,sha256=TToNtyO1XzsMbBsTBf3o0xgOK0v4Jf03qw2Z0xb2nCk,2007
6
6
  ScriptCollection/ProcessesRunner.py,sha256=yYaC95h40uszuZPggn2kK3qXIN2ZjGMCavo-NQ53ElQ,1537
@@ -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=vHxXBcT-LKI00_N54OK4wWMsNm7T84Zsrp5ENTkEvqM,246508
12
+ ScriptCollection/ScriptCollectionCore.py,sha256=_Se32qfQrDyQN9eAWKxZcVM4ImngQSmts5h0NCWYJWo,248737
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
@@ -35,7 +35,7 @@ ScriptCollection/Resources/MaintenanceSite/MaintenanceSite.html,sha256=CX9S1bdOz
35
35
  ScriptCollection/TFCPS/SCTaskRunnerServer.py,sha256=rpuwSsQ6YQfZS2LGnvOH5ql8zs_-cHU4LQttS7XNT60,11272
36
36
  ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=H9FWlS6BPK-UWJXdWN686ePky4Hq-Q13T0Kx8HSJu7s,34990
37
37
  ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=Ll5EOkpVpPiFrM2mLeQXolaF7075IwgtnHXvfdpkH4k,9904
38
- ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=ufnDoe_YIMGlB-kyW_1mOKXUOl93PdmkktcjLneoB_s,32292
38
+ ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=Rd6-pJccNZODKyTA6OQO6Pzzds-9cqCT1QjLatneW2c,33644
39
39
  ScriptCollection/TFCPS/TFCPS_CreateRelease.py,sha256=X2NgZgbOkJsdZ6wMHB_RuS_rQCuz5oQCqzYrxyXBN9Q,6680
40
40
  ScriptCollection/TFCPS/TFCPS_Generic.py,sha256=5vCFfDiU8bvfcnoKNs2ATS8nsl6mYXcIuX7XfYE0tvg,2116
41
41
  ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=zp7n0Li7GTi4tERDMgDcJ-o3m6131m31zvkat0lALEc,7781
@@ -49,22 +49,22 @@ ScriptCollection/TFCPS/Docker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
49
49
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationBase.py,sha256=bT6Gd5pQpZCw4OQz6HWkPCSn5z__eUUEisABLDSxd0o,200
50
50
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationGenerate.py,sha256=QyjOfMY22JWCvKjMelHiDWbJiWqotOfebpJpgDUaoO4,237
51
51
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationNoGenerate.py,sha256=i0zEGehj0sttxjjZtoq2KFSKp_ulxVyWp_ZgAhIY_So,241
52
- ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=X-yrZJBE3EvN4hciPeWZ9jkLs8dOXzNyriMUT1-GFk8,46587
52
+ ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=ovi0WKgNykkGVQBLI6F5IS3xUD53MxqOgZWF1W2RnCw,46368
53
53
  ScriptCollection/TFCPS/DotNet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
- ScriptCollection/TFCPS/Flutter/TFCPS_CodeUnitSpecific_Flutter.py,sha256=d8U-sIhsneMplYkG73BJRQQZh4uLoX7QiOhbnZNuOM8,8540
54
+ ScriptCollection/TFCPS/Flutter/TFCPS_CodeUnitSpecific_Flutter.py,sha256=CwDBogG7Lg3IyywpCGta9gcaqWpgjENNXaupS19ZwTM,8751
55
55
  ScriptCollection/TFCPS/Flutter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
- ScriptCollection/TFCPS/Go/TFCPS_CodeUnitSpecific_Go.py,sha256=kyx26AnT1-LySFA46wfJ9yZUKYdMWTD0U2XZfSQbuB0,3497
56
+ ScriptCollection/TFCPS/Go/TFCPS_CodeUnitSpecific_Go.py,sha256=2AEs28F9_MspXb4QABaSR3KxpU_uuTmrGQnVqF4b2ck,3425
57
57
  ScriptCollection/TFCPS/Go/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
58
  ScriptCollection/TFCPS/Maven/TFCPS_CodeUnitSpecific_Maven.py,sha256=WcWWtCV3GkAk53RIN_6rjXNvkKZ5i5hBEMCmPQo6j30,1685
59
59
  ScriptCollection/TFCPS/Maven/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
- ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py,sha256=i2msd3tmXaB8EWF3tIR5jwveIFlZcmeYXMde4UP32P4,14310
60
+ ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py,sha256=doXQZKwTh1AI3he0DHRzl3dDCbo3nPq4odmZR6u-JxQ,13579
61
61
  ScriptCollection/TFCPS/NodeJS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=Bd1gxCk9Fb6JO4XFk-sUWdn4bOvMJp1xpvN6wTKMh0Y,15890
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.46.dist-info/METADATA,sha256=CEzicWf-ylGhyuAkBXLTWkLRHpcWMg0tRpeCmzBagRQ,7648
67
- scriptcollection-4.3.46.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
68
- scriptcollection-4.3.46.dist-info/entry_points.txt,sha256=xWOFHGufgef8jsKQ3c2pFBfM_hjweFXuxfKmghQs-VI,5814
69
- scriptcollection-4.3.46.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
70
- scriptcollection-4.3.46.dist-info/RECORD,,
66
+ scriptcollection-4.3.49.dist-info/METADATA,sha256=w_a0cdJG9AoiMd86WlSwEJ-r6f1agZJRrIkWy5lhS1o,7648
67
+ scriptcollection-4.3.49.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
68
+ scriptcollection-4.3.49.dist-info/entry_points.txt,sha256=xWOFHGufgef8jsKQ3c2pFBfM_hjweFXuxfKmghQs-VI,5814
69
+ scriptcollection-4.3.49.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
70
+ scriptcollection-4.3.49.dist-info/RECORD,,