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 treeverse#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 treeverse/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 treeverse/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.
treeverse/dvc.org#1841
Thank you for the contribution - we'll try to review it as soon as possible. 🙏