-
Notifications
You must be signed in to change notification settings - Fork 58
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
HUGE warning for deprecated licences #494
Comments
It seems to be a "heisenbug". I had the huge message above the first time; running it a second time gave the correct warning message:
It occurred in "validate" and "convert". |
Thanks @vargenau for reporting the issue. I'm able to reproduce it using the command line tool-java. Based on the results from the command line tool, the long string should be returned on every validate - it looks like on some executions it is using the older version of the Java library validator. This is likely a server configuration issue resulting from the last hardware upgrade. There are two separate issues involving two separate libraries. Both of these are introduced with the fix for verifying related elements:
|
One possible solution is to parse the results in the tools-java library. Added spdx/tools-java#134 with the proposal. |
@goneall As a minor remark, it would be good to add some CR/LF to the output in order not to have the huge message on a single line. |
@vargenau I noticed that too - turns out the Java library is adding CR/LF, but the online tools are treating them as whitespace when rendering the HTML - so some kind of conversion is needed - yet one issue |
Hi @goneall I have not tested, but something like that might do the trick: In file src/app/core.py:
(you have to do it 3 times in this file) |
Thanks @vargenau - @BassCoder2808 - Is this something you can do? |
Hi @goneall, sure I will look into this and will let you know if I am able to add the following |
Thanks @BassCoder2808 |
Since @BassCoder2808 solved the formatting issue related to this repo and there are other issues added to address the main issue raised here, I'll close this issue. If I missed something, please feel free to open a new issue. |
The following SPDX file has:
one line with
PackageLicenseDeclared: LGPL-2.1
two lines with
PackageLicenseDeclared: LGPL-2.1+
airflow-tern2.12.1.spdx.txt
So we expect warnings about deprecated licenses.
The issue is that the warning message is HUGE and mentions relationships.
Extract:
The text was updated successfully, but these errors were encountered: