You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Does the tool have support for converting SPDX 2.2 tag files? #211
Hi @makdataproj! Thanks for your issue, to answer your initial question: Unfortunately the tool doesn't fully support spec version 2.2 but we are currently working on it.
I had a deeper look at the errors you provided.
The first one is rather misleading, it is thrown by the tagvalue parser here because the lexer couldn't parse the given line. The error message should be adjusted here. As far as I understand the error is produced here but I don't know yet how to fix this.
Concerning the second error: The current tagvalue-parser expects the ordering of a SPDX-Document so that the packages are placed first and the files come afterwards. The parsing of some fields is based on this ordering, e.g. here. This also needs a deeper understanding of the tagvalue-parser.
As discussed in #244 we will soon refactor the whole data model and the builder/ parser-structure. In this context we will then also take care of the errors described here.
Activity
meretp commentedon Nov 7, 2022
Hi @makdataproj! Thanks for your issue, to answer your initial question: Unfortunately the tool doesn't fully support spec version 2.2 but we are currently working on it.
I had a deeper look at the errors you provided.
The first one is rather misleading, it is thrown by the tagvalue parser here because the lexer couldn't parse the given line. The error message should be adjusted here. As far as I understand the error is produced here but I don't know yet how to fix this.
Concerning the second error: The current tagvalue-parser expects the ordering of a SPDX-Document so that the packages are placed first and the files come afterwards. The parsing of some fields is based on this ordering, e.g. here. This also needs a deeper understanding of the tagvalue-parser.
As discussed in #244 we will soon refactor the whole data model and the builder/ parser-structure. In this context we will then also take care of the errors described here.
meretp commentedon Nov 7, 2022
As this is a duplicate of #196 I will close this issue for now.