[INFRA/eyes] Support for Ruby/Rails files
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Description
License headers for ruby (.rb) ans rails (.erb) files are not supported yet due to lack of comment_style_id.
Use case
Add license headers to such files.
Related issues
No response
Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Hi,
I would like to provide tests but I don't see how :shrug:
When I cd test && go test -v I only see two passing tests : TestConfigHeaderSpdxASF and TestConfigHeaderSpdxPlain.
I think it may be related to test/tesdata/include_test/with[out]_license but don't know how ti use them...
Note : not a go developer :innocent:
Hi @afriqs , thank you. The tests directory serves as a demonstration data actually. And for new file support, you might want to add a case in https://github.com/apache/skywalking-eyes/blob/main/pkg/header/fix_test.go
No update for 1 year, closing