Closed fmoessbauer closed 1 month ago
licensee detect
output:
License: MPL-2.0
Matched files: LICENSE, README.md
LICENSE:
Content hash: 820048a1dbef5dfac65547bd9eb935beb76b2257
Confidence: 100.00%
Matcher: Licensee::Matchers::Exact
License: MPL-2.0
Little question, is https://github.com/siemens/linux-entra-sso/blob/main/LICENSES/MPL-2.0.txt needed for reuse ? Also if you have the LICENSE within the root folder?
Little question, is https://github.com/siemens/linux-entra-sso/blob/main/LICENSES/MPL-2.0.txt needed for reuse ? Also if you have the LICENSE within the root folder?
Unfortunately that duplication is needed. Otherwise reuse fails:
# SUMMARY
* Bad licenses: 0
* Deprecated licenses: 0
* Licenses without file extension: 0
* Missing licenses: MPL-2.0
* Unused licenses: 0
* Used licenses: MPL-2.0
* Read errors: 0
* files with copyright information: 26 / 26
* files with license information: 26 / 26
The licensee tool is used by github (and others) to detect the name, version and attribution of a repositories license. In case of github, this data is then shown in the summary page, making it easily available to users. As we did not provide a LICENSE or copying file, but just stated the license in the README.md, the tooling was not able to detect the license with a sufficiently high confidence to show this as MPL-2.0.
We copy the license file from the LICENSES dir to the repo root, as neither licensee nor reuse lint supports symlinks. The change does not change the license itself in any form. It is just about making it accessible to tooling.