ScriptCollection 4.2.131__py3-none-any.whl → 4.2.133__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.
@@ -38,7 +38,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
38
38
  from .ProgramRunnerPopen import ProgramRunnerPopen
39
39
  from .SCLog import SCLog, LogLevel
40
40
 
41
- version = "4.2.131"
41
+ version = "4.2.133"
42
42
  __version__ = version
43
43
 
44
44
  class VSCodeWorkspaceShellTask:
@@ -281,13 +281,7 @@ class TFCPS_CodeUnit_BuildCodeUnits:
281
281
  image = self.tfcps_tools_general.oci_image_manager.get_registry_address_for_image_with_default_tag(self.repository, "Betterleaks")
282
282
  except Exception:
283
283
  image="ghcr.io/betterleaks/betterleaks:latest"
284
- if os.path.isdir(os.path.join(self.repository, ".git")):
285
- scan_args = ["git", "/repo"]
286
- if os.path.isfile(os.path.join(self.repository, ".git")):
287
- self.sc.log.log("Repository is a Git submodule (.git is a file); scanning working tree only (no history).", LogLevel.Warning)
288
- scan_args = ["dir", "/repo"] #usually the git-scan should be used here too but this does not work in a submodule yet, see https://github.com/betterleaks/betterleaks/issues/170
289
- else:
290
- scan_args = ["dir", "/repo"]
284
+ scan_args = ["dir", "/repo", "-v"]
291
285
  args = ["run", "--rm", "-v", f"{self.repository}:/repo", image] + scan_args
292
286
  result = self.sc.run_program_argsasarray("docker", args, throw_exception_if_exitcode_is_not_zero=False, print_live_output=self.sc.log.loglevel==LogLevel.Debug)
293
287
  if result[0] != 0:
@@ -665,6 +665,9 @@ class TFCPS_Tools_General:
665
665
  GeneralUtilities.ensure_directory_exists(target_folder)
666
666
  target_file = os.path.join(target_folder, "CodeUnits-Overview.plantuml")
667
667
  lines = ["@startuml CodeUnits-Overview"]
668
+ # Pin font so the rendered SVG is byte-identical across machines (Java/PlantUML's
669
+ # default 'sans-serif' otherwise resolves to different host fonts on Windows vs Linux).
670
+ lines.append('skinparam defaultFontName "DejaVu Sans"')
668
671
  lines.append(f"title CodeUnits of {project_name}")
669
672
 
670
673
  codeunits = self.get_codeunits(repository_folder)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptcollection
3
- Version: 4.2.131
3
+ Version: 4.2.133
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
@@ -9,7 +9,7 @@ ScriptCollection/ProgramRunnerMock.py,sha256=uTu-aFle1W_oKjeQEmuPsFPQpvo0kRf2FrR
9
9
  ScriptCollection/ProgramRunnerPopen.py,sha256=8tP0xWKeRYoGlaNB3iUh4o61O-tKtcxrS7IUqtU85C4,4091
10
10
  ScriptCollection/ProgramRunnerSudo.py,sha256=RXsiceQ8W6a8YDk_2BPscVbIAmDIpIxqe9WHBy2r4CM,5233
11
11
  ScriptCollection/SCLog.py,sha256=3zsTioEvoIjHUcaDuKkYbiHV8jnRxPvCGIAc1wWdSro,4812
12
- ScriptCollection/ScriptCollectionCore.py,sha256=53zwyIDWyGic3eOEnlR8II_MI4BSJG5cM-mReIalFoo,210348
12
+ ScriptCollection/ScriptCollectionCore.py,sha256=yxYWL4DWUtjlkoXNdIy-ld7M1HiLYyERIEK-eDfQWDk,210348
13
13
  ScriptCollection/UnassignedVariablesCheck.py,sha256=v59qLQ5RRvx31ouuCW7NWZj3McWENvGBPkV5ZGBmqJE,4344
