reuse-tool icon indicating copy to clipboard operation
reuse-tool copied to clipboard

Handle `.example` and `.sample` files

Open mxmehl opened this issue 3 years ago • 1 comments

We have a extensive matching of file extension and file names to their comment syntax. But all of this obviously breaks if the file name has an extension.

However, if a file is called foo.md.example or bar.py.sample we can safely assume that the comment syntax would be the one for second-level extension (.md and .py in these examples).

So it's worthwhile to "ignore" these two specific extensions, and fall back to the next extensions from backwards.

mxmehl avatar Aug 31 '22 14:08 mxmehl

Thank you for your time and contributions! Unfortunately, this issue has been inactive for quite a while which means we probably can't manage the time to deal with it. That's why we're marking it as stale. We want to keep things tidy and focus on active discussions, but we’re always happy to revisit if this is still relevant!

If you’d like to keep this open, please add a comment to let us know and remove the label stale. Otherwise, this issue will most likely be automatically closed soon.

github-actions[bot] avatar Jun 18 '25 03:06 github-actions[bot]

Since there hasn't been any recent activity after the last message, we're going to go ahead and close this issue. Feel free to reopen this and remove the labels stale and unresolved if it's urgent.

We truly appreciate your contributions and engagement!

Thank you and happy hacking!

github-actions[bot] avatar Jul 18 '25 03:07 github-actions[bot]