Add .config/ to .gitignore#9006
Merged
ywk253100 merged 1 commit intovelero-io:mainfrom Jun 9, 2025
Merged
Conversation
80bfe59 to
2f663aa
Compare
Signed-off-by: Tiger Kaovilai <passawit.kaovilai@gmail.com> Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
2f663aa to
90d13bb
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9006 +/- ##
==========================================
+ Coverage 59.61% 59.84% +0.22%
==========================================
Files 374 375 +1
Lines 40726 41046 +320
==========================================
+ Hits 24280 24563 +283
- Misses 14963 14996 +33
- Partials 1483 1487 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
reasonerjt
approved these changes
Jun 9, 2025
ywk253100
approved these changes
Jun 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for contributing to Velero!
Please add a summary of your change
Add
.config/directory to.gitignorewith detailed explanation of why this directory gets created during builds.The
.config/directory is created by Go's telemetry system when the Makefile usesdocker run -w /github.com/vmware-tanzu/velero. This sets the container's HOME environment variable to the working directory, causing Go'sos.UserConfigDir()to fall back to$HOME/.configwhenXDG_CONFIG_HOMEis unset, creating.config/in the project root.Does your change fix a particular issue?
This prevents the
.config/directory (created during builds) from appearing as an untracked file in git status.Please indicate you've done the following:
make new-changelog) or comment/kind changelog-not-requiredon this PR.site/content/docs/main.