-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Context: iterative/dvc.org#2302 (review)
Currently only add --out/--to-remote has the ability to transfer data chunks from an external location to both the cache (e.g. an external one) or remote storage, to completely avoid the local file system.
import-url does have --to-remote as well, but apparently if you just import-url something into an external cache, there's no chunking so even if the cache is setup in some other drive, the data is fully downloaded to the local drive (which can cause an error if there's not enough space). So there's no straigh-to-cache transfer there (rel #4520). I see how users could expect this since it's available in add (then again imports are utility commands so maybe not very important).
Furthermore, plain import doesn't support any of this, and that's less of a utility command and more of a main feature (package-like data management). So should it also support to-cache and --to-remote transfers?
The docs change after this could start by (partially) reverting iterative/dvc.org@c393212.