reuse-tool
reuse-tool copied to clipboard
Generate debian/copyright files
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
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!
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?
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.