-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
scripts: zephyr_module: Add URL, PURL and version to SPDX #67913
scripts: zephyr_module: Add URL, PURL and version to SPDX #67913
Conversation
b4b1605
to
eaac89f
Compare
02affed
to
f440dfe
Compare
f440dfe
to
b7cad12
Compare
@mbolivar-ampere I don't understand why the pipeline fails. I've updated files containing Could you help me ? Thanks |
If you think Since there is this line of code, it seems that it should be provided each time: zephyr/scripts/zephyr_module.py Lines 587 to 589 in 9569e44
|
71a0628
to
d34ffdf
Compare
I added the |
d34ffdf
to
147563f
Compare
Forget all I said about Sorry about this. |
7c55cbc
to
ddde9b0
Compare
Improve the SPDX with the current values: - URL: extracted from `git remote`. If more than one remote, URL is not set. - Version: extracted from `git rev-parse` (commit id). - PURL and CPE for Zephyr: generated from URL and version. For zephyr, the tag is extracted, if present, and replace the commit id for the version field. Since official modules does not have tags, tags are not yet extracted for modules. Fix: SPDX relations were missing when adding modules to zephyr.spdx. Signed-off-by: Thomas Gagneret <[email protected]>
ddde9b0
to
897adb6
Compare
PR was splited but everything is now present in the same PR. |
Improve the SPDX with the current values:
git remote
. If more than one remote, URL is not set.git rev-parse
(commit id).For zephyr, the tag is extracted, if present, and replace the commit id for the version field.
Since official modules does not have tags, tags are not yet extracted for modules.
This PR follows this issue and PR #66182 and #66495.