ScriptCollection 3.5.128__py3-none-any.whl → 3.5.130__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 +4 -4
- ScriptCollection/TasksForCommonProjectStructure.py +9 -5
- {scriptcollection-3.5.128.dist-info → scriptcollection-3.5.130.dist-info}/METADATA +1 -1
- {scriptcollection-3.5.128.dist-info → scriptcollection-3.5.130.dist-info}/RECORD +7 -7
- {scriptcollection-3.5.128.dist-info → scriptcollection-3.5.130.dist-info}/WHEEL +0 -0
- {scriptcollection-3.5.128.dist-info → scriptcollection-3.5.130.dist-info}/entry_points.txt +0 -0
- {scriptcollection-3.5.128.dist-info → scriptcollection-3.5.130.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.130"
|
37
37
|
__version__ = version
|
38
38
|
|
39
39
|
|
@@ -53,7 +53,7 @@ class ScriptCollectionCore:
|
|
53
53
|
self.program_runner = ProgramRunnerPopen()
|
54
54
|
self.call_program_runner_directly = None
|
55
55
|
self.__mocked_program_calls = list[ScriptCollectionCore.__MockProgramCall]()
|
56
|
-
self.log = SCLog(None, LogLevel.
|
56
|
+
self.log = SCLog(None, LogLevel.Warning, False)
|
57
57
|
|
58
58
|
@staticmethod
|
59
59
|
@GeneralUtilities.check_arguments
|
@@ -1563,9 +1563,9 @@ class ScriptCollectionCore:
|
|
1563
1563
|
if print_live_output:
|
1564
1564
|
# print(err_line, end='\n', file=sys.stdout if print_errors_as_information else sys.stderr, flush=False)
|
1565
1565
|
loglevel = LogLevel.Error
|
1566
|
-
if
|
1566
|
+
if err_line.startswith("Warning: "):
|
1567
1567
|
loglevel = LogLevel.Warning
|
1568
|
-
|
1568
|
+
err_line = err_line[len("Warning: "):]
|
1569
1569
|
if print_errors_as_information: # "errors" in "print_errors_as_information" means: all what is written to std-err
|
1570
1570
|
loglevel = LogLevel.Information
|
1571
1571
|
log.log(err_line, loglevel)
|
@@ -20,6 +20,7 @@ from OpenSSL import crypto
|
|
20
20
|
from lxml import etree
|
21
21
|
from .GeneralUtilities import GeneralUtilities
|
22
22
|
from .ScriptCollectionCore import ScriptCollectionCore
|
23
|
+
from .SCLog import SCLog, LogLevel
|
23
24
|
from .ProgramRunnerEpew import ProgramRunnerEpew
|
24
25
|
|
25
26
|
|
@@ -113,6 +114,14 @@ class TasksForCommonProjectStructure:
|
|
113
114
|
validate_developers_of_repository: bool = True
|
114
115
|
dotnet_runsettings_file = "runsettings.xml"
|
115
116
|
|
117
|
+
def __init__(self, sc: ScriptCollectionCore = None):
|
118
|
+
if sc is None:
|
119
|
+
log: SCLog = SCLog()
|
120
|
+
log.loglevel = LogLevel.Information
|
121
|
+
sc = ScriptCollectionCore()
|
122
|
+
sc.log = log
|
123
|
+
self.__sc = sc
|
124
|
+
|
116
125
|
@GeneralUtilities.check_arguments
|
117
126
|
def assert_is_codeunit_folder(self, codeunit_folder: str) -> str:
|
118
127
|
repo_folder = GeneralUtilities.resolve_relative_path("..", codeunit_folder)
|
@@ -138,11 +147,6 @@ class TasksForCommonProjectStructure:
|
|
138
147
|
def get_productive_environment_name() -> str:
|
139
148
|
return "Productive"
|
140
149
|
|
141
|
-
def __init__(self, sc: ScriptCollectionCore = None):
|
142
|
-
if sc is None:
|
143
|
-
sc = ScriptCollectionCore()
|
144
|
-
self.__sc = sc
|
145
|
-
|
146
150
|
@GeneralUtilities.check_arguments
|
147
151
|
def get_build_folder(self, repository_folder: str, codeunit_name: str) -> str:
|
148
152
|
self.__sc.assert_is_git_repository(repository_folder)
|
@@ -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=-YAKiqEnKLW3658QN1vszI8IaoXUg6vFuXvmfDn44NI,128523
|
11
|
+
ScriptCollection/TasksForCommonProjectStructure.py,sha256=YdlVfTnVeAuYFqqqgXaf1gw2LtY0OO9cnrOXFQaRXYE,235511
|
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.130.dist-info/METADATA,sha256=9oPdDiG-UzAZAaYhIVs2RQIU1ZlcQkzxHSwFSeHGuew,7694
|
14
|
+
scriptcollection-3.5.130.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
15
|
+
scriptcollection-3.5.130.dist-info/entry_points.txt,sha256=3qMbfZEMhc_VTJj-bcLwB8AWcn9iXSB3l0AWpuu52Bs,3689
|
16
|
+
scriptcollection-3.5.130.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
17
|
+
scriptcollection-3.5.130.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|