14
14
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  ScriptCollection/OCIImages/AbstractImageHandler.py,sha256=o129UYDtLymCRjMZBP9Puaj19ueMHoNt6UTLspfnaRc,1758
@@ -27,13 +27,13 @@ ScriptCollection/Resources/CultureChooser/index.html,sha256=gxQzbrSp4WU52TqN-gcB
27
27
  ScriptCollection/Resources/MaintenanceSite/MaintenanceSite.html,sha256=CX9S1bdOz6xU2aGfr03tJRGczQrlpn-IeODc15d5kc0,232
28
28
  ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=sWnTspNrdwWFuPNX0dCZYFv7U0ggtUL_-iYqToaYSV4,28896
29
29
  ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=QFNqmnixlfzMFSCstZUK27PzOWevFvnK9EhIDozRKLE,9273
30
- ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=AVHQCgIQfDSkjvTW5lFQ0V9RAwiLIbaAsBxG9CL_8v4,20147
30
+ ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=i7bpkQaw5_g2517WXc0cwUHb9Vfq7q_51WklWsfqRxA,19631
31
31
  ScriptCollection/TFCPS/TFCPS_CreateRelease.py,sha256=X2NgZgbOkJsdZ6wMHB_RuS_rQCuz5oQCqzYrxyXBN9Q,6680
32
32
  ScriptCollection/TFCPS/TFCPS_Generic.py,sha256=5vCFfDiU8bvfcnoKNs2ATS8nsl6mYXcIuX7XfYE0tvg,2116
33
33
  ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=BsSV4a-NZY86MZ20d-_rYxNVAI4UzAfmEwXlRZ8qWQc,7685
34
34
  ScriptCollection/TFCPS/TFCPS_MergeToStable.py,sha256=QRm8n1qH8H_XbJhGCbzwdNr9KSEy0WkbG7ulpc4Md3U,22696
35
35
  ScriptCollection/TFCPS/TFCPS_PreBuildCodeunitsScript.py,sha256=JYiDqDsfVJQWS9xWMi_UzfXnXsJRnPRxAzFr82bUEvI,2370
36
- ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=PsvFjsvsHJ6wRJld2MHUh2F4hLKk91yBj7XeDBYspAA,111129
36
+ ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=F7_bGmbEO9WDEBAIpSVLq-WTiFE5qhzNcbULw4CaTiM,111379
37
37
  ScriptCollection/TFCPS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=wS2yzYUmJ4m0cf6cBYVTHsiXSXfYhHoLFFy8x6yEQvY,19573
39
39
  ScriptCollection/TFCPS/Docker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -54,8 +54,8 @@ ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=fqGhXNx8tK
54
54
  ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  ScriptCollection/TFCPS/Rust/TFCPS_CodeUnitSpecific_Rust.py,sha256=WhOsMpJxNGqnQGA3nJ99ruyqymxBeJxCcpK98zJduTo,1680
56
56
  ScriptCollection/TFCPS/Rust/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
57
- scriptcollection-4.2.131.dist-info/METADATA,sha256=ipp1-KPfoSU0bs2yliWUnJmjg141sLsB2zL7PPyhSM8,7697
58
- scriptcollection-4.2.131.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
59
- scriptcollection-4.2.131.dist-info/entry_points.txt,sha256=ySZ09rptnBxyfpU-K62zmoUFH-0xWZUxzoPScoXubrg,5045
60
- scriptcollection-4.2.131.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
61
- scriptcollection-4.2.131.dist-info/RECORD,,
57
+ scriptcollection-4.2.133.dist-info/METADATA,sha256=joV4voFshTGeU4NnyYqHF0Vqqe5fjNNKmXhY5Tk1G4k,7697
58
+ scriptcollection-4.2.133.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
59
+ scriptcollection-4.2.133.dist-info/entry_points.txt,sha256=ySZ09rptnBxyfpU-K62zmoUFH-0xWZUxzoPScoXubrg,5045
60
+ scriptcollection-4.2.133.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
61
+ scriptcollection-4.2.133.dist-info/RECORD,,