Re: [PATCH 0/2] SPDX tags for copyright
Uwe Kleine-König <[email protected]>
| Newsgroups | org.kernel.vger.linux-spdx,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hello, [dropped Kai Germaschewski as his email address doesn't work] On Tue, Sep 13, 2022 at 10:20:27AM +0200, Greg KH wrote: > 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 Ah, didn't know about the spdx list (and didn't dare to bother Linus with that). Thanks! > > (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. I didn't find a tool that can extract these informations in the collection of scripts (i.e. below scripts/). Did I miss anything? What is that "well-agreed-upon legal format for copyright lines"? Grepping a bit around, here are some examples: * Portions Copyright (c) 2004-2006 Silicon Graphics, Inc. * - Copyright (C) 2001 Junichi Morita <[email protected]> * **Copyright** |copy| 1999-2020 : LinuxTV Developers * Copyright: |copy| 1995--1999 Martin Mares, <[email protected]> * Copyright (c) 2000 - Jorge Nerin <[email protected]> * Ben Dooks, Copyright 2006 Simtec Electronics * Copyright, IBM Corp. 1999-2002 * :copyright: Copyright (C) 2016 Markus Heiser * Copyright (C) 2015 Atmel, 2015 Nicolas Ferre <[email protected]> and this is just the unusal stuff I found in a few minutes. > 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. When converting a file to use SPDX-License-Identifier adding the SPDX copyright stuff in the same commit might save some churn?! Wasn't the situation with licenses similar before SPDX was in use? i.e. there are scripts that more or less reliably determine the license of a given file. But the "more or less" part results in some unease and so a formalism was introduced. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmMgUXgACgkQwfwUeK3K 7AmOvwgAji8uKSs/IPFcALvH6zvoyDunpy9zv9LhASYTexqk3SC5he8YfZFVvkx1 dOhbgSeBROA0FC/rWFULkERpvKnJ2OnIQho84vsb0QElRphyLG51DOEyuACOsYj7 QPGqB2t8b1UjOyGh0DUYINZDWIbOjzSiZ15yl2PC0+0Xl3w0SU9bjQacLsdCVMDv +tiq9UhSYSovFuhlbZs6CxitHBSc/bI+d65ndqVF8uD6rAX8cjCHwpabMpAn6lKF olQ3Ent3NgT9xa/JWQMRzgpIgQjmBmOyz1s58aBFIP0A/18FGDe1YiCK8LP34em9 O4t3U40funwoRi0G9lCDS1WO8Xi5aA== =SoPo -----END PGP SIGNATURE-----