-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev: Don't .gitignore chart/k8gb/ directory #802
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chart/k8gb/
is not ignored at the moment so I am not sure what this change aims to achieve
the chart/k8gb/charts/*.tgz
rule should be ok imho and should not ignore anything important
edit1: I don't think it's clashing with the k8gb rule on this line. I can make changes to chart templates, value.yaml and other files and these are not ignored. We can be more explicit and do: k8gb -> /k8gb
and k8gb.exe -> /k8gb.exe
edit2: got ya now, the new files in that dir are not being tracked.. so after touch chart/k8gb/sdf
sdf
is not recognized.. hmm, then can we have perhaps this instead:
diff --git .gitignore .gitignore
index 865e9f4..75f7399 100644
--- .gitignore
+++ .gitignore
@@ -1,8 +1,8 @@
dist/
*.out
*.sw[ap]
-k8gb
-k8gb.exe
+/k8gb
+/k8gb.exe
.env
the less rules, the better, right?
b0aff1d
to
6323d3b
Compare
Nice spot @jkremser, amended! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not clear description to me as well, chart/k8gb
was never ignored. Please update the commit message
@ytsarev Mind to help with description? :) It was in fact ignored, not explicitly but transitively by |
6323d3b
to
682642b
Compare
@ytsarev rephrased commit message, please check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Masking chart/k8gb/ byk8gb rule prevents adding changes and new templates into the k8gb chart. Signed-off-by: Timofey Ilinykh <[email protected]> Co-authored-by: Jirka Kremser <[email protected]>
682642b
to
bfe8f31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice finding, thx 👍
.gitgignore
k8gb
binary but notchart/k8gb/
directory.Masking
chart/k8gb/
byk8gb
rule prevents adding changes and new templates into the k8gb chart.Signed-off-by: Timofey Ilinykh [email protected]
Co-authored-by: Jirka Kremser [email protected]