-
Notifications
You must be signed in to change notification settings - Fork 105
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
Improved licencse matching #358
Conversation
5bdcc64
to
8353faa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good, @zflat. By the way, it looks like there are some code style errors in CI: https://ci.ros2.org/job/ci_linux/16480/testReport/junit/ament_copyright.test/test_flake8/test_flake8/. |
@clalancette I addressed the code styling with this change: 15d5d7e I see the |
I think the more information needed tag refers to that this is waiting on the tests to be implemented, once the other PR is merged in. |
Signed-off-by: William Wedler <william.wedler@resquared.com>
Signed-off-by: William Wedler <william.wedler@resquared.com>
Signed-off-by: William Wedler <william.wedler@resquared.com>
15d5d7e
to
5c72d14
Compare
Signed-off-by: William Wedler <william.wedler@resquared.com>
5c72d14
to
be3120b
Compare
Signed-off-by: William Wedler <william.wedler@resquared.com>
@audrow @methylDragon I added test coverage for the changes in this pull request. Can I please get a re-review? |
@methylDragon Thanks for kicking off CI! Unfortunately, I think this needs a new build because
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, new tests pass: https://ci.ros2.org/job/ci_linux/16838/testReport/ament_copyright.test/test_parser/
I am using the approach described in https://answers.ros.org/question/343351/whats-the-proper-way-to-use-a-proprietary-software-license-according-to-ament_copyright/?answer=343355#post-id-343355 to add a proprietary license for my organization that can be enforced with
ament_copyright
. One issue I am running into is that the license header has multiple references to a copyright statement so the current license matching fails.I would like to update the license matching to split the license header into sections separated by
{copyright_holder}
or{copyright}
. The current matching only splits into sections by{coyright_holder}
.Here is an abbreviated example of the license header template I need this to work with: