ScriptCollection 4.0.57__py3-none-any.whl → 4.0.58__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.
Potentially problematic release.
This version of ScriptCollection might be problematic. Click here for more details.
- ScriptCollection/ScriptCollectionCore.py +1 -1
- ScriptCollection/TFCPS/TFCPS_Tools_General.py +17 -0
- {scriptcollection-4.0.57.dist-info → scriptcollection-4.0.58.dist-info}/METADATA +1 -1
- {scriptcollection-4.0.57.dist-info → scriptcollection-4.0.58.dist-info}/RECORD +7 -7
- {scriptcollection-4.0.57.dist-info → scriptcollection-4.0.58.dist-info}/WHEEL +0 -0
- {scriptcollection-4.0.57.dist-info → scriptcollection-4.0.58.dist-info}/entry_points.txt +0 -0
- {scriptcollection-4.0.57.dist-info → scriptcollection-4.0.58.dist-info}/top_level.txt +0 -0
|
@@ -1263,3 +1263,20 @@ class TFCPS_Tools_General:
|
|
|
1263
1263
|
docker_project_name = f"{codeunit_name}_{example_name}".lower()
|
|
1264
1264
|
self.__sc.log.log("Stop docker-container...")
|
|
1265
1265
|
self.__sc.run_program("docker", f"compose --project-name {docker_project_name} down", folder)
|
|
1266
|
+
|
|
1267
|
+
@GeneralUtilities.check_arguments
|
|
1268
|
+
def update_submodule(self, repository_folder: str, submodule_name: str, local_branch: str = "main", remote_branch: str = "main", remote: str = "origin"):
|
|
1269
|
+
submodule_folder = GeneralUtilities.resolve_relative_path("Other/Resources/Submodules/"+submodule_name, repository_folder)
|
|
1270
|
+
self.__sc.git_fetch(submodule_folder, remote)
|
|
1271
|
+
self.__sc.git_checkout(submodule_folder, local_branch)
|
|
1272
|
+
self.__sc.git_pull(submodule_folder, remote, local_branch, remote_branch, True)
|
|
1273
|
+
current_version = self.__sc.get_semver_version_from_gitversion(repository_folder)
|
|
1274
|
+
changelog_file = os.path.join(repository_folder, "Other", "Resources", "Changelog", f"v{current_version}.md")
|
|
1275
|
+
if (not os.path.isfile(changelog_file)):
|
|
1276
|
+
GeneralUtilities.ensure_file_exists(changelog_file)
|
|
1277
|
+
GeneralUtilities.write_text_to_file(changelog_file, """# Release notes
|
|
1278
|
+
|
|
1279
|
+
## Changes
|
|
1280
|
+
|
|
1281
|
+
- Updated geo-ip-database.
|
|
1282
|
+
""")
|
|
@@ -9,7 +9,7 @@ ScriptCollection/ProgramRunnerMock.py,sha256=uTu-aFle1W_oKjeQEmuPsFPQpvo0kRf2FrR
|
|
|
9
9
|
ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
|
|
10
10
|
ScriptCollection/ProgramRunnerSudo.py,sha256=_khC3xuTdrPoLluBJZWfldltmmuKltABJPcbjZSFW-4,4835
|
|
11
11
|
ScriptCollection/SCLog.py,sha256=dxGOI4E9lG5v9jk_LajXCkM5nghliCDV8YB8Ihn160s,4541
|
|
12
|
-
ScriptCollection/ScriptCollectionCore.py,sha256=
|
|
12
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=shj6O85kqe4oKej40c82HACrsvO1bNv4Rkx5DGlCVuE,142342
|
|
13
13
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=VyoVQPQ5t3VmRsR599tzsjRlnL42Hj3kubMmeoTQW7A,25441
|
|
15
15
|
ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=m3bZZCoKV0mxME6HtDa3BAsGD4DSbiSp4XkqKOJyc9Y,7369
|
|
@@ -20,7 +20,7 @@ ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=7F9cwFy-7bxN5mkK9V_n7ffMPvBxL
|
|
|
20
20
|
ScriptCollection/TFCPS/TFCPS_MergeToStable.py,sha256=ifB1K6A903vvfH0LvtiFbZgYSgR94thfEI-jjf40LpU,21653
|
|
21
21
|
ScriptCollection/TFCPS/TFCPS_PreBuildCodeunitsScript.py,sha256=CxdwUklhZVuJGp0vcokoH_KMXFzmlUlZwj77xFYijho,2242
|
|
22
22
|
ScriptCollection/TFCPS/TFCPS_Tools_Dependencies.py,sha256=o7HI3ki3WWqlAiUsrh3Lky_w6UhYh9hdjYPGOhubQGA,414
|
|
23
|
-
ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=
|
|
23
|
+
ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=lZb-LqBfIYhVTmqjpxfJ3Cp7YIbVcre62c5sElMi-xc,80894
|
|
24
24
|
ScriptCollection/TFCPS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
25
|
ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=ylPvcdiN7RuqXpM-3uNqs40v1kyhaC0guV4JA2pIt_M,5234
|
|
26
26
|
ScriptCollection/TFCPS/Docker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -35,8 +35,8 @@ ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py,sha256=aF53bvcuZi
|
|
|
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.58.dist-info/METADATA,sha256=PQRno2iM6rfx0NC0abmRirJqYlIydyWVxvHnuczAW2g,7688
|
|
39
|
+
scriptcollection-4.0.58.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
40
|
+
scriptcollection-4.0.58.dist-info/entry_points.txt,sha256=_izhaQEyHiyBIfM2zTYDaJ7qvgsP1WntkVChFnkWymE,4431
|
|
41
|
+
scriptcollection-4.0.58.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
|
42
|
+
scriptcollection-4.0.58.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|