ScriptCollection 4.0.40__py3-none-any.whl → 4.0.41__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 +1 -1
- ScriptCollection/TFCPS/TFCPS_Tools_General.py +8 -15
- {scriptcollection-4.0.40.dist-info → scriptcollection-4.0.41.dist-info}/METADATA +1 -1
- {scriptcollection-4.0.40.dist-info → scriptcollection-4.0.41.dist-info}/RECORD +7 -7
- {scriptcollection-4.0.40.dist-info → scriptcollection-4.0.41.dist-info}/WHEEL +0 -0
- {scriptcollection-4.0.40.dist-info → scriptcollection-4.0.41.dist-info}/entry_points.txt +0 -0
- {scriptcollection-4.0.40.dist-info → scriptcollection-4.0.41.dist-info}/top_level.txt +0 -0
@@ -819,7 +819,7 @@ class TFCPS_Tools_General:
|
|
819
819
|
grylibrary_dll_file = os.path.join(grylibrary_folder, "BuildResult_DotNet_win-x64", "GRYLibrary.dll")
|
820
820
|
grylibrary_dll_file_exists = os.path.isfile(grylibrary_dll_file)
|
821
821
|
if not os.path.isfile(grylibrary_dll_file):
|
822
|
-
self.__sc.log("Download GRYLibrary to global cache...",LogLevel.Information)
|
822
|
+
self.__sc.log.log("Download GRYLibrary to global cache...",LogLevel.Information)
|
823
823
|
grylibrary_latest_codeunit_file = "https://raw.githubusercontent.com/anionDev/GRYLibrary/stable/GRYLibrary/GRYLibrary.codeunit.xml"
|
824
824
|
with urllib.request.urlopen(grylibrary_latest_codeunit_file) as url_result:
|
825
825
|
grylibrary_latest_version = self.get_version_of_codeunit_filecontent(url_result.read().decode("utf-8"))
|
@@ -966,25 +966,18 @@ class TFCPS_Tools_General:
|
|
966
966
|
def ensure_openapigenerator_is_available(self, codeunit_folder: str,use_cache:bool) -> None:
|
967
967
|
self.assert_is_codeunit_folder(codeunit_folder)
|
968
968
|
openapigenerator_folder = os.path.join(codeunit_folder, "Other", "Resources", "OpenAPIGenerator")
|
969
|
-
internet_connection_is_available = GeneralUtilities.internet_connection_is_available()
|
970
969
|
filename = "open-api-generator.jar"
|
971
970
|
jar_file = f"{openapigenerator_folder}/{filename}"
|
972
971
|
jar_file_exists = os.path.isfile(jar_file)
|
973
972
|
update:bool=not jar_file_exists or not use_cache
|
974
973
|
if update:
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
urllib.request.urlretrieve(download_link, jar_file)
|
983
|
-
else:
|
984
|
-
if jar_file_exists:
|
985
|
-
self.__sc.log.log("Can not check for updates of OpenAPIGenerator due to missing internet-connection.")
|
986
|
-
else:
|
987
|
-
raise ValueError("Can not download OpenAPIGenerator.")
|
974
|
+
self.__sc.log.log("Download OpenAPIGeneratorCLI...",LogLevel.Debug)
|
975
|
+
version_file = os.path.join(codeunit_folder, "Other", "Resources", "Dependencies", "OpenAPIGenerator", "Version.txt")
|
976
|
+
used_version = GeneralUtilities.read_text_from_file(version_file)
|
977
|
+
download_link = f"https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/{used_version}/openapi-generator-cli-{used_version}.jar"
|
978
|
+
GeneralUtilities.ensure_directory_does_not_exist(openapigenerator_folder)
|
979
|
+
GeneralUtilities.ensure_directory_exists(openapigenerator_folder)
|
980
|
+
urllib.request.urlretrieve(download_link, jar_file)
|
988
981
|
|
989
982
|
@GeneralUtilities.check_arguments
|
990
983
|
def standardized_tasks_update_version_in_docker_examples(self, codeunit_folder:str, codeunit_version:str) -> None:
|
@@ -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=qLSBLbji2G2pDgkPkOiVHIWfiQbYB98YbpgMlyrKlgk,141223
|
13
13
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14
14
|
ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=E7QtV1y5ZUFPO3Jfn04__KBRwOlOisB3Z0ByvMwc0rA,25853
|
15
15
|
ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=4rYKgTAga11NiDx8YUqz3K_Q4eX_n3kC6lvNdXEa24s,7389
|
@@ -20,7 +20,7 @@ ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=41g219jaBRZ2VQCrWM4-Trvervrt8
|
|
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=rG54XGperjNVIszLWa024_y3nwzmvxJIVKJKvHTOS8o,72541
|
24
24
|
ScriptCollection/TFCPS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
25
|
ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=-g8h2gCf9rh0KJXUBeQD5d0qLJgBU3Q8DNZXM1UXC04,5259
|
26
26
|
ScriptCollection/TFCPS/Docker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -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.41.dist-info/METADATA,sha256=g8cNKktu-eamdrpRB6foLjQGUnMHezPmrca9ePopj_k,7688
|
39
|
+
scriptcollection-4.0.41.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
40
|
+
scriptcollection-4.0.41.dist-info/entry_points.txt,sha256=NeU26D6q7d8n2cmKQiOvHK21w1C7D2kxoNRJaKiyZ5w,4295
|
41
|
+
scriptcollection-4.0.41.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
42
|
+
scriptcollection-4.0.41.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|