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
Trying to annotate an executable bash script w/o *.sh extension I've got an error message:
$ reuse annotate --template hash --license CC0-1.0 --copyright '…' --merge-copyrights --copyright-prefix spdx ./my-script…reuse annotate: error: The following files do not have a recognised file extension. Please use --style, --force-dot-license, --fallback-dot-license, or --skip-unrecognised:my-script
However, having a template with proper comments reuse shouldn't even try to detect comments style for the given file (IMHO):
I don't think this should be closed. This seems like a bug to me!
Working w/ REUSE a bit more I've realized (didn't dig into sources, just my guess) that from the commented template it's not possible to get a comment style for a file. Meanwhile, REUSE should parse the given file to "understand" the copyright header which is normally a comment...
Trying to annotate an executable bash script w/o
*.sh
extension I've got an error message:However, having a template with proper comments
reuse
shouldn't even try to detect comments style for the given file (IMHO):The text was updated successfully, but these errors were encountered: