-
Notifications
You must be signed in to change notification settings - Fork 95
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
Generation of copyright files #697
Comments
I think this is a very good idea! Also looking very much forward to having correct copyright files! |
This is a question for @nuclearsandwich and @cottsay. Having a dependency on that tool might be acceptable, but they would know better. In general, I support the idea, it's something we always wanted, but never had the resources to make it happen. |
Thanks for the support @wjwwood. Sorry, I assumed you were the maintainer. |
That really make it easy to have better overview of package copyrights . And that's vital for all of us, having commercial use of ROS in mind. |
@nuclearsandwich @cottsay friendly ping 😄 |
Yes this is very important for commercial use cases and doing our due diligence to respect everyone's copyrights involved. Happy to help out if needed! |
Since I did not get any confirmation by the maintainers for this but I still think my proposed course of action makes sense, I will start to implement the changes next week. Maybe a concrete proposal in form of a pr is easier to judge. |
This issue has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-4-20-2023/31087/1 |
This issue has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2023-05-18/31587/1 |
This issue has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2023-06-15/32038/1 |
This issue has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/changes-in-the-package-xml-about-licensing/32118/1 |
Background
Debian packages need copyright files according to this format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/. Currently, copyright files are created by this template https://github.com/ros-infrastructure/bloom/blob/master/bloom/generators/debian/templates/ament_python/copyright.em. Which is producing copyright files that are not strictly following the format.
This is partly because not all the required information is available in current
package.xml
s. To add the needed information @ralph-lange created ros-infrastructure/rep#347.ros_license_linter
The linter https://github.com/boschresearch/ros_license_linter has two intended functionalities:
package.xml
is correct, by scanning the code for existing licenses and comparing that to the declared licenses.But currently, only the first functionality is implemented.
In a second step, it makes sense to integrate the linter into ament_lint and to make it available as github action.
Why should we have the functionality in a separate package?
There is quite some overlap between the two functionalities of license checking and copyright file creation. So, integrating the functionality to generate copyright files into bloom would create a lot of code duplication when also integrating it into ament_lint.
My Question
With this issue, I would like to ask you @wjwwood, whether you generally agree with this. Because I would then start to implement the PR that would add https://github.com/boschresearch/ros_license_linter as a dependency of bloom and improve the generation of copyright files to match the required format.
Further steps
ros-infrastructure
org and to maybe renaming it to something more suitable.The text was updated successfully, but these errors were encountered: