Re: How to handle copyright notices in testdata intended for license validation tools?

Soren Stoutner <[email protected]> Tue, 25 Nov 2025 12:52:33 -0700
Newsgroups gmane.linux.debian.devel.legal
Organization Debian
Message-ID <2469726.1EsLJ0VmTh@soren-desktop>
On Sunday, November 23, 2025 8:20:15 PM Mountain Standard Time Richard Laager 
wrote:
> All of this is just my opinion, of course...
> 
> If it were my package, I'd probably do something like this (which could 
> list multiple files):
> 
> Files: testdata/valid-evidence.json
> Copyright: OWASP Foundation
> License: Apache-2.0
> Comment:
>    This file contains strings that are test copyright statements, which
>    are being used as a test vector for proper license/copyright parsing.
>    They do not correspond to any copyright of this package.
> 
> That way, you are really explicit about which files have the issue. If 
> you put the comment at the top-level and just say "Several files", it's 
> a lot less clear which files you're talking about. You said it was many, 
> and I haven't looked at the package itself, so I might do something 
> different if it was really a large number that couldn't be covered by 
> glob patterns.
> 
> I wouldn't copy the fake copyright statements into debian/copyright. 
> That feels wrong to me.

I also agree with this approach.

-- 
Soren Stoutner
[email protected]
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmkmCQEACgkQwufLJ66w
tgPAfA/9GJ3EJl9vJHH/jZMC5HedX45my+xSco7MZAkPhZgphJ2fEyJo+0cK164i
yfpAdY43O3XPDLoP8V4FM8WVtz3hRv8I8T8O08B9dAadg7aIiqkC5fxfUc0zuQPe
Y5MH3DhOLEYtm8L19ev9DQNkEOUQ4RdCXVf/XS/gTnWQPW1ONGosCia0TArSdOf2
1pis5U77/AXRikAmIqNNUVn5thLen5z8iJDxljFH70iIsBu1vl3mO8eFnGGtA3z+
2cIusyAojonWs2Fwd81rHsTWTG12/dcegR1uSqzlb1wb7NvILeUgX/vPVqoAVGeB
rlFzrbYHLjeWZWrDHy4CLTZzUVxcfA2n2//zexTQjgAUhti9xMO/7/Jc8o3e8iJ5
hgZmT+ZoFp7inSZ769Ks04TNgE1cc28VqVnmdatsKC3KlNydydBPs/egxJY+Yb+w
K1tdAuqjLi0WTcPxaPEuoYFMppufIoqY9tpP0DXpeX+em7qo+zdF/np/5/gWmuw7
dZ1OgZGWJzc4Fqu3va82u+HQqkyn+LXVJL4WU+LsHLHmRGok5Tc+eqfQcGlJEu3K
5Snezq9VjOeMEvI44Gxwlf8NT8uIhbkg6KgQSfRQ0+KXK+ydnLy4C32078ChK9le
GAGNpUZSL+Fxk9eYZAIW6cXvIK10hrjX/dncRSRVciRSBSm7JNk=
=koFP
-----END PGP SIGNATURE-----