ScriptCollection 4.0.15__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.
- ScriptCollection/ScriptCollectionCore.py +6 -3
- ScriptCollection/TFCPS/TFCPS_MergeToStable.py +1 -0
- {scriptcollection-4.0.15.dist-info → scriptcollection-4.0.17.dist-info}/METADATA +1 -1
- {scriptcollection-4.0.15.dist-info → scriptcollection-4.0.17.dist-info}/RECORD +7 -7
- {scriptcollection-4.0.15.dist-info → scriptcollection-4.0.17.dist-info}/WHEEL +0 -0
- {scriptcollection-4.0.15.dist-info → scriptcollection-4.0.17.dist-info}/entry_points.txt +0 -0
- {scriptcollection-4.0.15.dist-info → scriptcollection-4.0.17.dist-info}/top_level.txt +0 -0
@@ -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.
|
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"
|
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):
|
@@ -132,6 +132,7 @@ class TFCPS_MergeToStable:
|
|
132
132
|
self.sc.assert_no_uncommitted_changes(self.createRelease_configuration.reference_repo)
|
133
133
|
self.sc.git_commit(self.createRelease_configuration.build_repo,"Updated submodules")
|
134
134
|
|
135
|
+
self.sc.git_push_with_retry(self.createRelease_configuration.repository,self.createRelease_configuration.common_remote_name,self.createRelease_configuration.source_branch,self.createRelease_configuration.source_branch)
|
135
136
|
self.sc.git_push_with_retry(self.createRelease_configuration.repository,self.createRelease_configuration.common_remote_name,self.createRelease_configuration.target_branch,self.createRelease_configuration.target_branch)
|
136
137
|
self.sc.git_push_with_retry(self.createRelease_configuration.build_repo,self.createRelease_configuration.build_repo_remote_name,self.createRelease_configuration.build_repo_main_branch_name,self.createRelease_configuration.build_repo_main_branch_name)
|
137
138
|
self.sc.git_push_with_retry(self.createRelease_configuration.reference_repo,self.createRelease_configuration.reference_remote_name,self.createRelease_configuration.reference_repo_main_branch_name,self.createRelease_configuration.reference_repo_main_branch_name)
|
@@ -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=
|
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
|
@@ -17,7 +17,7 @@ ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnits.py,sha256=E40vZV3SisbatAXik
|
|
17
17
|
ScriptCollection/TFCPS/TFCPS_CreateRelease.py,sha256=GfyeOjgluMLCc3FbcxyKp5GoT5e9TKM8MJwM7LjEw8s,6460
|
18
18
|
ScriptCollection/TFCPS/TFCPS_Generic.py,sha256=O-0guM_LJCcZmPZJhMgTvXD2RXUJEBWWv6Bt6hDFhvM,1943
|
19
19
|
ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=9RXZ-PLO-uI8-CeRrQlpHowwF8sxDEi8nMzLZrs5TiA,7564
|
20
|
-
ScriptCollection/TFCPS/TFCPS_MergeToStable.py,sha256=
|
20
|
+
ScriptCollection/TFCPS/TFCPS_MergeToStable.py,sha256=AUM6hJDYmFzcP4wCwrn2htf3fTBK9mstxnLWWHaxxPE,22652
|
21
21
|
ScriptCollection/TFCPS/TFCPS_Tools_Dependencies.py,sha256=o7HI3ki3WWqlAiUsrh3Lky_w6UhYh9hdjYPGOhubQGA,414
|
22
22
|
ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=QsywKFqRQBHflDISwwRvLuP3JppNxHzhhuKS3ThPMm4,66111
|
23
23
|
ScriptCollection/TFCPS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -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.
|
38
|
-
scriptcollection-4.0.
|
39
|
-
scriptcollection-4.0.
|
40
|
-
scriptcollection-4.0.
|
41
|
-
scriptcollection-4.0.
|
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,,
|
File without changes
|
File without changes
|
File without changes
|