-
Notifications
You must be signed in to change notification settings - Fork 149
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
Wrongly reports missing copyright/licensing information for a Qt RCC file #895
Comments
That commit also broke XML UI definitions for GTK projects, because they usually use the same |
You're right this is a bug. Thanks for flagging this. There are two things simultaneously not quite right:
I will get to work on writing a quick patch to right this situation, and getting a release out the door soon (today?). Most likely I will do this:
Thanks! |
We also have an issue with .csv. One day ago the pipeline with the REUSE job passed correctly, and today it complains that there is no copyright/license when there is: https://gitlab.com/cttc-lena/nr/-/pipelines/1143245343. |
Thanks a lot for the swift reaction! |
Fixed in v3.0.1, hopefully. Let me know if something is still awry. |
Thanks for the quick fix. It works for our issue with .csv. |
This is a regression compared to version 2.1.
For the file
resources.qrc
with contentthe tool reports
I have bisected this. The bad commit is https://git.fsfe.org/reuse/tool/commit/ead44eac0df7a3c8de695aef88b459b93296ae4b. Apparently, this change makes the reuse tool treat the above file as "uncommentable" which is clearly wrong.
Digging further it looks like
in src/reuse/comment.py is why reuse treats the above file as "uncommentable".
This was added by https://git.fsfe.org/reuse/tool/commit/5895f3682ba09ced994fd3be714ab4b4598e4e58 with comment
I'm not convinced that the behavior of one IDE is a good reason for treating .qrc files as "uncommentable". In particular, it gives a wrong result (claims non-compliance with REUSE 3.0). The above file is clearly compliant with version 3.0 of the REUSE Specification (which version 2.1 of the tool correctly reports).
I propose to revert https://git.fsfe.org/reuse/tool/commit/5895f3682ba09ced994fd3be714ab4b4598e4e58. People using Qt Creator will have to provide the copyright information for their .qrc (and other Qt XML files) externally while we can continue adding the copyright information directly in the .qrc files.
The text was updated successfully, but these errors were encountered: