cavil icon indicating copy to clipboard operation
cavil copied to clipboard

Make repository REUSE compliant

Open xsuchy opened this issue 2 years ago • 5 comments

See https://reuse.software/spec/

xsuchy avatar Nov 21 '23 14:11 xsuchy

Thanks, i'll have to read up on that spec. Not familiar with it yet.

kraih avatar Nov 21 '23 15:11 kraih

Ignoring the question if we want to use the REUSE spec for Cavil. The license declarations are actually in large parts incorrect. All code and tests are GPL-2.0-or-later. Test data is entirely synthetic and has license declarations (often incorrect ones) merely for testing purposes. One exception being the included tarball of a Mojolicious Perl package release (which has its own set of licensing information) used for testing the unpacker and indexer.

kraih avatar Nov 23 '23 13:11 kraih

Given that openSUSE has not adopted the REUSE spec in any form (i'm not aware it has ever even been discussed), i'm not sure why we would want this metadata in the repo tbh.

kraih avatar Nov 23 '23 13:11 kraih

Of course i can see why this information would be attractive to packagers. But realistically, it's not something you're going to convince many upstream projects of maintaining for you long term. This is for Linux distributions to take care of themselves.

kraih avatar Nov 23 '23 13:11 kraih

It is an interesting question how we should interpret SPDX-License-Identifier: MIT in these headers. I asked our legal for insights. It would be likely better if there were comments that the SPDX-License-Identifier declaration there is just for testing purposes and not declaring actually license.

i'm not sure why we would want this metadata in the repo tbh.

The purpose of REUSE is that you can disambiguate the licenses in project. If... err... When more projects will use it, then projects like Cavil can stop guessing what license projects are using and use this curated data that can be trusted. And maintenance of this data is not big pain. In case of Cavil close to zero.

xsuchy avatar Nov 23 '23 14:11 xsuchy