Learn from other projects checking file types
I discovered the identify package that tries to determine if a file is binary or text and its languageor syntax based on extension and filename. This is similar to the checks we perform in REUSE. In our case we take it one step further by defining how best to comment these files. Some files might support comments but are best served with an explicit .license file like the .pem file from #524 This is a design decisions on our part.
There is probably more software that does similar checks. By checking code of others we can:
- expand the types of files we recognise and support
- verify our methodologies for determining file type
Of course the software we look at should have a compatible license and attribution should be done if applicable.
I thought we can use this issue to coordinate finding other software and using it for inspiration.
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.
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!