ScriptCollection 4.4.41__py3-none-any.whl → 4.4.42__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.
File without changes
File without changes
@@ -40,7 +40,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
40
40
  from .ProgramRunnerPopen import ProgramRunnerPopen
41
41
  from .SCLog import SCLog, LogLevel
42
42
 
43
- version = "4.4.41"
43
+ version = "4.4.42"
44
44
  __version__ = version
45
45
 
46
46
  class VSCodeWorkspaceShellTask:
@@ -245,15 +245,18 @@ class TFCPS_CodeUnit_BuildCodeUnits:
245
245
  "/Cache/",
246
246
  ]
247
247
  GeneralUtilities.write_lines_to_file(gitignore_file, lines)
248
+ self.sc.normalize_invisible_characters(gitignore_file)
248
249
 
249
250
  @GeneralUtilities.check_arguments
250
251
  def __ensure_global_gitignore_is_setup(self, repository_folder: str) -> None:
251
252
  """Ensures that "<repository>/.gitignore" exists and contains the expected entries."""
252
253
  gitignore_file = os.path.join(repository_folder, ".gitignore")
253
- lines = [
254
- "/.notes/",
255
- ]
256
- GeneralUtilities.write_lines_to_file(gitignore_file, lines)
254
+ GeneralUtilities.ensure_file_exists(gitignore_file)
255
+ existing_lines = GeneralUtilities.read_lines_from_file(gitignore_file)
256
+ if not "/.notes/" in existing_lines:
257
+ existing_lines.append("/.notes/")
258
+ GeneralUtilities.write_lines_to_file(gitignore_file, existing_lines)
259
+ self.sc.normalize_invisible_characters(gitignore_file)
257
260
 
258
261
 
259
262
  @GeneralUtilities.check_arguments
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptcollection
3
- Version: 4.4.41
3
+ Version: 4.4.42
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Author-email: Marius Göcke <marius.goecke@gmail.com>
6
6
  License-Expression: GPL-3.0-only
@@ -11,7 +11,7 @@ ScriptCollection/ProgramRunnerSudo.py,sha256=ot9Ib-plQ8wejR9M2XXfnx6GR-va9k8SH1g
11
11
  ScriptCollection/RepositoryDiagramGenerator.py,sha256=K_u2NW_p4ozdWD50irJEkkcDVa70TcUJpZN63TeXSLw,7092
12
12
  ScriptCollection/RepositoryHistoryAnalyzer.py,sha256=rD8eC5lMUe5MHmCBHfYft_G-N9IbvtsFGkU7EMwPjrY,5779
13
13
  ScriptCollection/SCLog.py,sha256=Fjf8Pdi63cXHGMxL_aI6A0dwGm7QIfrv3czjvpSUlaM,4705
14
- ScriptCollection/ScriptCollectionCore.py,sha256=azPvrjlx08-4xtMchrttbSTjMHYU2kXuprPsqBn8U4w,304508
14
+ ScriptCollection/ScriptCollectionCore.py,sha256=3S2Hc6FcD9wb9zXKNL2LwDwiXXUOCnihbaZ0Q0RUkmg,304508
15
15
  ScriptCollection/TestKind.py,sha256=jqLJwNvQeyea7SZf-UFzMC9pM0znv4do7FIC1xq8u9M,1672
16
16
  ScriptCollection/UnassignedVariablesCheck.py,sha256=8xNcp1D5HeOLO1a1NEerq2TsnpFhw7yzYPkaay-oisY,3804
17
17
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -38,7 +38,7 @@ ScriptCollection/TFCPS/SCTaskRunnerServer.py,sha256=tub8_1QBu0nWAaGnBWp2nErOW-SO
38
38
  ScriptCollection/TFCPS/TFCPS_BuildCodeUnitsHook.py,sha256=67_DQwoH5bhxxSmwtuAeoW1NOCMiLMzOy48OqlJX-KY,1744
39
39
  ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=umUfQDErp7xFLkDnSbQMxzUWnKtcGlrZnIvFcTpfGJs,40499
40
40
  ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=Mj9t1SyRpkYZE74cLsGWYv4xB89gXL2ld-RX3xvvGdw,9835
41
- ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=oTOEziFGpwVip5CwIKovoEErpRBGhaQPhBSEbBWgnfk,52521
41
+ ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=arrldxY8hyhQuAoRSAzfPS3oytmsfx6HyUCEwSL1eMs,52838
42
42
  ScriptCollection/TFCPS/TFCPS_CreateRelease.py,sha256=kpEmSnfzfgB4OjcCuS_X6jgW_ftcphxEnjjoLoAHTLY,6582
43
43
  ScriptCollection/TFCPS/TFCPS_Generic.py,sha256=mRBcf7XuNWOSXbZYc3NuJow18AMZ30D6Z-BtyNYfNcM,2072
44
44
  ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=Krt5oyGNcRAN3szsgU7LoTh8yVTOdHW-Kq7R9MDDV-Q,7673
@@ -72,8 +72,8 @@ ScriptCollection/TFCPS/Rust/TFCPS_CodeUnitSpecific_Rust.py,sha256=yyjWPMHQjPLkML
72
72
  ScriptCollection/TFCPS/Rust/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
73
  ScriptCollection/TFCPS/TypeScript/TFCPS_CodeUnitSpecific_TypeScript.py,sha256=ILVhJHvwG5TvPBBqSvyACYb7W9QnWrJpxKgHu8IQu4g,9249
74
74
  ScriptCollection/TFCPS/TypeScript/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
- scriptcollection-4.4.41.dist-info/METADATA,sha256=uV7sOZy7d0d9ggn1_pdiTMhfqd8bonPqy5XaG-tRpBQ,7646
76
- scriptcollection-4.4.41.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
77
- scriptcollection-4.4.41.dist-info/entry_points.txt,sha256=GNma7tN0J59EvK71su-G1w22RnZ05bXcPrELyLx3AL0,6151
78
- scriptcollection-4.4.41.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
79
- scriptcollection-4.4.41.dist-info/RECORD,,
75
+ scriptcollection-4.4.42.dist-info/METADATA,sha256=a8ZlfmbYNZGi1X49kx3KYkwn8WL5g78ohF5tTeoonKo,7646
76
+ scriptcollection-4.4.42.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
77
+ scriptcollection-4.4.42.dist-info/entry_points.txt,sha256=GNma7tN0J59EvK71su-G1w22RnZ05bXcPrELyLx3AL0,6151
78
+ scriptcollection-4.4.42.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
79
+ scriptcollection-4.4.42.dist-info/RECORD,,