dvc.org icon indicating copy to clipboard operation
dvc.org copied to clipboard

docs: add `--wait-for-lock` flag to docs

Open Wheest opened this issue 2 months ago • 3 comments

Documents https://github.com/iterative/dvc/pull/10784 as an available feature.

Wheest avatar Oct 13 '25 16:10 Wheest

@Wheest, was this CLI option useful/helpful for your usecase as stated in https://github.com/iterative/dvc/issues/10752?

skshetry avatar Oct 13 '25 16:10 skshetry

Yes, it's now used in all of our Bazel rules that use DVC (since they're running multiple rules in parrallel).

There's still some work we're doing with Bazel+DVC (see this stackoverflow question), but it would be interesting to upstream those if possible, not sure if there's been any discussion on that front here.

Wheest avatar Oct 13 '25 17:10 Wheest

There's still some work we're doing with Bazel+DVC (see this stackoverflow question), but it would be interesting to upstream those if possible, not sure if there's been any discussion on that front here.

I don't quite understand the request here for dvc as most of it looks related to bazel which i am not familiar with. Please feel free to create an issue if you have something specific in mind.

Unrelated to this, but have you tried using dvc get instead of dvc pull? It maybe be slower, but does not run into locking issues. It is useful for downloading dvc-tracked data into a directory (could be a temporary/ephemeral directory), may be useful in build systems.

skshetry avatar Oct 14 '25 06:10 skshetry