Bug 1920223
Summary: | Bundler script should flag null licenses for manual review | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ben Beasley <code> |
Component: | nodejs-packaging | Assignee: | NodeJS Packaging SIG <nodejs-sig> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 34 | CC: | code, mrunge, nodejs-sig, sgallagh, tchollingsworth, thrcka, zsvetlik |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | nodejs-packaging-2021.06-1.fc34 nodejs-packaging-2021.06-1.fc33 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-11 01:13:55 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ben Beasley
2021-01-25 20:09:46 UTC
In case it is helpful for examining real-world cases, I have added custom tooling to check for this in nodejs-svgo. I am not necessarily proposing this approach as standard, but it may be informational: https://src.fedoraproject.org/rpms/nodejs-svgo/tree/2a4f8a4fb431a521025dfa31f34ebd827ec74324 See check-null-licenses, which is called in %check, and the audited-null-licenses.toml exceptions file. I will note that I am *not* packaging gtop, which I used here as an example, because my own audit script revealed the https://github.com/substack/node-buffers dependency not only lacks a proper license in its package.json, but declares an “MIT/X11” license in its README.md without providing any full license text anywhere in the package; which, as https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text notes, is a requirement of the MIT license. This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34. I've made some changes to the bundling script to have it loudly announce when dependencies are missing license metadata. Thanks for the bug report! https://src.fedoraproject.org/rpms/nodejs-packaging/pull-request/5 FEDORA-2021-0bc5704285 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-0bc5704285 FEDORA-2021-69c55ffcd7 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-69c55ffcd7 FEDORA-2021-69c55ffcd7 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-69c55ffcd7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-69c55ffcd7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-0bc5704285 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-0bc5704285` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0bc5704285 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-0bc5704285 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-69c55ffcd7 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. |