fsfe / reuse-tool

reuse is a tool for compliance with the REUSE recommendations.
https://reuse.software
368 stars 139 forks source link

Add support for Earthfile #1024

Closed JohnMoon-VTS closed 1 week ago

JohnMoon-VTS commented 1 week ago

Earthfile is a format for the Earthly build system.

Earthfile files are syntactically very similar to Dockerfile format. As such, they use the same comment format (#).

Therefore, to match Dockerfile syntax, I think PythonCommentStyle is the right class.

I will make this update and send a PR.

JohnMoon-VTS commented 1 week ago

Earthly also defines an .earthlyignore file which I'll add in this PR as well (same syntax as .gitignore).