fleetlint Policy for a fleet of repositories
v0.5
Getting started

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.

Severityinfo
Tiers1
Stacksany
Scopeeach
Kindcapability
Sourcelibrary v0.2.0
Selected byfleetlint-recommended@v0.2.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.public

Fix

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.

See: https://fleetlint.org/baseline/#public-repositories


Generated by fleetlint docs from catalog v0.2.0.