[elbe-devel] [PATCH 1/3] use SPDX tags in headers

Kate Stewart kstewart at linuxfoundation.org
Sat Apr 7 22:23:16 CEST 2018


Hi Manuel,
    In going through the patch,  I'm seeing use of some deprecated
SPDX identifiers,  in particular

SPDX-License-Identifier: GPL-2.0
s/GPL-2.0/GPL-2.0-only/

SPDX-License-Identifier: GPL-3.0+
s/GPL-3.0+/GPL-3.0-or-later/

The deprecated form is still being used in the linux kernel because the
conversions started before release 3.0 of the SPDX License List was
published,
but at some point in the future, the identifiers will be converted over to
become
consistent with the current license list version.    The change was made to
the
new syntax at the request of FSF which is the license owner.
To avoid this extra step,  its probably best to use the ones on the current
license list https://spdx.org/licenses/


The other problem I'm noticing in that when the copyright is updated,
the original date is removed,  which you probably don't want to do.
Copyright syntax provides for the ability to have individual dates,
or a range of dates using the syntax of  "," for changes in specific
years,
or "-" to indicate changes throughout a range of years.   for example:

-# Copyright (C) 2013  Linutronix GmbH
+# Copyright (C) 2015  Linutronix GmbH

Should probably be specified as
Copyright (C) 2013,2015 Linutronix GmbH

but if you know that changes were made in 2014,  you could write it as:
Copyright (C) 2013-2015 Linutronix GmbH


On Thu, Apr 5, 2018 at 9:46 AM, Manuel Traut <manut at linutronix.de> wrote:

> Instead of copying the same license info into each file SPDX [0] should
> be used.
>

Instead of copying the same license info into each file,
an SPDX license list identifier [0] should be used.


>
> This also updates the 'Copyright YYYY' line according to the file history
> from git. The Copyright year is set to the last major change an author did
> on a specific file. A single file can have multiple Copyright lines.
>
> docs/*.txt examples/*.xml schema/* doesn't contain any license
> information at the moment.
>
> [0] https://spdx.org

[0] https://spdx.org/licenses/

Hope this helps,
Kate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20180407/f9e940f8/attachment.html>


More information about the elbe-devel mailing list