ScriptCollection 4.0.27__py3-none-any.whl → 4.0.29__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/AnionBuildPlatform.py +8 -5
- ScriptCollection/ScriptCollectionCore.py +1 -1
- {scriptcollection-4.0.27.dist-info → scriptcollection-4.0.29.dist-info}/METADATA +1 -1
- {scriptcollection-4.0.27.dist-info → scriptcollection-4.0.29.dist-info}/RECORD +7 -7
- {scriptcollection-4.0.27.dist-info → scriptcollection-4.0.29.dist-info}/WHEEL +0 -0
- {scriptcollection-4.0.27.dist-info → scriptcollection-4.0.29.dist-info}/entry_points.txt +0 -0
- {scriptcollection-4.0.27.dist-info → scriptcollection-4.0.29.dist-info}/top_level.txt +0 -0
@@ -49,6 +49,7 @@ class AnionBuildPlatform:
|
|
49
49
|
build_repo_folder:str=os.path.join(self.__configuration.build_repositories_folder,self.__configuration.project_to_build+"Build")
|
50
50
|
self.__sc.assert_is_git_repository(build_repo_folder)
|
51
51
|
repository:str=os.path.join(self.__configuration,self.__configuration.project_to_build+"Build","Submodules",self.__configuration.project_to_build)
|
52
|
+
self.__sc.assert_is_git_repository(repository)
|
52
53
|
self.__sc.assert_no_uncommitted_changes(build_repo_folder)
|
53
54
|
self.__sc.git_checkout(repository,self.__configuration.source_branch)
|
54
55
|
|
@@ -127,14 +128,16 @@ class TFCPS_AnionBuildPlatform_CLI:
|
|
127
128
|
if args.buildrepositoriesfolder is not None:
|
128
129
|
default_build_repositories_folder=args.buildrepositoriesfolder
|
129
130
|
|
130
|
-
|
131
|
-
|
131
|
+
current_folder=os.getcwd()
|
132
|
+
|
133
|
+
if default_build_repositories_folder is None:
|
132
134
|
if os.path.basename(current_folder).endswith("Build"):
|
133
135
|
default_build_repositories_folder=os.path.dirname(current_folder)
|
134
136
|
GeneralUtilities.assert_not_null(default_build_repositories_folder,"buildrepositoriesfolder is not set")
|
135
137
|
|
136
|
-
if
|
137
|
-
|
138
|
+
if default_project_to_build is None:
|
139
|
+
if os.path.basename(current_folder).endswith("Build"):
|
140
|
+
default_project_to_build=os.path.basename(current_folder)[:-len("Build")]
|
138
141
|
GeneralUtilities.assert_not_null(default_project_to_build,"projecttobuild is not set")
|
139
142
|
|
140
143
|
if args.verbosity is not None:
|
@@ -146,7 +149,7 @@ class TFCPS_AnionBuildPlatform_CLI:
|
|
146
149
|
|
147
150
|
if args.sourcebranch is not None:
|
148
151
|
default_source_branch=args.sourcebranch
|
149
|
-
GeneralUtilities.assert_not_null(
|
152
|
+
GeneralUtilities.assert_not_null(default_source_branch,"sourcebranch is not set")
|
150
153
|
|
151
154
|
if args.defaultremotename is not None:
|
152
155
|
default_remote_name=args.defaultremotename
|
@@ -1,4 +1,4 @@
|
|
1
|
-
ScriptCollection/AnionBuildPlatform.py,sha256=
|
1
|
+
ScriptCollection/AnionBuildPlatform.py,sha256=zji-jrb51Ur455O_JmHaHuUmp-RdzHSG_qxljzuw2Dk,8895
|
2
2
|
ScriptCollection/CertificateUpdater.py,sha256=GXPxmYaW-ufOqsiP9kUYdtI6eNg1-GzrrCqsZdwW_HY,9199
|
3
3
|
ScriptCollection/Executables.py,sha256=7Tsbk-1Oy-lgigyKQz5JGux_d5A5dBcRZG7OBBjPR6I,41868
|
4
4
|
ScriptCollection/GeneralUtilities.py,sha256=9Xd9aKPj3TkpVtdHXzFMILrRoXAfJCph69XRTstdsBo,49280
|
@@ -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=sYPWLsPSeTYeVebLrmL6NEtQwt7fUo_ytLdZRfzKv2I,140598
|
13
13
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
14
|
ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=Cj89Xhzf5CRSDVH_-0JachQMsPHfjkz8jtRi_BpiGvY,25979
|
15
15
|
ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=4rYKgTAga11NiDx8YUqz3K_Q4eX_n3kC6lvNdXEa24s,7389
|
@@ -35,8 +35,8 @@ ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py,sha256=dnuDlQXThF
|
|
35
35
|
ScriptCollection/TFCPS/NodeJS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
36
36
|
ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=q7msAxCb5VIZ-xhFg1MfzUvWomQRKYldqmW42KFhyMU,6868
|
37
37
|
ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
|
-
scriptcollection-4.0.
|
39
|
-
scriptcollection-4.0.
|
40
|
-
scriptcollection-4.0.
|
41
|
-
scriptcollection-4.0.
|
42
|
-
scriptcollection-4.0.
|
38
|
+
scriptcollection-4.0.29.dist-info/METADATA,sha256=N4ln3jWftWLDJ2zEtdylMeHZzd5Gv5NQu0q85a9HYYg,7688
|
39
|
+
scriptcollection-4.0.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
40
|
+
scriptcollection-4.0.29.dist-info/entry_points.txt,sha256=NeU26D6q7d8n2cmKQiOvHK21w1C7D2kxoNRJaKiyZ5w,4295
|
41
|
+
scriptcollection-4.0.29.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
42
|
+
scriptcollection-4.0.29.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|