Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate debian/copyright files #926

Open
koalo opened this issue Feb 29, 2024 · 3 comments
Open

Generate debian/copyright files #926

koalo opened this issue Feb 29, 2024 · 3 comments

Comments

@koalo
Copy link

koalo commented Feb 29, 2024

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

@BigBlueHat
Copy link
Contributor

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!

@koalo
Copy link
Author

koalo commented Mar 1, 2024

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?

@carmenbianca
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants