eclipse / kuksa.val

kuksa.val
Apache License 2.0
95 stars 51 forks source link

Automatic check of licenses in source files #486

Closed erikbosch closed 1 year ago

erikbosch commented 1 year ago

To avoid that we end up with source code files without proper license text it would be great if our CI could make at least some basic checks, like finding all files with a certain suffix (.rs, .py, ...) and do a grep to check that it contains an SPDX line.

SebastianSchildt commented 1 year ago

Just dropping some things I came accross https://github.com/openMSL/sl-1-0-sensor-model-repository-template/blob/main/.github/workflows/spdx.yml

https://github.com/Persival-GmbH/spdx https://github.com/enarx/spdx

lukasmittag commented 1 year ago

This should be supported in feeders and services repo too. I guess.