mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-19 01:57:40 +03:00
eddn-report: Bump all version checks to latest & EDDI report exception
* Raised all softwareVersion checks to latest releases. * EDDI has an approachsettlement/1 issue that's been reported.
This commit is contained in:
parent
d263b7f929
commit
2a461a9e46
@ -75,7 +75,7 @@ def process_file(input_file: str) -> None:
|
|||||||
###################################################################
|
###################################################################
|
||||||
if matches.group('software_name') == 'EDDiscovery':
|
if matches.group('software_name') == 'EDDiscovery':
|
||||||
# https://github.com/EDDiscovery/EDDiscovery/releases/latest
|
# https://github.com/EDDiscovery/EDDiscovery/releases/latest
|
||||||
if software_version >= semantic_version.Version.coerce('15.1.4.0'):
|
if software_version >= semantic_version.Version.coerce('16.0.5.0'):
|
||||||
if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2':
|
if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/outfitting/2':
|
||||||
err_msg = matches.group('err_msg')
|
err_msg = matches.group('err_msg')
|
||||||
if (
|
if (
|
||||||
@ -93,17 +93,26 @@ def process_file(input_file: str) -> None:
|
|||||||
|
|
||||||
elif matches.group('software_name') == 'EDDLite':
|
elif matches.group('software_name') == 'EDDLite':
|
||||||
# https://github.com/EDDiscovery/EDDLite/releases/latest
|
# https://github.com/EDDiscovery/EDDLite/releases/latest
|
||||||
if software_version >= semantic_version.Version.coerce('2.3.0'):
|
if software_version >= semantic_version.Version.coerce('2.5.0'):
|
||||||
print(line)
|
print(line)
|
||||||
|
|
||||||
elif matches.group('software_name') == 'EDDI':
|
elif matches.group('software_name') == 'EDDI':
|
||||||
# https://github.com/EDCD/EDDI/releases/latest
|
# https://github.com/EDCD/EDDI/releases/latest
|
||||||
if software_version >= semantic_version.Version.coerce('4.0.1'):
|
if software_version >= semantic_version.Version.coerce('4.0.2-rc1'):
|
||||||
print(line)
|
|
||||||
|
if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/approachsettlement/1':
|
||||||
|
if matches.group('err_msg').startswith(
|
||||||
|
'Failed Validation "[<ValidationError: "\'Latitude\' is a required property">]"'
|
||||||
|
):
|
||||||
|
# Reported on Discord: <Failed Validation "[<ValidationError: "'Latitude' is a required property">]">
|
||||||
|
pass
|
||||||
|
|
||||||
|
else:
|
||||||
|
print(line)
|
||||||
|
|
||||||
elif matches.group('software_name').startswith('E:D Market Connector'):
|
elif matches.group('software_name').startswith('E:D Market Connector'):
|
||||||
# https://github.com/EDCD/EDMarketConnector/releases/latest
|
# https://github.com/EDCD/EDMarketConnector/releases/latest
|
||||||
if software_version >= semantic_version.Version.coerce('5.5.0'):
|
if software_version >= semantic_version.Version.coerce('5.7.0'):
|
||||||
if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/journal/1':
|
if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/journal/1':
|
||||||
if matches.group('err_msg').startswith(
|
if matches.group('err_msg').startswith(
|
||||||
'Failed Validation "[<ValidationError: "{\'type\': [\'array\', \'boolean\', \'integer\', \'number\', \'null\', \'object\', \'string\']} is not allowed for'
|
'Failed Validation "[<ValidationError: "{\'type\': [\'array\', \'boolean\', \'integer\', \'number\', \'null\', \'object\', \'string\']} is not allowed for'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user