ScriptCollection 3.5.15__py3-none-any.whl → 3.5.16__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/TasksForCommonProjectStructure.py +9 -1
- {ScriptCollection-3.5.15.dist-info → ScriptCollection-3.5.16.dist-info}/METADATA +1 -1
- {ScriptCollection-3.5.15.dist-info → ScriptCollection-3.5.16.dist-info}/RECORD +7 -7
- {ScriptCollection-3.5.15.dist-info → ScriptCollection-3.5.16.dist-info}/WHEEL +0 -0
- {ScriptCollection-3.5.15.dist-info → ScriptCollection-3.5.16.dist-info}/entry_points.txt +0 -0
- {ScriptCollection-3.5.15.dist-info → ScriptCollection-3.5.16.dist-info}/top_level.txt +0 -0
|
@@ -1391,7 +1391,7 @@ class TasksForCommonProjectStructure:
|
|
|
1391
1391
|
|
|
1392
1392
|
# Check codeunit-conformity
|
|
1393
1393
|
# TODO check if foldername=="<codeunitname>[.codeunit.xml]" == <codeunitname> in file
|
|
1394
|
-
supported_codeunitspecificationversion = "2.
|
|
1394
|
+
supported_codeunitspecificationversion = "2.9.0" # should always be the latest version of the ProjectTemplates-repository
|
|
1395
1395
|
codeunit_file = os.path.join(codeunit_folder, f"{codeunit_name}.codeunit.xml")
|
|
1396
1396
|
if not os.path.isfile(codeunit_file):
|
|
1397
1397
|
raise ValueError(f'Codeunitfile "{codeunit_file}" does not exist.')
|
|
@@ -1420,6 +1420,14 @@ class TasksForCommonProjectStructure:
|
|
|
1420
1420
|
if codeunit_name != codeunit_name_in_codeunit_file:
|
|
1421
1421
|
raise ValueError(f"The folder-name ('{codeunit_name}') is not equal to the codeunit-name ('{codeunit_name_in_codeunit_file}').")
|
|
1422
1422
|
|
|
1423
|
+
# Check owner-name
|
|
1424
|
+
codeunit_ownername_in_codeunit_file = root.xpath('//cps:codeunit/cps:codeunitownername/text()', namespaces=namespaces)[0]
|
|
1425
|
+
GeneralUtilities.assert_condition(GeneralUtilities.string_has_content(codeunit_ownername_in_codeunit_file), "No valid name for codeunitowner given.")
|
|
1426
|
+
|
|
1427
|
+
# Check owner-emailaddress
|
|
1428
|
+
codeunit_owneremailaddress_in_codeunit_file = root.xpath('//cps:codeunit/cps:codeunitowneremailaddress/text()', namespaces=namespaces)[0]
|
|
1429
|
+
GeneralUtilities.assert_condition(GeneralUtilities.string_has_content(codeunit_owneremailaddress_in_codeunit_file), "No valid email-address for codeunitowner given.")
|
|
1430
|
+
|
|
1423
1431
|
# Check for mandatory files
|
|
1424
1432
|
files = ["Other/Build/Build.py", "Other/QualityCheck/Linting.py", "Other/Reference/GenerateReference.py"]
|
|
1425
1433
|
if self.codeunit_has_testable_sourcecode(codeunit_file):
|
|
@@ -5,12 +5,12 @@ ScriptCollection/ProgramRunnerBase.py,sha256=7QAjoqOz6XPmJH19F2k-Z1fFQB_uZnPFvn-
|
|
|
5
5
|
ScriptCollection/ProgramRunnerEpew.py,sha256=C2Rs3YWOWWWJct7XmKphp5CF1tf0j4Fp-ljV2drLTfs,6349
|
|
6
6
|
ScriptCollection/ProgramRunnerPopen.py,sha256=G3LgQUVCfaq7XjBsGzalElH31Hbr0etttGR2_H87YzA,3512
|
|
7
7
|
ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
|
|
8
|
-
ScriptCollection/ScriptCollectionCore.py,sha256=
|
|
9
|
-
ScriptCollection/TasksForCommonProjectStructure.py,sha256=
|
|
8
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=AAUVqYuYN-1YDeyxzIO8TE7Ip4uxw8IJQBEPBh3mHW0,100035
|
|
9
|
+
ScriptCollection/TasksForCommonProjectStructure.py,sha256=uSVSRCqtSRW7yYXkduNAFxVMY-tsGYH9Lh0WCHhd1oE,184749
|
|
10
10
|
ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
|
|
11
11
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
ScriptCollection-3.5.
|
|
13
|
-
ScriptCollection-3.5.
|
|
14
|
-
ScriptCollection-3.5.
|
|
15
|
-
ScriptCollection-3.5.
|
|
16
|
-
ScriptCollection-3.5.
|
|
12
|
+
ScriptCollection-3.5.16.dist-info/METADATA,sha256=YT_oAn2upPHtHIkXZWIpdAyILnQdy32sCxZTtLJRGz0,7680
|
|
13
|
+
ScriptCollection-3.5.16.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
14
|
+
ScriptCollection-3.5.16.dist-info/entry_points.txt,sha256=yASwR6hWZ_b5d4W49YeX1htD8ngfWbwgjpfQiJdtUAU,2322
|
|
15
|
+
ScriptCollection-3.5.16.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
|
16
|
+
ScriptCollection-3.5.16.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|