You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I would like to inquire about no license file because the 'file_report.spdxfile.licenses_in_file' value varies depending on the file extension.
the value of 'file_report.spdxfile.licenses_in_file' :
.py file or .yaml file with no license : empty
.xlsx file with no license : '-'
The values of 'file_report.spdxfile.licenses_in_file' are diffrent depends on the file extension
I'd like to ask if it's normal result to have different file extensions.
the following caputre is the log that I inserted to check result in 'report.py':
The text was updated successfully, but these errors were encountered:
Thanks for the in-depth bug report. I tried reproducing it but I wasn't capable of doing so. I added the printing line in used_licenses() in report.py and created two empty spreadsheet files using LibreOffice, one in .ods and one in .xslx format. As that didn't result in the ['-'] output but just in [] I tried creating a spreadshit with some SPDX identifiers in it, but that didn't change the output.
Can you perhaps share a spreadsheet file that is causing the issue?
Looking through the code I would expect that extract_spdx_info() in _util.py is the function responsible for producing the '-' output.
I notice that you are actually working on the FOSSLight wrapper for REUSE. Perhaps there are other parts of the code that have changed and might alter the behavior? The -p flag is something on the whishlist for REUSE as well #512 so rather than going our own ways I hope we can collaborate to avoid duplicating efforts.
Hello.
I would like to inquire about no license file because the 'file_report.spdxfile.licenses_in_file' value varies depending on the file extension.
the value of 'file_report.spdxfile.licenses_in_file' :
The values of 'file_report.spdxfile.licenses_in_file' are diffrent depends on the file extension
I'd like to ask if it's normal result to have different file extensions.
the following caputre is the log that I inserted to check result in 'report.py':

The text was updated successfully, but these errors were encountered: