-
Notifications
You must be signed in to change notification settings - Fork 150
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
reuse cannot parse SPDX information when part of a template #667
Comments
Well, the error makes sense in that We have an reuse ignore tag Line 42 in d9c0d27
|
Exactly, that's the main issue. I would like to completely ignore the file using the |
So far no, because our goal is standards compliance, not passing the linter. Other tools reading the codebase should at least be able to reach the same conclusion, so it should not be specific to reuse-tool. So I can think of some approaches to address this case:
We have to discuss the options and work in a way forward. A workaround for now is to also template part of the SPDX tag, so there is no full match. Like We could state that this template workaround is our recommendations but I don't think that is user-friendly. |
The correct workaround here is probably to create |
For my personal project I created a |
@Luni-4 the recommendations by Carmen is to provide a license, just not in the file itself. So it is not a matter of ignoring. The filename.license method is the most specific one. If that would also leave residue in the rendered template, please consider providing a license using the dep5 file. I think this method is better than adding an additional ignore syntax because it ensures the repo is actually properly licened. Does that work for you? |
Yes, it works for me, thank you for the help @carmenbianca and @nicorikken! |
Hello everyone and thanks for your fantastic project! :)
I'm trying to parse this file https://github.com/sifis-home/sifis-generate/blob/try/templates/meson/header but I get the following error https://github.com/sifis-home/sifis-generate/actions/runs/4114599472/jobs/7102178559#step:4:10
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: