Show License Management results in the MR widget
Description
License Management results are available as artifacts (https://gitlab.com/gitlab-org/gitlab-ee/issues/5483).
We need to show diffs in the MR widget, in a similar way we do for Code Quality and other reports.
Proposal
Create a new panel in the MR widget to show License Management results as diffs between head
and base
reports for the specific branch. This could be very similar to the Code Quality widget.
The summary should report how many new unique licenses have been found. The details will show the list of licenses, and the related dependencies as a secondary information. The focus should be on licenses, rather than dependencies.
The goal of this iteration is just to make users aware that they are introducing a new license that was not previously in any of the existing dependencies.
And since we don't have approvals/blacklisting of licenses yet (https://gitlab.com/gitlab-org/gitlab-ee/issues/5488), all the items will be unapproved.
The next iteration will allow proper management and policies.
Design
1. Loading license management report
2. Detected new licenses (collapsed)
3. Detected new licenses (expanded; dependancies collapsed)
Note: The name of the license is linked to the license's URL (can be obtained from license_finder
report). If the URL is not available, the license name is displayed as plain text, as shown above for the second license in the list.
4. Detected new licenses (expanded; dependancies expanded)
5. No new licenses detected
6. Error when loading license management report
Copy
- loading
- Spinner icon
Loading license management report
- detected
- Exclamation mark icon
License management detected 3 new licenses
- not detected
- Pass icon
License management detected no new licenses
- error
- Exclamation mark icon
Loading license management report resulted in an error
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.