ScriptCollection 4.3.14__py3-none-any.whl → 4.3.16__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.
@@ -37,7 +37,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
37
37
  from .ProgramRunnerPopen import ProgramRunnerPopen
38
38
  from .SCLog import SCLog, LogLevel
39
39
 
40
- version = "4.3.14"
40
+ version = "4.3.16"
41
41
  __version__ = version
42
42
 
43
43
  class VSCodeWorkspaceShellTask:
@@ -151,5 +151,5 @@ class TFCPS_CodeUnit_BuildCodeUnit:
151
151
 
152
152
  @GeneralUtilities.check_arguments
153
153
  def update_dependencies(self) -> None:
154
- self.sc.log.log("Update dependencies...")
154
+ self.sc.log.log("Update dependencies for codeunit...")
155
155
  self.sc.run_program(GeneralUtilities.get_python_executable(), "UpdateDependencies.py", os.path.join(self.codeunit_folder, "Other"),print_live_output=True)
@@ -190,7 +190,11 @@ class TFCPS_CodeUnit_BuildCodeUnits:
190
190
  "-v", f"{staged_git_config_file}:{container_git_dir}/config",
191
191
  "-v", f"{staged_git_pointer_file}:{container_repository_folder}/.git",
192
192
  ]
193
-
193
+
194
+ test=True#TODO remove this
195
+ if test:
196
+ scbuildcodeunits_arguments=["bash","-c", "pip3 install scriptcollection --upgrade && scshowversion "+" ".join(scbuildcodeunits_arguments)]
197
+
194
198
  #run scbuildcodeunits inside the SCBuilder-image. the repository is mounted into the container and the docker-socket is forwarded because codeunit-builds often start containers (for example local test-services).
195
199
  docker_arguments = [
196
200
  "run", "--rm",
@@ -436,7 +440,7 @@ class TFCPS_CodeUnit_BuildCodeUnits:
436
440
  @GeneralUtilities.check_arguments
437
441
  def update_dependencies(self) -> None:
438
442
  repository=self.repository
439
- self.sc.log.log("Update dependencies...")
443
+ self.sc.log.log("Update dependencies for product...")
440
444
  self.update_year_in_license_file()
441
445
  self.sc.assert_is_git_repository(repository)
442
446
  self.sc.assert_no_uncommitted_changes(repository)
@@ -448,10 +452,12 @@ class TFCPS_CodeUnit_BuildCodeUnits:
448
452
  self.sc.log.log(f"Update dependencies of codeunit {codeunit_name}...")
449
453
  codeunit_folder=os.path.join(repository,codeunit_name)
450
454
  tFCPS_CodeUnit_BuildCodeUnit:TFCPS_CodeUnit_BuildCodeUnit = TFCPS_CodeUnit_BuildCodeUnit(codeunit_folder,self.sc.log.loglevel,"QualityCheck",None,True,False)
451
- tFCPS_CodeUnit_BuildCodeUnit.build_codeunit()#ensure requirements for updating are there (some programming-languages needs this)
455
+ if self.sc.git_repository_has_uncommitted_changes(repository):
456
+ tFCPS_CodeUnit_BuildCodeUnit.build_codeunit()#ensure requirements for updating are there (some programming-languages needs this)
452
457
  if self.tfcps_tools_general.codeunit_has_updatable_dependencies(os.path.join(codeunit_folder,f"{codeunit_name}.codeunit.xml")):
453
458
  self.sc.run_program(GeneralUtilities.get_python_executable(),"UpdateDependencies.py",os.path.join(codeunit_folder,"Other"))
454
- tFCPS_CodeUnit_BuildCodeUnit.build_codeunit()#check if codeunit is still buildable
459
+ if self.sc.git_repository_has_uncommitted_changes(repository):
460
+ tFCPS_CodeUnit_BuildCodeUnit.build_codeunit()#check if codeunit is still buildable
455
461
  if self.sc.git_repository_has_uncommitted_changes(repository):
456
462
  changelog_folder = os.path.join(repository, "Other", "Resources", "Changelog")
457
463
  project_version:str=self.tfcps_tools_general.get_version_of_project(repository)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptcollection
3
- Version: 4.3.14
3
+ Version: 4.3.16
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=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=yy2modKVSMxLQjgWJ4W3dsVul6_HuL2LoLTXQWEaLK0,230165
12
+ ScriptCollection/ScriptCollectionCore.py,sha256=iZrjDtqeduEZ2RWaJ4Ah4HzIsklq-ga3EQ38MYxZle4,230165
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,8 +34,8 @@ ScriptCollection/Resources/Fonts/LICENSE.txt,sha256=egg7E25k0GR5TDQZdR5cfdENL2TB
34
34
  ScriptCollection/Resources/MaintenanceSite/MaintenanceSite.html,sha256=CX9S1bdOz6xU2aGfr03tJRGczQrlpn-IeODc15d5kc0,232
35
35
  ScriptCollection/TFCPS/SCTaskRunnerServer.py,sha256=rpuwSsQ6YQfZS2LGnvOH5ql8zs_-cHU4LQttS7XNT60,11272
36
36
  ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=oICRtl85n2puWvchcJIkmLZL1BAylMbzH7ltBGWfqgY,31973
37
- ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=s4E20EkvFZpsg2c2Gu-D6kHXS0QIkpx_chawHNSnlnU,9891
38
- ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=4wOl_GSzlNwTo0OtMzLut4joglz3Sr0FkBrc5TlaAy0,28532
37
+ ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=Ll5EOkpVpPiFrM2mLeQXolaF7075IwgtnHXvfdpkH4k,9904
38
+ ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=8k8iPzVGzNOWjFWKscqHKs8dZphUHUUbAMsJpb6t3bU,28932
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
@@ -63,8 +63,8 @@ ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=Bd1gxCk9Fb
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.14.dist-info/METADATA,sha256=E2dsUenqfEnS20Uqq_-yTZ_4BLl-ASMQ82QHhGMW9ts,7816
67
- scriptcollection-4.3.14.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
68
- scriptcollection-4.3.14.dist-info/entry_points.txt,sha256=MwiP9P29EeSfjS19JOZmqbx8OzpZrUWpgMza3EffBs8,5812
69
- scriptcollection-4.3.14.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
70
- scriptcollection-4.3.14.dist-info/RECORD,,
66
+ scriptcollection-4.3.16.dist-info/METADATA,sha256=Na0obhanLSuj6MNzyCXYGm1fGO4s5Sk0Kj4P9lAMFfw,7816
67
+ scriptcollection-4.3.16.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
68
+ scriptcollection-4.3.16.dist-info/entry_points.txt,sha256=MwiP9P29EeSfjS19JOZmqbx8OzpZrUWpgMza3EffBs8,5812
69
+ scriptcollection-4.3.16.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
70
+ scriptcollection-4.3.16.dist-info/RECORD,,