ScriptCollection 3.5.16__py3-none-any.whl → 3.5.18__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.
@@ -30,7 +30,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
30
30
  from .ProgramRunnerPopen import ProgramRunnerPopen
31
31
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
32
32
 
33
- version = "3.5.16"
33
+ version = "3.5.18"
34
34
  __version__ = version
35
35
 
36
36
 
@@ -1604,7 +1604,7 @@ DNS = {domain}
1604
1604
  # Relevant output-lines are something like " > NJsonSchema 10.7.0 10.7.0 10.9.0"
1605
1605
  if ">" in line:
1606
1606
  package_name = line.replace(">", "").strip().split(" ")[0]
1607
- if not (ignored_dependencies in package_name):
1607
+ if not (package_name in ignored_dependencies):
1608
1608
  GeneralUtilities.write_message_to_stderr(f"Update package {package_name}")
1609
1609
  self.run_program("dotnet", f"add {csproj_filename} package {package_name}", folder)
1610
1610
 
@@ -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.9.0" # should always be the latest version of the ProjectTemplates-repository
1394
+ supported_codeunitspecificationversion = "2.9.1" # 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.')
@@ -1428,6 +1428,13 @@ class TasksForCommonProjectStructure:
1428
1428
  codeunit_owneremailaddress_in_codeunit_file = root.xpath('//cps:codeunit/cps:codeunitowneremailaddress/text()', namespaces=namespaces)[0]
1429
1429
  GeneralUtilities.assert_condition(GeneralUtilities.string_has_content(codeunit_owneremailaddress_in_codeunit_file), "No valid email-address for codeunitowner given.")
1430
1430
 
1431
+ # Check development-state
1432
+ developmentstate = root.xpath('//cps:properties/@developmentstate', namespaces=namespaces)[0]
1433
+ developmentstate_active = "Active development"
1434
+ developmentstate_maintenance = "Maintenance-updates only"
1435
+ developmentstate_inactive = "Inactive"
1436
+ GeneralUtilities.assert_condition(developmentstate in (developmentstate_active, developmentstate_maintenance, developmentstate_inactive), f"Invalid development-state. Must be '{developmentstate_active}' or '{developmentstate_maintenance}' or '{developmentstate_inactive}' but was '{developmentstate}'.")
1437
+
1431
1438
  # Check for mandatory files
1432
1439
  files = ["Other/Build/Build.py", "Other/QualityCheck/Linting.py", "Other/Reference/GenerateReference.py"]
1433
1440
  if self.codeunit_has_testable_sourcecode(codeunit_file):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ScriptCollection
3
- Version: 3.5.16
3
+ Version: 3.5.18
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Home-page: https://github.com/anionDev/ScriptCollection
6
6
  Author: Marius Göcke
@@ -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=AAUVqYuYN-1YDeyxzIO8TE7Ip4uxw8IJQBEPBh3mHW0,100035
9
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=uSVSRCqtSRW7yYXkduNAFxVMY-tsGYH9Lh0WCHhd1oE,184749
8
+ ScriptCollection/ScriptCollectionCore.py,sha256=5As77GOFsK0QWvwQW49rPh-KRVugq7RTkeSmhcmV61o,100035
9
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=QWUusRX-iMI96V7D41I8u3at1HYR9Fv1BPdTvkvFF8s,185366
10
10
  ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
11
11
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
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,,
12
+ ScriptCollection-3.5.18.dist-info/METADATA,sha256=DKfaIJ6HfmBFP_ql4-E8tur2iBPQkucg4gaHLtyPK70,7680
13
+ ScriptCollection-3.5.18.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
14
+ ScriptCollection-3.5.18.dist-info/entry_points.txt,sha256=yASwR6hWZ_b5d4W49YeX1htD8ngfWbwgjpfQiJdtUAU,2322
15
+ ScriptCollection-3.5.18.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
+ ScriptCollection-3.5.18.dist-info/RECORD,,