From 2a461a9e465b944b2ef058b116ccc2edb394159c Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 6 Jan 2023 09:00:09 +0000 Subject: [PATCH] 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. --- scripts/eddn-report-log-errors | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/scripts/eddn-report-log-errors b/scripts/eddn-report-log-errors index 20a6fd7..9a48b54 100755 --- a/scripts/eddn-report-log-errors +++ b/scripts/eddn-report-log-errors @@ -75,7 +75,7 @@ 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.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': err_msg = matches.group('err_msg') if ( @@ -93,17 +93,26 @@ def process_file(input_file: str) -> None: elif matches.group('software_name') == 'EDDLite': # 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) elif matches.group('software_name') == 'EDDI': # https://github.com/EDCD/EDDI/releases/latest - if software_version >= semantic_version.Version.coerce('4.0.1'): - print(line) + if software_version >= semantic_version.Version.coerce('4.0.2-rc1'): + + if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/approachsettlement/1': + if matches.group('err_msg').startswith( + 'Failed Validation "[]"' + ): + # Reported on Discord: ]"> + pass + + else: + print(line) elif matches.group('software_name').startswith('E:D Market Connector'): # 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('err_msg').startswith( 'Failed Validation "[