ScriptCollection 4.0.16__py3-none-any.whl → 4.0.17__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.
@@ -36,7 +36,7 @@ from .ProgramRunnerPopen import ProgramRunnerPopen
36
36
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
37
37
  from .SCLog import SCLog, LogLevel
38
38
 
39
- version = "4.0.16"
39
+ version = "4.0.17"
40
40
  __version__ = version
41
41
 
42
42
 
@@ -282,9 +282,12 @@ class ScriptCollectionCore:
282
282
  GeneralUtilities.retry_action(lambda: self.git_push(folder, remotename, localbranchname, remotebranchname, forcepush, pushalltags, verbosity), amount_of_attempts)
283
283
 
284
284
  @GeneralUtilities.check_arguments
285
- def git_push(self, folder: str, remotename: str, localbranchname: str, remotebranchname: str, forcepush: bool = False, pushalltags: bool = True, verbosity: LogLevel = LogLevel.Quiet) -> None:
285
+ def git_push(self, folder: str, remotename: str, localbranchname: str, remotebranchname: str, forcepush: bool = False, pushalltags: bool = True, verbosity: LogLevel = LogLevel.Quiet,resurse_submodules:bool=False) -> None:
286
286
  self.is_git_or_bare_git_repository(folder)
287
- argument = ["push", "--recurse-submodules=on-demand", remotename, f"{localbranchname}:{remotebranchname}"]
287
+ argument = ["push"]
288
+ if resurse_submodules:
289
+ argument = argument + ["--recurse-submodules=on-demand"]
290
+ argument = argument + [remotename, f"{localbranchname}:{remotebranchname}"]
288
291
  if (forcepush):
289
292
  argument.append("--force")
290
293
  if (pushalltags):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ScriptCollection
3
- Version: 4.0.16
3
+ Version: 4.0.17
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Home-page: https://github.com/anionDev/ScriptCollection
6
6
  Author: Marius Göcke
@@ -9,7 +9,7 @@ ScriptCollection/ProgramRunnerEpew.py,sha256=TJdDx9zIMSiCaXh8X-ekrMlbXfGtmd0Mmyx
9
9
  ScriptCollection/ProgramRunnerMock.py,sha256=uTu-aFle1W_oKjeQEmuPsFPQpvo0kRf2FrRjAPIwT5Y,37
10
10
  ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
11
11
  ScriptCollection/SCLog.py,sha256=dxGOI4E9lG5v9jk_LajXCkM5nghliCDV8YB8Ihn160s,4541
12
- ScriptCollection/ScriptCollectionCore.py,sha256=K8SA6_gxhxZ0fU7Wh9lhAakQBP8aPpnPjn-nd9Y-z6E,140490
12
+ ScriptCollection/ScriptCollectionCore.py,sha256=evbBvFLbRGXGJdJkXpVUG2UeUA8-CbT_-MlybTUgunc,140617
13
13
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=RuUmppxfmH1zvfP6n2KFtlQdg8POzmkNMqkQCI1MSOc,25817
15
15
  ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=mE6l0LsGMOI6IAD0B6iRbpD6QAGBsLmZ_jrtubRap7g,7225
@@ -34,8 +34,8 @@ ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py,sha256=80L0lRWoh6
34
34
  ScriptCollection/TFCPS/NodeJS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=vUt2CbjS0N10dr7OVDxppXvZmuiEsB_E7dkpZErOYQY,6821
36
36
  ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
- scriptcollection-4.0.16.dist-info/METADATA,sha256=35wCl7wyOZ9O53zIRjyjYC9GyFl-20QVm57G-m2FWPs,7688
38
- scriptcollection-4.0.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
39
- scriptcollection-4.0.16.dist-info/entry_points.txt,sha256=EBRDrnGDURysHNyK0Z0fPCnL7uCCO_Mxc6WYJ47KxAI,4234
40
- scriptcollection-4.0.16.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
41
- scriptcollection-4.0.16.dist-info/RECORD,,
37
+ scriptcollection-4.0.17.dist-info/METADATA,sha256=dQE1QcBRHRkiGBv87fO0JLbszqejKaMk5vUeUHsr-g0,7688
38
+ scriptcollection-4.0.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
39
+ scriptcollection-4.0.17.dist-info/entry_points.txt,sha256=EBRDrnGDURysHNyK0Z0fPCnL7uCCO_Mxc6WYJ47KxAI,4234
40
+ scriptcollection-4.0.17.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
41
+ scriptcollection-4.0.17.dist-info/RECORD,,