-
Couldn't load subscription status.
- Fork 1.3k
repro: support --pull #4538
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
repro: support --pull #4538
Conversation
26beef8 to
7bc41fe
Compare
|
Are there any time estimates on merging this feature? I'm waiting for it ;) |
|
@peper0 Planning to get back to this in the upcoming weeks. Considering pulling by default to have a more intuitive and convenient behaviour. Thank you for your interest! |
3a42d6f to
4df15b3
Compare
This option allows run-cache to pull the cache for the outputs when restoring a stage instead of pulling everything at once during `dvc pull --run-cache`. Fixes iterative#4223
|
Ok, i think it is better to move on with this explicit option and then we'll turn it on by default in the future. |
* docs: repro: add --pull Per iterative/dvc#4538 * update message
|
I just noticed this. Looks great but I have a concern:
|
|
Another 2 alternatives: --pull-cache, --pull-run-cache |
This one sounds a bit tautological, as what else are we pulling anyway.
This one doesn't correspond to what is going on, as run-cache itself is pulled in @jorgeorpinel Ideally both run-cache and cache pulling should be automatic with a |
What do you mean @efiop? You pull (fetch, really) from remote storage TO the cache right? Oh, do you mean we alwyas "pull the cache (from remote storage)"? Yeah true. But do you agree that I think that just "pull" means to the user: "pull tracked data from remote storage (to the cache)" but we are trying to say "pull the run cache (from remote storage)", right?
I don't understand this. Didn't this change introduce a new way to pull the run-cache? And it's already merged so it's available rn. Can you please clarify what But if I'm missing something, do you have a suggestion for a better option name? Thanks |
|
@jorgeorpinel |
Woah I don't understand this 😅 is there an example somewhere? Sorry... Will comment on the docs PR actually, since it's more an issue with the explanation I think. Thanks! |
|
Hello, me again! I commented on iterative/dvc.org#1841 (review): is is possible to get an example of the usage of this option to double check the explanation? (Please reply on the docs PR is possible.) Cc @skshetry (since you commented about this on the support chat recently) Thanks in advance |
This option allows run-cache to pull the cache for the outputs
when restoring a stage instead of pulling everything at once during
dvc pull --run-cache.Fixes #4223
❗ I have followed the Contributing to DVC checklist.
📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
iterative/dvc.org#1841
Thank you for the contribution - we'll try to review it as soon as possible. 🙏