ScriptCollection 4.2.139__py3-none-any.whl → 4.2.141__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.139"
41
+ version = "4.2.141"
42
42
  __version__ = version
43
43
 
44
44
  class VSCodeWorkspaceShellTask:
@@ -663,7 +663,7 @@ class TFCPS_Tools_General:
663
663
  def generate_codeunits_overview_diagram(self, repository_folder: str) -> None:
664
664
  self.__sc.log.log("Generate Codeunits-overview-diagram...")
665
665
  self.__sc.assert_is_git_repository(repository_folder)
666
- project_name: str = os.path.basename(repository_folder)
666
+ project_name: str = self.get_product_name(repository_folder)
667
667
  target_folder = os.path.join(repository_folder, "Other", "Reference", "Technical", "Diagrams")
668
668
  GeneralUtilities.ensure_directory_exists(target_folder)
669
669
  target_file = os.path.join(target_folder, "CodeUnits-Overview.plantuml")
@@ -1044,9 +1044,10 @@ class TFCPS_Tools_General:
1044
1044
  def set_constants_for_certificate_private_information(self, codeunit_folder: str) -> None:
1045
1045
  """Expects a certificate-resource and generates a constant for its sensitive information in hex-format"""
1046
1046
  self.assert_is_codeunit_folder(codeunit_folder)
1047
- repo_name:str=os.path.basename(GeneralUtilities.resolve_relative_path("..",codeunit_folder))
1047
+ repository_folder:str=GeneralUtilities.resolve_relative_path("..",codeunit_folder)
1048
+ product_name:str=self.get_product_name(repository_folder)
1048
1049
  resource_name: str = "DevelopmentCertificate"
1049
- filename: str = repo_name+"DevelopmentCertificate"
1050
+ filename: str = product_name+"DevelopmentCertificate"
1050
1051
  self.generate_constant_from_resource_by_filename(codeunit_folder, resource_name, f"{filename}.pfx", "PFX")
1051
1052
  self.generate_constant_from_resource_by_filename(codeunit_folder, resource_name, f"{filename}.password", "Password")
1052
1053
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptcollection
3
- Version: 4.2.139
3
+ Version: 4.2.141
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=Z-HhC_CRtU3HdQflNsabFh9IJOucHcXmxMDcf58fli0,4671
12
- ScriptCollection/ScriptCollectionCore.py,sha256=4CR9uIOxcRhIt54On-pivji7nPyuF2sPpSRpi_NG9kk,217136
12
+ ScriptCollection/ScriptCollectionCore.py,sha256=tWTdHA0yC4lSBMgCstxJYuwiYt1tl1-COYUa5dxNLpk,217136
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
@@ -34,7 +34,7 @@ ScriptCollection/TFCPS/TFCPS_Generic.py,sha256=5vCFfDiU8bvfcnoKNs2ATS8nsl6mYXcIu
34
34
  ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=BsSV4a-NZY86MZ20d-_rYxNVAI4UzAfmEwXlRZ8qWQc,7685
35
35
  ScriptCollection/TFCPS/TFCPS_MergeToStable.py,sha256=QRm8n1qH8H_XbJhGCbzwdNr9KSEy0WkbG7ulpc4Md3U,22696
36
36
  ScriptCollection/TFCPS/TFCPS_PreBuildCodeunitsScript.py,sha256=JYiDqDsfVJQWS9xWMi_UzfXnXsJRnPRxAzFr82bUEvI,2370
37
- ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=sOlLPqQCy7v1UfVY9e3Jx3ObdvMd1aB46b7a0TDl844,114009
37
+ ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=srsEawFeFHsGyEDQElDvHH9fV6tlEPVdXJcTZv0L2a8,114073
38
38
  ScriptCollection/TFCPS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=wS2yzYUmJ4m0cf6cBYVTHsiXSXfYhHoLFFy8x6yEQvY,19573
40
40
  ScriptCollection/TFCPS/Docker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -55,8 +55,8 @@ ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=fqGhXNx8tK
55
55
  ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  ScriptCollection/TFCPS/Rust/TFCPS_CodeUnitSpecific_Rust.py,sha256=WhOsMpJxNGqnQGA3nJ99ruyqymxBeJxCcpK98zJduTo,1680
57
57
  ScriptCollection/TFCPS/Rust/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
- scriptcollection-4.2.139.dist-info/METADATA,sha256=hh6qBl02UdKYajAPnPZUR7mMsA9dfZOsKZv8UIqq7qQ,7817
59
- scriptcollection-4.2.139.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
60
- scriptcollection-4.2.139.dist-info/entry_points.txt,sha256=kUHH9H7MmheMRWvygzYBAw76GwbBKKsSWLyWI-nnNKw,5292
61
- scriptcollection-4.2.139.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
62
- scriptcollection-4.2.139.dist-info/RECORD,,
58
+ scriptcollection-4.2.141.dist-info/METADATA,sha256=nL4RtugOkry8oj2ijNnxB9BZ-pf4ALb014AdQdcyWHk,7817
59
+ scriptcollection-4.2.141.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
60
+ scriptcollection-4.2.141.dist-info/entry_points.txt,sha256=kUHH9H7MmheMRWvygzYBAw76GwbBKKsSWLyWI-nnNKw,5292
61
+ scriptcollection-4.2.141.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
62
+ scriptcollection-4.2.141.dist-info/RECORD,,