Helpful error message for aosd2.1 report #10744
daudiihhdau
started this conversation in
Ideas
Replies: 1 comment
-
Makes sense. See #10777. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
When creating an AOSD 2.1 report, the error messages are unfortunately not sufficiently detailed enough.
It is not clear where the error occurs specifically. As a user, you only know that one of the many licenses is critical. However, you cannot find out exactly which license is affected.
In my specific case, the following errors occur:
“The SCM or homepage URL must have a length of at least 5”
“A subcomponent's license text must have a length of at least 20.”
With a project involving hundreds of dependencies, I am now left guessing. Which URL is meant exactly? Which license text is critical?
I would be very grateful if the error message could be expanded with the corresponding meta data.
To my knowledge, the corresponding source code is located here:
https://github.com/oss-review-toolkit/ort/blob/main/plugins/reporters/aosd/src/main/kotlin/Aosd21Model.kt
That would be really great! Thank you very much.
Mathias
Beta Was this translation helpful? Give feedback.
All reactions