Open rohitpandey49 opened 2 years ago
We should probably improve documentation on ignoring files.
In as few words as possible: ignoring files is generally undesirable, except when it isn't. It's undesirable because REUSE requires full coverage for compliance. It becomes a problem in situations like the one you've described.
There are two solutions on the top of my head:
.license
file next to your testdata files. The contents of the testdata files will be ignored, and the contents of the .license
file will be used instead.REUSE-IgnoreStart
and REUSE-IgnoreEnd
in your testdata files. Documentation: https://reuse.readthedocs.io/en/stable/usage.html#ignoring-parts-of-a-fileThere may be more solutions, or more solutions in the future, but I have a meeting in one minute :sweat_smile:
Please also see this FAQ item: https://reuse.software/faq/#exclude-file
@rohitpandey49 does that answer your question?
I'm a bit confused: The author mentions that they added license information for the testdata files via a dep5 file. If that is indeed the case, reuse should not complain at all. So my guess is that there is something wrong with the definitions in the dep5 file, and ignoring files is not actually needed (or desired) in this particular case.
The two complaints I can see are:
Regarding 2, I think the author wanted to fully ignore these. If they would also be copyright holder for the testdata files, they could just slap a license of their wish on them.
During the implementation of the REUSE.software standard, I added the licensing and copyright information to testdata files through dep5. However, reuse tool still shows missing/bad licensing information from testdata files. Is there any method to ignore or any plan in the future?