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

guide: add .dvcignore example when we depend on dir with Python code #519

Open
shcheklein opened this issue Aug 3, 2019 · 2 comments
Open
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: guide Content of /doc/user-guide good first issue Good for newcomers p2-nice-to-have Less of a priority at the moment. We don't usually deal with this immediately. type: enhancement Something is not clear, small updates, improvement suggestions

Comments

@shcheklein
Copy link
Member

And exclude .pyc.

@shcheklein shcheklein added type: enhancement Something is not clear, small updates, improvement suggestions good first issue Good for newcomers A: docs Area: user documentation (gatsby-theme-iterative) user-guide labels Aug 3, 2019
@jorgeorpinel jorgeorpinel changed the title dvcignore: add an example when we depend on dir with python code user-guide: add .dvcignore example when we depend on dir with Python code Jan 20, 2020
@jorgeorpinel
Copy link
Contributor

Can you expand a little on "when we depend on dir with Python code" @shcheklein ? 🙂

@shcheklein
Copy link
Member Author

Sure, @jorgeorpinel . In case like dvc run -d src/ ..., src might change not because of the actual changes to some code file in the src/ but because Python might generate __pycache__ subdirectory, or some .pyc file. We would like to ignore them when we calculate md5 for the directory.

@jorgeorpinel jorgeorpinel changed the title user-guide: add .dvcignore example when we depend on dir with Python code guide: add .dvcignore example when we depend on dir with Python code Sep 26, 2021
@iesahin iesahin added the C: guide Content of /doc/user-guide label Oct 21, 2021
@dberenbaum dberenbaum added the p2-nice-to-have Less of a priority at the moment. We don't usually deal with this immediately. label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: guide Content of /doc/user-guide good first issue Good for newcomers p2-nice-to-have Less of a priority at the moment. We don't usually deal with this immediately. type: enhancement Something is not clear, small updates, improvement suggestions
Projects
None yet
Development

No branches or pull requests

4 participants