ort
ort copied to clipboard
Drop support for several old versions of ScanCode
ScanCode 30.0.0 1 invented an output format version. Starting with that version, it became possible not have ScanCode version specific parsing logic anymore, but to only have the parsing specific to the output format version. The first handling of that output format version in ORT has been introduced 2 for ScanCode version 30.1.0.
Drop support for all ScanCode versions prior to 30.1.0 from ORT, to simplify the code.
Drop support for all ScanCode versions prior to 30.1.0 from ORT, to simplify the code.
More generally, we should say "drop support for all ScanCode versions that do not write the outputFormatVersion field".
More generally, we should say "drop support for all ScanCode versions that do not write the
outputFormatVersionfield".
I phrase it like this, because we skipped integrating ScanCode versions 30.0.0 and went to 30.1.0 directly. So, I wanted to save the effort to investigate that old 30.0.0 support.
So, I wanted to save the effort to investigate that old 30.0.0 support.
I believe we can skip it anyway, as like we discussed, with general outputFormatVersion support the ScanCode version does not matter anymore, so we also don't need to prove that supporting outputFormatVersion 1.0.0 indeed works for parsing ScanCode 30.0.0 results.
Maybe we should work on this issue before upgrading to ScanCode 32.3.0, which introduces new major output format version 4.0.0.
I've unassigned myself, as I don't have time in the short term. I'd be interested in doing this but though.