From: Luca Ceresoli <luca@lucaceresoli.net>
To: buildroot@busybox.net
Subject: [Buildroot] legal-info: multiple licenses separator
Date: Wed, 09 Oct 2013 15:28:53 +0200 [thread overview]
Message-ID: <52555A15.3030504@lucaceresoli.net> (raw)
In-Reply-To: <CAAXf6LXusXB0QSG_EHOv8VpcEY+mpuUeW-pvnXtWNUrFfb_0Kg@mail.gmail.com>
Hi Thomas,
Thomas De Schampheleire wrote:
> Hi Luca, all,
>
> FOO_LICENSE_FILES is a space-separated list according to the manual,
> and the code correctly reflects this.
> The manual does not specify whether FOO_LICENSE is space-separated or
> comma-separated, and the code has a mix of both. I think we should
> clarify this and line up everything with the decision.
We agreed FOO_LICENSE is just a text string.
It should be formatted such that it is as far as possible concise,
informative and correct.
>
> I believe the comma provides more clarity for complex licenses like
> FOO_LICENSE = GPLv2+, GPLv2 (py-smbus)
> I believe it is more clear here that GPLv2 applies to py-smbus, and
> GPLv2+ to all the rest.
Yes, this is the most clear syntax to me, and IIRC we agreed to use
this in the past.
>
> However, the comma conflicts with the comma separator of the CSV
> manifest. This looks like:
> "foo","1.2","GPLv2+, GPLv2 (py-smbus)","COPYING"
> while the quotes probably make standard CSV imports work correctly,
> basic command-line tools like cut won't because it would also split on
> the intermediate comma. With awk you can split on "," and manually
> remove the leading and trailing " on the line, but it's a bit more
> complex.
Yeah, you definitely have a point.
>
> I think that if we accept the comma in FOO_LICENSE, we should replace
> the separator in the manifest with something else, for example a
> semicolon ; which would not typically appear in any of the other
> fields.
I'm OK with this change. Before that we'll have to fix a few packages
though.
At a quick analysis it seems we have 7 packages with ';' in their _LICENSE:
$ git grep -E '_LICENSE[^_].*;' -- package/ | wc -l
7
$
And one of them has both ';' and ',':
$ git grep -hE '_LICENSE[^_].*;' -- package/|grep ,
NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses
(Bundled components)
$
--
Luca
next prev parent reply other threads:[~2013-10-09 13:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 7:23 [Buildroot] legal-info: multiple licenses separator Thomas De Schampheleire
2013-10-09 13:28 ` Luca Ceresoli [this message]
2013-10-09 13:55 ` Thomas De Schampheleire
2013-10-10 6:44 ` Arnout Vandecappelle
2013-10-10 7:53 ` Thomas Petazzoni
2013-10-10 8:17 ` Thomas De Schampheleire
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=52555A15.3030504@lucaceresoli.net \
--to=luca@lucaceresoli.net \
--cc=buildroot@busybox.net \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox