ScriptCollection 4.0.26__py3-none-any.whl → 4.0.28__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.
@@ -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,13 +128,15 @@ class TFCPS_AnionBuildPlatform_CLI:
127
128
  if args.buildrepositoriesfolder is not None:
128
129
  default_build_repositories_folder=args.buildrepositoriesfolder
129
130
 
130
- if default_project_to_build is None and default_build_repositories_folder is None:
131
+ if default_build_repositories_folder is None:
131
132
  current_folder=os.getcwd()
132
133
  if os.path.basename(current_folder).endswith("Build"):
133
134
  default_build_repositories_folder=os.path.dirname(current_folder)
134
- default_project_to_build=os.path.basename(current_folder)[:-len("Build")]
135
- GeneralUtilities.assert_not_null(default_project_to_build,"projecttobuild is not set")
136
135
  GeneralUtilities.assert_not_null(default_build_repositories_folder,"buildrepositoriesfolder is not set")
136
+
137
+ if default_project_to_build is None:
138
+ default_project_to_build=os.path.basename(current_folder)[:-len("Build")]
139
+ GeneralUtilities.assert_not_null(default_project_to_build,"projecttobuild is not set")
137
140
 
138
141
  if args.verbosity is not None:
139
142
  default_loglevel=LogLevel(int( args.verbosity))
@@ -144,7 +147,7 @@ class TFCPS_AnionBuildPlatform_CLI:
144
147
 
145
148
  if args.sourcebranch is not None:
146
149
  default_source_branch=args.sourcebranch
147
- GeneralUtilities.assert_not_null(default_build_repositories_folder,"sourcebranch is not set")
150
+ GeneralUtilities.assert_not_null(default_source_branch,"sourcebranch is not set")
148
151
 
149
152
  if args.defaultremotename is not None:
150
153
  default_remote_name=args.defaultremotename
@@ -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.26"
39
+ version = "4.0.28"
40
40
  __version__ = version
41
41
 
42
42
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ScriptCollection
3
- Version: 4.0.26
3
+ Version: 4.0.28
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
@@ -1,4 +1,4 @@
1
- ScriptCollection/AnionBuildPlatform.py,sha256=nT-P5plz8wFZoxK1Axqjdudf4fwB0unEdSfOdcxK2DA,8763
1
+ ScriptCollection/AnionBuildPlatform.py,sha256=BwvNgPwPXu0ihQWA_gI64U8-7Xpcsq3_TDAG00kDkCo,8819
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=mBaeIvfLu-g9P5R0-OEHyBvvLEhTJuObEX5gVTXCygU,140598
12
+ ScriptCollection/ScriptCollectionCore.py,sha256=CVN60mtg78CJasq1LIMAaPSKQxUzNZsPLs8hDiPKLdY,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.26.dist-info/METADATA,sha256=l1BtIZAHX5WMQKkzUljFhZL8xD7xaP_6EqHs5bGyS10,7688
39
- scriptcollection-4.0.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- scriptcollection-4.0.26.dist-info/entry_points.txt,sha256=NeU26D6q7d8n2cmKQiOvHK21w1C7D2kxoNRJaKiyZ5w,4295
41
- scriptcollection-4.0.26.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
42
- scriptcollection-4.0.26.dist-info/RECORD,,
38
+ scriptcollection-4.0.28.dist-info/METADATA,sha256=AIHoQX-zbfAgWBIms1xrD18-E0-ECmR1MHuQ185xEFY,7688
39
+ scriptcollection-4.0.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
+ scriptcollection-4.0.28.dist-info/entry_points.txt,sha256=NeU26D6q7d8n2cmKQiOvHK21w1C7D2kxoNRJaKiyZ5w,4295
41
+ scriptcollection-4.0.28.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
42
+ scriptcollection-4.0.28.dist-info/RECORD,,