[Fixed][License-Eye] skywalking-eyes doesn't recognize absolute path in .gitignore #7542
Replies: 5 comments 9 replies
-
Why is an git ignored hosted in the repo? What is the point? |
Beta Was this translation helpful? Give feedback.
-
A case I can think about is to put some files in the codebase that are meant to be modified ever |
Beta Was this translation helpful? Give feedback.
-
This seems a very not-typical operation. I want to hear what @gxthrj says. Move this discussion. |
Beta Was this translation helpful? Give feedback.
-
In some cases, people may need to run a license check locally before pushing the commit. Since skywalking-eyes provides a way to run the license check locally (see the readme), I think it is expected behavior. Here is a discussion about this requirement: apache/apisix#4872 (comment) And it is quite strange that skywalking-eyes ignores relative path in .gitignore (so it is designed to ignore git ignored files?), but doesn't handle absolute path... |
Beta Was this translation helpful? Give feedback.
-
I'm not surprised at all that |
Beta Was this translation helpful? Give feedback.
-
Please answer these questions before submitting your issue.
Bug
Which version of SkyWalking, OS, and JRE?
Which company or project?
skywalking-eyes
Take https://github.com/apache/apisix/ as an example.
git clone this repo, touch conf/apisix-aa.yaml.
You will find this file is ignored by
.gitignore
, in absolute path format/conf/apisix-*.yaml
.Then you can run
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header check
, you will find out this file is not ignored.Beta Was this translation helpful? Give feedback.
All reactions