reuse-tool icon indicating copy to clipboard operation
reuse-tool copied to clipboard

Generate debian/copyright files

Open koalo opened this issue 1 year ago • 3 comments

Hi, is there any easy way to reuse ( ;-) ) the copyright information processed by reuse to generate debian/copyright files (https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/) so we do not have to maintain that file manually?

Thanks, Florian

koalo avatar Feb 29 '24 09:02 koalo

I use the "missing license" output from the console and then make one by hand. Certainly the data's there. Harder problem would be managing it long term (and finding unused paths, etc.).

Would definitely be handy, though!

BigBlueHat avatar Feb 29 '24 22:02 BigBlueHat

What do you mean with "managing it long term"? I would expect you could just regenerate the copyright file for every release and avoid making manual changes to that file. Or do I overlook something?

koalo avatar Mar 01 '24 06:03 koalo

I'm not sure this will be built in, but you could very easily run reuse lint --json to get all the data needed to generate a debian/copyright file. It will be very terse (without any globs), but complete.

carmenbianca avatar Mar 04 '24 09:03 carmenbianca