public/manifest-license
Package manifest declares the license
A capability: each stack checks it with its own tools. Implemented for cpp, dotnet, flutter, go, hugo, java, kotlin, node, php, python, ruby, rust.
Combine: all. Every implementation that runs must pass: each stack in the repository meets the requirement with its own tools.
| Severity | info |
| Tiers | 1 |
| Stacks | any |
| Scope | each |
| Kind | capability |
| Source | library v0.6.0 |
| Selected by | fleetlint-recommended@v0.6.0 |
Requirement
A published package’s manifest names its license with an SPDX expression, so registries, SBOM tools and license checkers see it. Packages marked private or unpublished are not checked; stacks whose manifest has no license field say so.
Why
Registries, SBOM tools and license checkers read the manifest, not the LICENSE file.
Applies when
repo.publicFix
Add the SPDX identifier of the LICENSE file to the manifest. GNU licenses are left to you: write -only or -or-later, which the license text does not decide.
Agent instruction: Set the manifest’s license field to the SPDX identifier matching the LICENSE file; ask if the LICENSE text is not a recognised license.
Sources
- https://spdx.org/licenses/ (spec)
- https://fleetlint.org/baseline/#public-repositories (convention)
Generated by fleetlint docs from catalog v0.6.0.