Skip to content

Make SPDX headers consistent and complete - #63

Merged
dragotin merged 1 commit into
opencloud-eu:mainfrom
toxicphreAK:split/spdx-headers
Sep 4, 2026
Merged

Make SPDX headers consistent and complete#63
dragotin merged 1 commit into
opencloud-eu:mainfrom
toxicphreAK:split/spdx-headers

Conversation

@toxicphreAK

@toxicphreAK toxicphreAK commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Split out of #54.

src/openvfs/ is one library in one directory but gave three licensing answers: four files GPL-3.0-or-later, openvfs.cpp GPL-2.0-or-later, and three files in src/openvfsfuse/ with no tag at all. libopenvfs is what downstream clients link against, so its license determines the license of the combined binary they ship.

openvfs.cpp aligned with the other four and with the top-level LICENSE, missing tags added to main.cpp and sharedmap.{h,cpp} (which already carried the full GPL-3 notice in prose), and the tag in strtools.h moved above the include guard like everywhere else.

socketthread.{h,cpp} deliberately left alone — they carry third-party MIT code alongside the GPL-3 notice, and pinning one expression on that is your call, not a drive-by fix. A REUSE.toml would make the tree checkable with reuse lint; happy to do that as a follow-up if you want it.

src/openvfs/ is one library in one directory but gave three different
licensing answers: four files GPL-3.0-or-later, openvfs.cpp
GPL-2.0-or-later, and three files in src/openvfsfuse/ with no SPDX tag
at all. libopenvfs is what downstream sync clients link against, so its
license determines the license of the combined binary they ship --
anyone doing that assessment got a different answer depending on which
file they opened first.

openvfs.cpp is aligned with the other four and with the top-level
LICENSE, the missing tags are added to main.cpp and sharedmap.{h,cpp}
(which already carried the full GPL-3 notice in prose), and the tag in
strtools.h moves above the include guard like everywhere else.

socketthread.{h,cpp} are deliberately left alone: they carry third-party
MIT code by David Lafreniere alongside the GPL-3 notice, and pinning a
single machine-readable expression on that combination is the
maintainers' call, not a drive-by fix. A REUSE.toml would make the whole
tree checkable with `reuse lint` and is worth doing as a follow-up.
@dragotin
dragotin merged commit 3d72711 into opencloud-eu:main Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants