Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] legal-info: multiple licenses separator
@ 2013-10-09  7:23 Thomas De Schampheleire
  2013-10-09 13:28 ` Luca Ceresoli
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas De Schampheleire @ 2013-10-09  7:23 UTC (permalink / raw)
  To: buildroot

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.

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.

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.

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.

Thanks for your input,
Thomas

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

end of thread, other threads:[~2013-10-10  8:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-09  7:23 [Buildroot] legal-info: multiple licenses separator Thomas De Schampheleire
2013-10-09 13:28 ` Luca Ceresoli
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox