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
Query: How can I tag the DCO file and satisfy reuse lint? #261
Comments
You can make REUSE understand a custom license, see this FAQ entry. However, I doubt that a DCO qualifies as a license, it's rather an agreement between contributor and distributor. Therefore, I am not sure whether you want REUSE to treat the DCO different than just a text file, and make the README or a |
@mxmehl What would I put in |
The copyright field would be rather straightforward: Regarding the license of this files, that's interesting. There is the phrase "Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed." which we know from various GPL licenses for example, but because REUSE does not handle licenses of licenses (as it "ignores" One way would be to add a custom license (see the aforementioned FAQ entry), and add this text as its only content. However, I'll clarify this internally and come back to you if you can wait a bit. |
Thanks! No rush. Just want to make sure I'm using the tool as intended (and therefore demonstrating it to others correctly 😊). |
Note that the DCO is handling inbound licensing, while the REUSE spec is about storing the outbound licensing situation. This is similarly the reason why DCO does not have an SPDX ID – it is essentially a CLA, not an outbound license. Here is what I would do:
|
For the record, this would also be my recommendation following an internal discussion today. |
I include a verbatim copy of the Developer Certificate of Origin in my Git repo as a convenient reference to potential contributors. It states:
I cannot find an appropriate license code for this file at https://spdx.org/licenses/
I assume that, like license files themselves, I should be able to include the DCO text file in my codebase and satisfy
reuse lint
. How can I do that?Suggested solutions
Assuming I haven't simply missed an existing way to do this:
Allow
DCO.txt
to be added to theLICENSES
folder, even though it is not a SPDX license and may not be referenced anywhere else.Convince SPDX to add the DCO to their license list, so that a project can be licensed as (for example)
LGPL-2.1-only AND DCO
. Or maybe WITH?Commit
DCO.txt
and then exclude it with.gitignore
(seems hacky)Declare it as a custom license https://reuse.software/faq/#custom-license
The text was updated successfully, but these errors were encountered: