Re: [PATCH 0/2] SPDX tags for copyright

From: Greg KH
Date: Tue Sep 13 2022 - 04:20:17 EST


On Mon, Sep 12, 2022 at 10:05:54PM -0700, Christoph Hellwig wrote:
> On Fri, Sep 09, 2022 at 12:38:48AM +0200, Uwe Kleine-König wrote:
> > Hello,
> >
> > for Debian packaging having SPDX license tags already simplifies
> > creating the required copyright documentation considerably. Another
> > information that is needed for Debian packaging is the copyright
> > information. There is an SPDX way for copyright information, too. The
> > second patch converts scripts/kallsyms.c to that mechanism as an example
> > to maybe discuss if we want to do that in the kernel.
> >
> > While the SPDX-FileCopyrightText is officially a free-form field, I
> > suggest to just stick to the format
> >
> > (<year> )?<copyright holder>
> >
> > to simplify machine consumption even further.
>
> Adding the linux-spdx list and Linus. If we go with this format
> (which doesn't sound bad), we'll clearly need to document the format
> we want, and that people should use it.
>

There is a well-agreed-apon legal format for copyright lines already,
and those lines should be fine in the comment text at the top of the
file. No need to mess with SPDX-FileWhateverTagWeWant type of stuff
here at all as all of our tools can easily find those lines if they
really want to extract the copyright information.

SPDX is great for license declarations, let's stick with only using that
for now until we finish the whole kernel and then maybe we can worry
about adding additional meta information if it's really decided it can
benifit anyone.

For now, copyright lines don't seem worth it to me, just leave them in a
comment block please.

thanks,

greg k-h