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

pull: not pulling all files after upgrade to 2.0 #5612

Closed
jotsif opened this issue Mar 12, 2021 · 5 comments
Closed

pull: not pulling all files after upgrade to 2.0 #5612

jotsif opened this issue Mar 12, 2021 · 5 comments
Labels
awaiting response we are waiting for your reply, please respond! :)

Comments

@jotsif
Copy link

jotsif commented Mar 12, 2021

Bug Report

Description

dvc pull ignoring some dependencies in dvc pull

Reproduce

Git clone a repo with files tracked by dvc. Upgrade to DVC 2.0. run dvc pull and see files missing (dependencies).

Downgrade to dvc pre 2.0. (I just tried 1.11.16)

Run dvc pull and get missing files.

Expected

Dvc pull with recent versions should get all tracked dependencies.

Environment information

⟩ dvc doctor
DVC version: 2.0.5 (pip)
---------------------------------
Platform: Python 3.9.2 on macOS-11.2.1-arm64-arm-64bit
Supports: http, https, s3
Cache types: reflink, hardlink, symlink
Cache directory: apfs on /dev/disk3s1s1
Caches: local
Remotes: s3
Workspace directory: apfs on /dev/disk3s1s1
Repo: dvc, git

Additional Information (if any):

We have a multi dvc.yaml environment (same git repo with four different model pipelines tracked by dvc). Dvc pull missed dependencies, i.e. files just going into to the deps part of two out of four of the pipelines.

@skshetry
Copy link
Member

@jotsif, could you please provide more information? One particular change that could affect the behaviour of the pull is that dvc will not traverse through any directories that are git-ignored. Is that the case here?

@skshetry skshetry added the awaiting response we are waiting for your reply, please respond! :) label Mar 12, 2021
@jotsif
Copy link
Author

jotsif commented Mar 12, 2021

Hi @skshetry! Yes that is exactly the issue. They are in a git ignored directory.

@skshetry
Copy link
Member

@jotsif, would it be possible to unignore them?

@jotsif
Copy link
Author

jotsif commented Mar 12, 2021

Yes :) If this intentional we will change it like that

@jotsif jotsif closed this as completed Mar 12, 2021
@skshetry
Copy link
Member

skshetry commented Mar 12, 2021

@jotsif, if you have a strong use case for it, feel free to share it in #5396. Thanks. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response we are waiting for your reply, please respond! :)
Projects
None yet
Development

No branches or pull requests

2 participants