ScriptCollection 3.5.125__py3-none-any.whl → 3.5.126__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 +13 -3
- ScriptCollection/TasksForCommonProjectStructure.py +5 -2
- {scriptcollection-3.5.125.dist-info → scriptcollection-3.5.126.dist-info}/METADATA +1 -1
- {scriptcollection-3.5.125.dist-info → scriptcollection-3.5.126.dist-info}/RECORD +7 -7
- {scriptcollection-3.5.125.dist-info → scriptcollection-3.5.126.dist-info}/WHEEL +0 -0
- {scriptcollection-3.5.125.dist-info → scriptcollection-3.5.126.dist-info}/entry_points.txt +0 -0
- {scriptcollection-3.5.125.dist-info → scriptcollection-3.5.126.dist-info}/top_level.txt +0 -0
@@ -33,7 +33,7 @@ from .ProgramRunnerPopen import ProgramRunnerPopen
|
|
33
33
|
from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
|
34
34
|
from .SCLog import SCLog, LogLevel
|
35
35
|
|
36
|
-
version = "3.5.
|
36
|
+
version = "3.5.126"
|
37
37
|
__version__ = version
|
38
38
|
|
39
39
|
|
@@ -1543,7 +1543,11 @@ class ScriptCollectionCore:
|
|
1543
1543
|
reading_stdout_last_time_resulted_in_exception = False
|
1544
1544
|
if print_live_output:
|
1545
1545
|
# print(out_line, end='\n', file=sys.stdout, flush=False)
|
1546
|
-
|
1546
|
+
loglevel = LogLevel.Information
|
1547
|
+
if out_line.startswith("Debug: "):
|
1548
|
+
loglevel = LogLevel.Debug
|
1549
|
+
out_line = out_line[len("Debug: "):]
|
1550
|
+
log.log(out_line, loglevel)
|
1547
1551
|
# if print_live_output:
|
1548
1552
|
# sys.stdout.flush()
|
1549
1553
|
except Empty:
|
@@ -1558,7 +1562,13 @@ class ScriptCollectionCore:
|
|
1558
1562
|
reading_stderr_last_time_resulted_in_exception = False
|
1559
1563
|
if print_live_output:
|
1560
1564
|
# print(err_line, end='\n', file=sys.stdout if print_errors_as_information else sys.stderr, flush=False)
|
1561
|
-
|
1565
|
+
loglevel = LogLevel.Error
|
1566
|
+
if out_line.startswith("Warning: "):
|
1567
|
+
loglevel = LogLevel.Warning
|
1568
|
+
out_line = out_line[len("Warning: "):]
|
1569
|
+
if print_errors_as_information: # "errors" in "print_errors_as_information" means: all what is written to std-err
|
1570
|
+
loglevel = LogLevel.Information
|
1571
|
+
log.log(err_line, loglevel)
|
1562
1572
|
# if print_live_output:
|
1563
1573
|
# if print_errors_as_information:
|
1564
1574
|
# sys.stdout.flush()
|
@@ -1423,7 +1423,7 @@ class TasksForCommonProjectStructure:
|
|
1423
1423
|
self.__sc.format_xml_file(sbom_folder+f"/{codeunitname}.{codeunitversion}.sbom.xml")
|
1424
1424
|
|
1425
1425
|
@GeneralUtilities.check_arguments
|
1426
|
-
def push_docker_build_artifact(self, push_artifacts_file: str, registry: str, verbosity: int, push_readme: bool, commandline_arguments: list[str], repository_folder_name: str,image_name:str=None) -> None:
|
1426
|
+
def push_docker_build_artifact(self, push_artifacts_file: str, registry: str, verbosity: int, push_readme: bool, commandline_arguments: list[str], repository_folder_name: str, image_name: str = None) -> None:
|
1427
1427
|
folder_of_this_file = os.path.dirname(push_artifacts_file)
|
1428
1428
|
filename = os.path.basename(push_artifacts_file)
|
1429
1429
|
codeunitname_regex: str = "([a-zA-Z0-9]+)"
|
@@ -1443,7 +1443,7 @@ class TasksForCommonProjectStructure:
|
|
1443
1443
|
codeunit_version = self.get_version_of_codeunit(os.path.join(codeunit_folder, f"{codeunitname}.codeunit.xml"))
|
1444
1444
|
if image_name is None:
|
1445
1445
|
image_name = codeunitname
|
1446
|
-
image_name=image_name.lower()
|
1446
|
+
image_name = image_name.lower()
|
1447
1447
|
repo = f"{registry}/{image_name}"
|
1448
1448
|
image_latest = f"{repo}:latest"
|
1449
1449
|
image_version = f"{repo}:{codeunit_version}"
|
@@ -3195,8 +3195,11 @@ class TasksForCommonProjectStructure:
|
|
3195
3195
|
self.__sc.git_commit(build_repository_folder, "Updated submodules")
|
3196
3196
|
|
3197
3197
|
if "--dependencyupdate" in generic_prepare_new_release_arguments.commandline_arguments:
|
3198
|
+
GeneralUtilities.write_message_to_stdout("Debug: Update dependencies...")
|
3198
3199
|
self.generic_update_dependencies(repository_folder)
|
3199
3200
|
self.assert_no_uncommitted_changes(repository_folder)
|
3201
|
+
else:
|
3202
|
+
GeneralUtilities.write_message_to_stdout("Debug: Dependency-update skipped.")
|
3200
3203
|
|
3201
3204
|
GeneralUtilities.write_message_to_stdout(f"Check reference-repository...")
|
3202
3205
|
now = datetime.now()
|
@@ -7,11 +7,11 @@ ScriptCollection/ProgramRunnerBase.py,sha256=2kMIAqdc65UjBAddOZkzy_aFx9h5roZ5a4b
|
|
7
7
|
ScriptCollection/ProgramRunnerEpew.py,sha256=4pjEd0r9Fcz3TTDv0MdTSd5KkigYXcWUVI1X43regfU,6477
|
8
8
|
ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
|
9
9
|
ScriptCollection/SCLog.py,sha256=2oWISBU4RhAWBPtsM_nPWiOJ6UZEY1T4O9iXtjhRZ24,3685
|
10
|
-
ScriptCollection/ScriptCollectionCore.py,sha256=
|
11
|
-
ScriptCollection/TasksForCommonProjectStructure.py,sha256=
|
10
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=yOj8BWkqZZezXIdBedP-TuvYDOWe7jt0B2vp9qVIAQo,128521
|
11
|
+
ScriptCollection/TasksForCommonProjectStructure.py,sha256=Xcf7E990A8OkIf2eAG8ZgTNPzIkd1zEDIxJVlKb8Uio,235063
|
12
12
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
-
scriptcollection-3.5.
|
14
|
-
scriptcollection-3.5.
|
15
|
-
scriptcollection-3.5.
|
16
|
-
scriptcollection-3.5.
|
17
|
-
scriptcollection-3.5.
|
13
|
+
scriptcollection-3.5.126.dist-info/METADATA,sha256=JdqmRzVM1PdsbQRe3VzeJWLow_O1M1sWZOiiAMycfP4,7694
|
14
|
+
scriptcollection-3.5.126.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
15
|
+
scriptcollection-3.5.126.dist-info/entry_points.txt,sha256=3qMbfZEMhc_VTJj-bcLwB8AWcn9iXSB3l0AWpuu52Bs,3689
|
16
|
+
scriptcollection-3.5.126.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
17
|
+
scriptcollection-3.5.126.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|