-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tool currently very poorly deals with erroneous SPDX expressions #4
Comments
|
I think it's OK to let this be an error. We should strongly discourage erroneous SPDX expressions to make reuse of software not a guesswork but easy and unambiguous. See the stupid edge cases Thomas is dealing with in Linux for an example how things can explode to a massive rework even with minor errors ;) |
|
Can you give me more info on what Thomas is currently dealing with? Maybe an article or e-mail I can read. |
|
Sure. It's being discussed on the linux-spdx@vger.kernel.org mailing list. First post |
|
This bug is referred to by the documentation in #80. When this bug is fixed, the documentation should reflect that. |
|
Somewhat related: reuse addheader foobar/__init__.py --license GPLv33Shouldn't the tool report this as an invalid license identifier and abort the operation, similar to how |
|
As I felt the issue raised by @bittner is quite specific, I forked it off into a separate issue. |
|
In the example in #463, people will see the following error, even if the block ignore is implemented: The suggestion is to make this error more understandable and solvable for users:
|
Given a file
erroneous-spdx.txt:The output of
reuse lintis:The ERROR statements are just logger output from within the program. The file is then completely skipped over, and its (completely valid) SPDX-Copyright tag is ignored.
Is this sufficient, or should the plumbing somehow change to account for this edge case?
The text was updated successfully, but these errors were encountered: