linux-spdx.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Implement SPDX-Copyright
@ 2019-05-24 14:22 Max Mehl
  2019-05-24 14:56 ` Greg KH
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Max Mehl @ 2019-05-24 14:22 UTC (permalink / raw)
  To: linux-spdx

Dear all,

Great to see such a big effort going on so smoothly thanks to the
excellent collaboration here! I would like to make a small suggestion
for further improvement while we are already touching so many files in
Linux.

Currently, the REUSE and SPDX team are discussing the official
introduction of the *SPDX-Copyright* tag [^1] [^2], perhaps for SPDX 2.2
and REUSE 3.0. 

The benefit is that tools can easily detect the correct line which holds
the copyright/author/year information. As of now, there are files which
contain multiple occurrences of the word "Copyright", "©" or "(c)",
which then requires the usage of error-prone logics and patterns.

Let me give a concrete example. The following header from one of the
first patches sent around here:


  // SPDX-License-Identifier: GPL-2.0-or-later
  /*
   * Copyright (C) 2013 Pavel Machek <pavel@ucw.cz>
   * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>


could become:


  // SPDX-License-Identifier: GPL-2.0-or-later
  /*
   * SPDX-Copyright: (C) 2013 Pavel Machek <pavel@ucw.cz>
   * SPDX-Copyright: (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>


The usage of (C) or any other copyright symbols would probably be up to
personal style or legal requirements. All this tag intends to achieve is
to make automatic tooling more robust.

What do you think? Would someone see issues with realising this
technically rather simple change in the same course of action?

Best,
Max


[^1]: https://github.com/fsfe/reuse-docs/pull/23

[^2]: https://github.com/spdx/spdx-spec/issues/122

-- 
Max Mehl - Programme Manager - Free Software Foundation Europe
Contact and information: https://fsfe.org/about/mehl | @mxmehl
Become a supporter of software freedom:  https://fsfe.org/join


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-31  0:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-24 14:22 Implement SPDX-Copyright Max Mehl
2019-05-24 14:56 ` Greg KH
2019-05-24 15:13 ` Allison Randal
2019-05-24 17:19 ` Armijn Hemel - Tjaldur Software Governance Solutions
     [not found] ` <EB311DAA-9909-462C-AE94-7513374683CB@jilayne.com>
2019-05-31  0:26   ` J Lovejoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).