Skip to content

import*: fully support to-cache/remote transfers #5623

Closed as not planned
Closed as not planned
@jorgeorpinel

Description

@jorgeorpinel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: data-syncRelated to dvc get/fetch/import/pull/pushenhancementEnhances DVCfeature requestRequesting a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions