-
-
Notifications
You must be signed in to change notification settings - Fork 572
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
Missing licenses from ST #1549
Comments
Thanks: this is great One small note: we usually prefer using |
ping? |
Anything else you want me to do in this case? |
@MMarwedel a pull request would be best if you can manage that. Otherwise it is your call to make two new licenses or one license and some new rules. |
The full text is what we want as a reference text. The text of the notice has been moved as a detection rule/ Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@MMarwedel thank you for your PR: I merged #1559 in the branch you requested and that will eventually be merged in develop once all the test runs are completed. Thank you again for your contributions. For reference any incorrect or missing license detection is treated as a bug, so if you find more of these, please enter a ticket as you did here. |
Actually I did revisit this as I was finding highly suspicious that the commits for #900 and #662 were not correct as the ticket was for the same license URL...
http://www.st.com/content/ccc/resource/legal/legal_agreement/license_agreement/de/fc/f7/32/a0/8b/4f/db/ultimate-liberty-v2.txt/files/ultimate-liberty-v2.txt/jcr:content/translations/en.ultimate-liberty-v2.txt I was expecting this to be one added by #900 but while very close they are different.
I have attached and formatted these three texts for reference: What do you think we should do for sorting out this mess?
|
This license is ... messy! Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Thanks for doing the work for sorting this things out. Maybe contacting ST is the best solution. I dont have a good idea at the moment. |
@MMarwedel let me ping the them here. I cannot hurt! |
The full text is what we want as a reference text. The text of the notice has been moved as a detection rule/ Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This license is ... messy! Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
I found this issue, it's related to ST so I am reporting here their new license format. I don't know how actually can scancode detect their license properly. What they do in the recent components, add LICENSE file that lists either full text license, and the files contain only this:
It's not easy to find out what is root if the component is distributed as part of bigger software pack. How shall this work? I find this format hard to play with license checking software. |
@0xc0170 I had missed this when you posted it ....
Yes, this is a difficult and weird thing to handle as this is ambiguous. Some thoughts:
|
Hello,
ST uses two types of licenses, which are currently not detected.
The first one has additional requirements to the BSD-style license, and is currently detected as simply BSD.
You can find multiple samples of this here on Github, like:
https://github.com/akospasztor/stm32-bootloader/blob/master/Middlewares/Third_Party/FatFs/src/diskio.c
or
https://github.com/aws/amazon-freertos/blob/master/lib/third_party/mcu_vendor/st/stm32l475_discovery/BSP/B-L475E-IOT01/stm32l475e_iot01_tsensor.c
The second one is something "different":
https://github.com/micropython/micropython/blob/master/ports/stm32/usbhost/Class/AUDIO/Inc/usbh_audio.h
or
https://github.com/JoeMerten/Stm32-Tools-Evaluation/blob/master/STM32Cube_FW_F4_V1.9.0/Middlewares/ST/STM32_USB_Host_Library/Core/Src/usbh_core.c
The license is already named in #662 but is declared resolved in #900 however, the license text added in #900 is different.
The following rules add a detection, I welcome a better naming of the files/rules and category.
missingLicenses.zip
The text was updated successfully, but these errors were encountered: