Bug 2275 - License compliance: failure to detect new license files
Summary: License compliance: failure to detect new license files
Status: RESOLVED DUPLICATE of bug 4517
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: All Multiple
: Low enhancement
Target Milestone: 1.5
Assignee: Beth Flanagan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-04-10 14:47 UTC by Bill Mills
Modified: 2013-05-20 18:38 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Mills 2012-04-10 14:47:43 UTC
For license compliance, the build system should detect when a new license file (of a common name format) is added to sources used in a recipe.

The current system uses digests to detect changes in the text of specific files or file fragments in order to know when a project has changed its license.  However many projects don't change existing license files, instead they add a new one (add COPYING.V3 and leave existing COPYING).  This is done for a number of reasons but a common one is that all code in the project is not changing license.

The current system could be improved by looking for files whose names match specific patterns (COPYING*, etc) and requiring that all such files be called out in meta data.  For performance reasons the depth of the file name search might have to be limited.

My basic concern is that the current system provides a false sense of security and encourages people to skip a manual or in-depth automated license review for newly included project versions if the build system does not produce a warning/error.  I question what % of license changes would really be detected by the current system.
Comment 1 Beth Flanagan 2013-05-20 18:38:12 UTC
Calling this out in 4517

*** This bug has been marked as a duplicate of bug 4517 ***