Skip to content
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

Specify SPDX tag for semver #73

Merged
merged 2 commits into from
Oct 12, 2022
Merged

Specify SPDX tag for semver #73

merged 2 commits into from
Oct 12, 2022

Conversation

kbingham
Copy link
Contributor

The semver utility is not widely packaged by distributions. As such projects may wish to incorporate the script directly as a helper to support packaging and versioning of a project.

In such cases, it is important to ensure that the licence of the semver utility is maintained.

Provide an Apache-2.0 SPDX tag [0][1] within the semver script to ensure the licencing is clear.

[0] https://spdx.dev/ids/
[1] https://spdx.org/licenses/Apache-2.0.html

Signed-off-by: Kieran Bingham kieran.bingham@ideasonboard.com

The semver utility is not widely packaged by distributions. As such
projects may wish to incorporate the script directly as a helper to
support packaging and versioning of a project.

In such cases, it is important to ensure that the licence of the semver
utility is maintained.

Provide an Apache-2.0 SPDX tag [0][1] within the semver script to ensure
the licencing is clear.

[0] https://spdx.dev/ids/
[1] https://spdx.org/licenses/Apache-2.0.html

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
@ranger6
Copy link
Collaborator

ranger6 commented Oct 12, 2022

Looks like a good idea. The inserted tag looks correct to me (after checking the SPDX sites).

I would suggest that a unit test be added that checks that the tag is present. Not critical, but then is someone decides to edit it out, the test will catch it.

@fsaintjacques
Copy link
Owner

@ranger6 there, I added the test.

@fsaintjacques
Copy link
Owner

Thanks for your contribution @kbingham

@fsaintjacques fsaintjacques merged commit 3c76a6f into fsaintjacques:master Oct 12, 2022
@kbingham kbingham deleted the kbingham/spdx branch October 12, 2022 13:09
@kbingham
Copy link
Contributor Author

Thank you!

I'll use this latest version to support my release management for the libcamera project. This semver script is very useful to support the process. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants