Skip to content
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

Exclude files from checksum computation #10225

Closed
Guillaume-oso opened this issue Jan 9, 2024 · 1 comment
Closed

Exclude files from checksum computation #10225

Guillaume-oso opened this issue Jan 9, 2024 · 1 comment

Comments

@Guillaume-oso
Copy link

Guillaume-oso commented Jan 9, 2024

When a I set a folder as a dependency in the dvc.yaml, I cannot ignore __pycache__ and folder like that inside the main folder even if I add **/__pycache__ in the .dvcignore

Is it a bug or a wanted behavior?

Is there a way to exclude these files when dvc repro compute hash to update dvc.lock, and also when I use dvc-data build folder ?

Thanks

########################
Looks like it works properly on toy example, but not on my project and dvc-data build does not take account of .dvcignore

@efiop
Copy link
Contributor

efiop commented Jan 9, 2024

@Guillaume-oso Maybe your dvcignore is in a gitignored location?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants