Bug 16191 - patchtest: report when newly added file is missing an SPDX identifier
Summary: patchtest: report when newly added file is missing an SPDX identifier
Status: NEW
Alias: None
Product: Patchwork/Patchtest
Classification: Yocto Project Subprojects
Component: Patchtest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.1
Assignee: Trevor Gamblin
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-03-05 12:49 UTC by Antonin Godard
Modified: 2026-03-05 15:48 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Godard 2026-03-05 12:49:57 UTC
This came to me when reviewing patches on the OE-Core list and a patch with this issue, but perhaps patchtest could be improved to report when an SPDX identifier is missing in a newly added file. It should be feasible by grepping for "SPDX-License-Identifier:" in the file?