On Thu, Nov 17, 2022 at 12:07 PM Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote: > > On Thu, Nov 17, 2022 at 10:56 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote: > > > > On 17-11-22, 10:06, Bartosz Golaszewski wrote: > > > > > > Just use regular SPDX header at the top of the file in a # comment block? > > > > Miguel ? Kent ? > > In the kernel at least, all files (including docs) should have an SPDX line. > > However, configuration files which use a publicly documented format > (things like dot files) are not copyrightable apparently, and it was > proposed that the `scripts/spdxexclude` kernel script excludes those > [1], but the patch has not been merged (yet?) since I raised a couple > questions about how to handle those (sorry...). > > So I am not sure if e.g. `Cargo.toml` should have a SPDX license > identifier or not. > > [1] https://lore.kernel.org/lkml/20220516102615.884180377@xxxxxxxxxxxxx/ > > Cheers, > Miguel Ha! I wasn't even aware of this spdxexclude and spdxcheck mechanism. What does spdxcheck do better than reuse lint other than having its own ignore list? I'm not sure I want to import it into libgpiod though. Reuse docs say: --- You probably will have files in your project that you do not find particularly copyrightable, for example configuration files such as .gitignore. Intuitively you may not want to license these files, but the fundamental idea of REUSE is that all your files will clearly have their copyright and licensing marked. --- So I'd say - just use CC0-1.0 license in Cargo.toml? Bart