-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Edited amalgamated file generator, to block REUSE from getting confused #2730
Conversation
It struggled with the copyright lines included as string literals.
Codecov Report
@@ Coverage Diff @@
## devel #2730 +/- ##
=======================================
Coverage 91.30% 91.30%
=======================================
Files 192 192
Lines 7848 7848
=======================================
Hits 7165 7165
Misses 683 683 |
What doesn't? |
Here's the result of "reuse lint": Mostly missing the license by name in the LICENSES folder (easy fix: All the "code" files and markdown docs should be pretty easy, just add the copyright and Ideally you'd be able to get all the stuff marked up without having to put data in a |
Thanks, I'll merge the change to the generator. I also looked at the report, and have some thoughts:
|
Thanks for the merge! The REUSE tool is not a general purpose license extractor, it's explicitly for folks who are trying to follow the REUSE specification that describes specific formats of easy to parse machine readable copyright and license data in every file. It's definitely "overkill" by some standards but it is easy to check and enforce so it can be a nice habit. I think I will just end up subsetting this repo in our own to exclude files we don't need, which should include all the ones that REUSE is complaining about, which will further solve our project's problem, so no worries there. |
Description
I use the REUSE tool to generate a software bill-of-materials
for projects I work on. Some of them include a copy of Catch2. However, the REUSE
tool gets confused by code or docs that include things that look like copyright/license statements.
(Without this patch, the following error happens:
)
They do support comments to disable recognition, so I have added those in the script in question
(It would be really cool if all of Catch2 passed REUSE, but at least not breaking the tool is a start.)