New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reuse spdx should exclude the tag from FileCopyrightText
#536
Comments
|
Makes sense. To extend, Carmen was referring to everything after the matched copyright string (Copyright, C-symbol, SPDX etc), but that it's harder for just |
|
@silverhook could we please ask for your legal opinion here? In today's call we were unsure what role Asked the other way round: If we removed Our gut feeling, also stemmed from experiences with how sensible companies treat these copyright lines, was that the SPDX tag does not count to the actual copyright statement but just introduces it, unlike the "traditional" copyright statements. Depending on your assessment we'd treat the SPDX as a special case here and remove it, or would try to find a more general solution. |
|
@mxmehl , you mean from the theoretical copyright law PoV or from the practical compliance PoV? From the copyright law PoV, as I wrote in my blog post, the only copyright notice formality that can be found in several copyright laws in the world is the actual From the practical compliance PoV, the Everything after the tag is the copyright notice and should be kept intact by a tool. The SPDX Document’s curator can (later) decide whether to normalise, fix typos or otherwise change the copyright texts, if they feel so (e.g. like through FOSSology, OpossumUI or other auditing tool), but I would argue that should not be automated. Some people take the “keep the copyright notices intact” requirement very (maybe even too) seriously. |
|
Hi @silverhook, thanks for your comment (and for linking your article, it's really interesting!)
My point is that the REUSE spec states that To make my point clearer, here's an example of what
The The last two examples show how While I think that the behaviour of point 1 and 2 is pretty uncontroversial, I can see how we could discuss whether or not point 3 and 4 represent the correct thing to do or not. If we want to preserve diff --git a/spec.md b/spec.md
index 94b2dfe..52d4b4b 100644
--- a/spec.md
+++ b/spec.md
@@ -118,7 +118,7 @@ a text value, and terminated by a newline.
The `SPDX-FileCopyrightText` tag MUST be followed by a copyright notice.
Instead of the `SPDX-FileCopyrightText` tag, the symbol `©`, or the word `Copyright` MAY
-be used, in which case a colon is not needed.
+be used, in which case a colon is not needed, and they'll be part of the notice too.
The `SPDX-License-Identifier` tag MUST be followed by a valid SPDX License
Expression describing the licensing of the file (example:(the diff above is just an example, the wording could be much better) |
|
I agree with @Tachi107 , if we’re to keep That being said, I think it’s time we deprecate (i.e. mark as such in spec and let The reason for keeping the two as valid “tag” alternatives was to ease the adoption for projects that already have their own copyright notices and did not want to change them. I think it’s time we can be a bit more strict when it comes to best practices. Both SPDX and REUSE have gotten quite some traction by now. And if anyone really can (or will) not use |
(Mentioned in #59 (comment), but opening as a separate issue because the request is not the same)
The REUSE spec states that
As
SPDX-FileCopyrightText,©, andCopyrightare followed by the copyright notice, it means that they are not part of the notice itself, and shouldn't be part of the outputtedFileCopyrightText.In #59 (comment), @carmenbianca mentioned that "It'd be fairly trivial to only take everything AFTER the copyright tag".
Of course this is only my opinion, and I may be failing to see why including the various tags is important and not superfluous.
The text was updated successfully, but these errors were encountered: