Skip to content

gc: clarify behavior of cloud/remote options #6970

@dberenbaum

Description

@dberenbaum

Extracted from treeverse/dvc.org#2917 (comment):

@dberenbaum
What happens if you use --remote without --cloud?

@jorgeorpinel
Looks like the remote is ignored and it operates locally instead. A bit confusing but this text is correct ATM.

p.s. It should probably fail or give a clearer warning at least...
the warning is always the same even with -c:

WARNING: This will remove all cache except items used in the workspace of the current repo.

No mention of cloud/remotes.

Warnings should be clarified with respect to using --cloud and --remote options. Also, should --remote imply --cloud so that both aren't required?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: cliRelated to the CLIA: gcRelated go garbage collectionA: object-storageRelated to the object/content-addressable storagep2-mediumMedium priority, should be done, but less important

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions