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

Mention a method to iterate over all files #39

Open
nicorikken opened this issue Jan 12, 2022 · 1 comment
Open

Mention a method to iterate over all files #39

nicorikken opened this issue Jan 12, 2022 · 1 comment

Comments

@nicorikken
Copy link
Member

The common use-case for people starting with REUSE is to apply the headers to all files in the repository. The tutorial website doesn't currently hint at such a method, resulting in people wondering how to do so (I've had this question twice after pointing to the official docs). As was mentioned in a REUSE github issue already, this can be done by using $ git ls-files | xargs reuse addheader .... Hinting at the piping options would be helpful to people wanting to adopt REUSE.

I propose to mention it in these locations:

What do you think?

@mxmehl
Copy link
Member

mxmehl commented Jan 12, 2022

Definitely, but it would even be better if we had fsfe/reuse-tool#158 done before that.

fsfe/reuse-tool#291 also seems a bit connected to your issue.

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

2 participants