LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Masahiro Yamada <yamada.masahiro@socionext.com>,
Greg KH <gregkh@linuxfoundation.org>,
Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-spdx@vger.kernel.org
Subject: Re: [GIT PULL] SPDX update for 5.2-rc1 - round 1
Date: Tue, 21 May 2019 23:34:19 -0700 [thread overview]
Message-ID: <eae2d0e80824cc84965c571a0ea097e14d3f498c.camel@perches.com> (raw)
In-Reply-To: <CAK7LNASZWLwYC2E3vBkXhp7wt9zBWkFrR+NTnxTyLn1zO66a0w@mail.gmail.com>
On Wed, 2019-05-22 at 13:32 +0900, Masahiro Yamada wrote:
> On Tue, May 21, 2019 at 10:34 PM Greg KH <gregkh@linuxfoundation.org> wrote:
[]
> > - Add GPL-2.0-only or GPL-2.0-or-later tags to files where our scan
> > tools can determine the license text in the file itself. Where this
> > happens, the license text is removed, in order to cut down on the
> > 700+ different ways we have in the kernel today, in a quest to get
> > rid of all of these.
[]
> I have been wondering for a while
> which version of spdx tags I should use in my work.
>
> I know the 'GPL-2.0' tag is already deprecated.
> (https://spdx.org/licenses/GPL-2.0.html)
>
> But, I saw negative reaction to this:
> https://lore.kernel.org/patchwork/patch/975394/
>
> Nor "-only" / "-or-later" are documented in
> Documentation/process/license-rules.rst
>
> In this patch series, Thomas used 'GPL-2.0-only' and 'GPL-2.0-or-later'
> instead of 'GPL-2.0' and 'GPL-2.0+'.
>
> Now, we have a great number of users of spdx v3 tags.
> $ git grep -P 'SPDX-License-Identifier.*(?:-or-later|-only)'| wc -l
> 4135
> So, what I understood is:
>
> For newly added tags, '*-only' and '*-or-later' are preferred.
>
> (But, we do not convert existing spdx v2 tags globally.)
>
>
> "
> Joe's patch was not merged, but at least
> Documentation/process/license-rules.rst
> should be updated in my opinion.
>
> (Perhaps, checkpatch.pl can suggest newer tags in case
> patch submitters do not even know that deprecation.)
I'd still prefer the kernel use of a single SPDX style.
I don't know why the -only and -or-later forms were
used for this patch, but I like it.
I believe the -only and -or-later are more intelligible
as a trivial reading of
SPDX-License-Identifier: GPL-2.0
would generally mean to me the original
GPL-2.0 license without the elision of the
(or at your option, any later version) bits
whereas
SPDX-License-Identifier: GPL-2.0-only
seems fairly descriptive.
Is it agreed that the GPL-<v>-only and GPL-<v>-or-later
forms should be preferred for new SPDX identifiers?
If so, I'll submit a checkpatch patch.
I could also wire up a patch to checkpatch and docs to
remove the /* */
requirement for .h files and prefer
the generic // form for both .c and
.h files as the
current minimum tooling versions now all allow //
comments
.
next prev parent reply other threads:[~2019-05-22 6:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-21 13:32 Greg KH
2019-05-21 19:55 ` pr-tracker-bot
2019-05-21 19:56 ` Linus Torvalds
2019-05-22 16:34 ` Greg KH
2019-05-22 4:32 ` Masahiro Yamada
2019-05-22 6:34 ` Joe Perches [this message]
2019-05-22 10:14 ` Thomas Gleixner
2019-05-23 2:49 ` Masahiro Yamada
2019-05-23 2:57 ` Joe Perches
2019-05-23 5:33 ` Thomas Gleixner
2019-06-25 11:19 ` Masahiro Yamada
2019-05-29 13:13 ` Alexandre Belloni
2019-05-29 13:51 ` Thomas Gleixner
2019-05-29 14:16 ` Zavras, Alexios
[not found] ` <B03F305C-F579-43E1-BEE7-D628BD44FF48@jilayne.com>
2019-05-31 0:25 ` J Lovejoy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eae2d0e80824cc84965c571a0ea097e14d3f498c.camel@perches.com \
--to=joe@perches.com \
--cc=akpm@linux-foundation.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spdx@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=yamada.masahiro@socionext.com \
--subject='Re: [GIT PULL] SPDX update for 5.2-rc1 - round 1' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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).