Merge ../EDDN

This commit is contained in:
Athanasius committed 2022-08-30 17:25:39 +01:00
commit 6a2eb5980d
4 files changed
+155 -2

No files matched your search

+15 -2
View File
@@ -75,12 +75,25 @@ def process_file(input_file: str) -> None:
###################################################################
if matches.group('software_name') == 'EDDiscovery':
# https://github.com/EDDiscovery/EDDiscovery/releases/latest
if software_version >= semantic_version.Version.coerce('15.0.4.0'):
if software_version >= semantic_version.Version.coerce('15.1.2.0'):
# if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2':
# err_msg = matches.group('err_msg')
# if (
# err_msg.startswith('Failed Validation "[<ValidationError: "u\'\\\\u0131nt_') and
# err_msg.find('\' does not match \'(^Hpt_|^hpt_|^Int_|^int_|_Armour_|_armour_)\'">]') != -1
# ):
# <https://github.com/EDDiscovery/EDDiscovery/issues/3304>
# pass
# else:
# print(line)
# else:
print(line)
elif matches.group('software_name') == 'EDDLite':
# https://github.com/EDDiscovery/EDDLite/releases/tag/latest
if software_version >= semantic_version.Version.coerce('2.2.0'):
if software_version >= semantic_version.Version.coerce('2.3.0'):
print(line)
elif matches.group('software_name') == 'EDDI':