[CM] s7 license
IOhannes m zmoelnig
zmoelnig at iem.at
Mon Nov 9 01:23:14 PST 2026
hi,
disclaimer: i'm only a casual observer of the project, so there's
absolutely nothing "authoritative" in what i write below...
On 11/9/26 08:41, Andy Tai wrote:
> The LICENSE file of s7 scheme [...] now has one line [...:] 0-clause BSD
>
> While the license seems a simple BSD license, can that LICENSE file be
> replaced with the actual license text? Since this is a legal
> document, clarifying the license text is important for users of s7
> scheme
afaik, these days people are moving to SPDX identifiers rather than
duplicating license texts all over.
see <https://spdx.org> and <https://reuse.software>
it boils down to something like adding a boilerplate to each source file
that declares the license for this particular file:
~~~
# SPDX-FileCopyrightText: 2016, 2018-2019 Jane Doe <jane at example.com>
# SPDX-FileCopyrightText: 2019 Example Organisation
#
# SPDX-License-Identifier: GPL-3.0-or-later
~~~
the beauty of this is that:
- the license is bound the the licensed file in question.
so it's still available, even when having an isolated look at the
file, without having access to some other file that has a not well
defined name (e.g.: was it "LICENSE", "LICENSE.txt", "COPYING.md" or
something else?))
- it allows for licensing different files under different licenses.
so a contribution to your "GNU General Public License v3.0 or later"
project might be licensed under the "BSD Zero Clause License"
- it's unambiguous.
so a consumer of the license does not need to verify that the content
of the "LICENSE" file is indeed what it appears to be. (that is: you can
be sure, that the license is indeed the 'BSD 3-Clause "New" or "Revised"
License' license rather than some slight alteration like the
'Hewlett-Packard BSD variant license')
- it's fully machine readable.
so you can automatically verify that all components of a chain of
dependencies are indeed compatible
having said all that, the good news is that the core implementation of
bill's s7 scheme (as per
<https://cm-gitlab.stanford.edu/bil/s7/-/raw/1de0e882c54e774651376b3b56b5f0f5a9e5aaa0/s7.c>)
already contains an SPDX identifier:
~~~
* SPDX-License-Identifier: 0BSD
* SPDX-FileCopyrightText: 2008 Bill Schottstaedt,
bil at ccrma.stanford.edu (and others)
~~~
which makes the licensing situation pretty clear.
i think what *could* be improved is:
- add SPDX license identifiers to all the source files (*.c, *.h, *.scm,...)
- use the SPDX license identifier in the common LICENSE file as well
e.g. (based on <https://github.com/torvalds/linux/blob/74835c7/COPYING>):
~~~
snd is provided under:
SPDX-License-Identifier: 0BSD
~~~
so to answer your request: I do not think there's a need to spell out
the full license for a well known license such as "0-clause BSD", as
long as we stick to established short license IDs.
gasdrm
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20261109/857a3d1c/attachment.sig>
More information about the Cmdist
mailing list