-
Notifications
You must be signed in to change notification settings - Fork 1.3k
dvcignore: read ignore patterns from global .dvcignore #8280
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
Closed
Closed
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f5d68c1
dvcignore: read ignore patterns from system level .dvcignore
meshde fb4bfff
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 730a755
fix lint
meshde 277c7bc
dvcignore: allow reading patterns from core.excludesfile
meshde 112ad4f
Merge branch 'main' into system-dvcignore
meshde 759d427
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7f5500e
fix lint
meshde 5a073cb
fix lint
meshde e0b85d6
Merge branch 'main' into system-dvcignore
meshde 3632af4
Merge branch 'main' into system-dvcignore
meshde 3bc410d
tests: make isolate fixture isolate system-level config dir
meshde 69a74b6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6573f21
tests: do not fail if dir exists while creation
meshde ddff2f0
tests: print vars to debug ci check failure
meshde bfe9b85
tests: print /Users/meshde to debug ci check
meshde d02df22
tests: remove prints
meshde 4794cb5
tests: set XDG_CONFIG_HOME in isolate fixture
meshde 22cd0c2
tests: support global and system dvc config isolation
meshde 2790455
tests: use a custom file name for excludesfile
meshde d0cbaf7
tests: allow config dirs to be called for different apps
meshde d01f182
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f043e95
Merge branch 'main' into system-dvcignore
meshde 83f55e4
Merge branch 'main' into system-dvcignore
meshde a62a1a1
Merge branch 'main' into system-dvcignore
meshde 3ec4f60
Merge branch 'main' into system-dvcignore
meshde aa1c11d
dvcignore: refactor to have class method that returns global ignore p…
meshde eae144f
dvcignore: use 'ignore' as the global/system ignore file name
meshde f7b61d1
Merge branch 'main' into system-dvcignore
meshde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
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.
This seems to be breaking the scope. Can't we just pass particular options when creating dvcignore in the repo?
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.
Btw, doing that will allow simplifying tests by not having to monkeypatch global config dir all the time.