ocaml-opam / Camelus

Bot posting reports on opam-repository pull-request using a web hook
Other
18 stars 9 forks source link

Check for SPDX-valid license name #5

Closed dsheets closed 2 months ago

dsheets commented 8 years ago

This could potentially go in opam lint but it's dependent on an external data source that can change and should be tracked and may represent repository policy rather than a data type constraint.

Related to ocaml/opam#2224.

dsheets commented 8 years ago

Checking for the presence of a license field at all would be a good start toward this per-repository policy.

kit-ty-kate commented 2 months ago

Camelus was retired some years ago but in any case opam >= 2.2.0 now checks for the presence of the license field and its SPDX-compliance (since opam >= 2.1.0) and is thus already done as part of the regular lint check in opam-repository.