-
Notifications
You must be signed in to change notification settings - Fork 11
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
DJC: Store additional license details in DejaCode on the Package and other models #63
Comments
@DennisClark it could also make sense to store the "other licenses" beyond the main, primary concluded license? ... actually I think you already mention this! |
@pombredanne right, I meant "other licenses" when I wrote "additional licenses"! We need these to be stored to support really detail-oriented analysis and evaluations for organizations that require that. |
ultimately we want to standardize on the following license terminology to be in sync with the open source community:
|
We need one more new field to complete this enhancement request. We already have a notes field on Package, but it is a general purpose field. We should create the following: curation_notes: Text to explain and support the editing of license-expressions and copyright statements on a Package, as well as the usage policy. |
@DennisClark It seems that CDX 1.6 will support reporting declared license in addition to concluded license. |
Note that this issue focuses on Packages (as our first priority) but the model and process changes should apply in the very same manner to Components. Note however that Component license expressions are not normally applied automatically when creating a Component manually, but only when created from a Package. |
It's time to raise the priority on this issue, which is essential to complete the curation process in DejaCode and to document the curation process on a package, component, and Product Inventory item. The new field is actually the "declared license", since the current license expression on those objects are effectively the "concluded license" since they are editable. Basically we should default both to the same license expression when set automatically, so that the editing of a "concluded license" becomes a very important, but optional, step. |
The current state of the models regarding license-related fields: DejaCode
|
Design document (note still in progress) available for review, comments, suggestions, questions!
|
I reviewed the design document and the only changes I made were for diction and reducing the font size for the field references in Roboto. Overall we are covering the "last mile"for data definitions that are already present in DejaCode and other AboutCode modules. |
The design document at
General comment: Unless additional enhancement functional requirements are discovered for the Product Relationship UI, the updates to the Product are relatively light, since most of the impact is in the Package and Component objects. |
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
@DennisClark I've reviewed and commented the design document. Implementation of the new fields started at #130, you can see the details of what is already implemented there. Elements that require to be discussed/defined:
TODO:
|
Signed-off-by: tdruez <tdruez@nexb.com>
@tdruez I have replied to, and mostly provided suggested resolutions for, your comments in the design document. |
Regarding "What's the plan to get any data for those fields for the Component model? Most values for those fields come from Package scanning." On Component, the new fields will get values from manual editing (except for the SPDX-related ones) or import or API. It would be good to copy these fields from Package to Component when a user creates a new Component from a Package. We might also want to consider some kind of data migration that populates existing Components with assigned packages using the related package fields, but I'm not sure that we are ready to sign up for that right now. |
Signed-off-by: tdruez <tdruez@nexb.com>
…Package" #63 Signed-off-by: tdruez <tdruez@nexb.com>
#63 Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Merged and deployed. |
For the "license_declared" field. Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Problem: provide more clarity for "Declared License" vs "Concluded License" .
Benefit: support the completeness of an SBOM.
Create an additional declared_license field on Package. When a package scan is completed update both the current license_expression field and this new declared_license field with the same values. The intention is to retain the declared_license as an historical record, so that the assigned_license field essentially becomes the "concluded license" (we can change the help text on that field).
Store the additional licenses (aka "detected licenses" or "other licenses") from the scan results on the package model as well. This will support deeper analysis and reporting, enabling users to comment on why specific additional licenses impact or do not impact the licensing terms as the package is expected to be used in an organization.
More design details to follow.
The text was updated successfully, but these errors were encountered: