Skip to content

dvc status <path spec> : Respect --cloud flag #9336

Open
@johnyaku

Description

@johnyaku

Bordering on a bug request, but I'll give you the benefit of the doubt and label this as a feature request, because it could simply be that my intuition is out of line with how dvc works.

When used locally (without the --cloud flag) dvc status can operate on a path spec, but this fails confusingly when the --cloud flag is added.

Scenario: "folder" is tracked by dvc but has been deleted from the cache and/or the remote.

dvc status --cloud folder

.. will report "Cache and remote are in sync".

If folder/ is tracked via folder.dvc then the correct status can be obtained via ...

dvc status --cloud folder.dvc

I feel that it would be more intuitive if dvc status --cloud folder worked out of the box.
Discord discussion: https://discordapp.com/channels/485586884165107732/1095524989870022667

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDid we break something?uiuser interface / interaction

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions