Skip to content

version: improve link type detection fall back #2788

Closed
@shcheklein

Description

@shcheklein

To reproduce:

dvc version outside of any DVC repo.

Output:

WARNING: Unable to detect supported link types, as cache directory '.dvc/cache' doesn't exist. It is usually auto-created by commands such as `dvc add/fetch/pull/run/import`, but you could create it manually to enable this check.

It should instead generate a regular output and either omit the link type completely or print some special value "link: (run inside repo)"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions