-
Notifications
You must be signed in to change notification settings - Fork 5
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
Bug: Build report doesn't show the declared licenses #9
Comments
This issue was moved to fabric8-ui/fabric8-recommender#241 |
We report
We report
We report
|
@jpopelka Is this in production? The last time I tested I got different results: https://docs.google.com/spreadsheets/d/1ULvQzG1YZk1TwU3KaqiMXiD4FBGpmOLO0jqybE6Y7tk/edit#gid=0 |
@luebken It was for some time, yes. Now there's the version with news scanner, but we haven't rescheduled old scans yet so S3 still contains the old results. |
@luebken - In order to get the results out, we need to re-scan packages for licenses and synced to OLTP Graph. Once done, you should see expected licenses |
I just re-run the test. Test-1704E469-03 and Test-1704E469-04 are fixed. Great! Currently just Test-1704E469-02 is open. To close of this issue I would also need some documentation on how we scan. The readme wasn't helpful. What tools are we using? Including upstream link. How are these tools operating. |
There really is MIT license file in
Where do you think would be the best place for such documentation ? |
Interesting.
I don't have a strong opinion on this as we will by copying that documentation somewhere into the product. I would put it into the readme of this repo. |
We also have this document: Currently used data sources and task types in Fabric8-analytics |
@luebken could you please try rerunning the tests again? |
@msrb The tests should be part of https://github.com/fabric8io/fabric8-test/ maybe you can sync with Len on creating & expanding them. I am happy to review them. |
They've already been rerun and 2/3 are green now. The one that fails is the case of detected licenses in io.vertx/vertx-core/3.4.1 being different from declared licenses (upstream eclipse-vertx/vert.x#2043).
Looking at the tests they claim to check 'declared license information', while actually checking 'detected license information'. |
PDD actually specifically talks about declared licenses. Not a word about detected licenses there. So we are probably exposing wrong data via our API. |
Just re-run my manual test 'Test-1704E469-02' and it's still open.
doesn't return any results. |
@luebken could you please confirm that declared licenses is really what we want here? fabric8-analytics is correct about the MIT license in vertx project, upstream just failed to mention it in the manifest file. The question for me is: is it OK to modify the test to also expect MIT to be reported, or do we want to rework API? Thanks 😉 |
I can see that Experience 1704E530 (source license information) has been added to the PDD. But we still don't show detected licenses (also in PDD). @samuzzal-choudhury any thoughts around this? |
@harjinder-hari is the best person ATM to answer this. |
See also upstream's reply about why the MIT is not in pom.xml. |
From @luebken on June 7, 2017 14:5
In the stack report the dependencies should report the licenses declared by the project.
Associated test-cases:
Test-1704E469-02
Test-1704E469-03
Test-1704E469-04
Associated experience:
Copied from original issue: openshiftio/openshift.io#205
The text was updated successfully, but these errors were encountered: