Re: [libgpiod][PATCH V9 0/8] libgpiod: Add Rust bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux