diff --git a/dvc/fs/__init__.py b/dvc/fs/__init__.py index d255424149..ed6b99d580 100644 --- a/dvc/fs/__init__.py +++ b/dvc/fs/__init__.py @@ -10,6 +10,8 @@ Schemes, generic, get_fs_cls, + known_implementations, + localfs, registry, system, ) @@ -19,13 +21,26 @@ ConfigError, RemoteMissingDepsError, ) -from dvc_objects.fs.implementations.local import localfs # noqa: F401 from dvc_objects.fs.path import Path # noqa: F401 from .data import DataFileSystem # noqa: F401 from .dvc import DvcFileSystem # noqa: F401 from .git import GitFileSystem # noqa: F401 +known_implementations.update( + { + "dvc": { + "class": "dvc.fs.dvc.DvcFileSystem", + "err": "dvc is supported, but requires 'dvc' to be installed", + }, + "git": { + "class": "dvc.fs.git.GitFileSystem", + "err": "git is supported, but requires 'dvc' to be installed", + }, + } +) + + # pylint: enable=unused-import diff --git a/dvc/info.py b/dvc/info.py index d804363cb6..86924ecd0a 100644 --- a/dvc/info.py +++ b/dvc/info.py @@ -91,7 +91,7 @@ def _get_linktype_support_info(repo): def _get_supported_remotes(): supported_remotes = [] for scheme in registry: - if scheme in [Schemes.LOCAL, Schemes.MEMORY]: + if scheme in [Schemes.LOCAL, Schemes.MEMORY, "dvc", "git"]: continue try: diff --git a/setup.cfg b/setup.cfg index 72a4fa4c84..dc0d34777c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -68,7 +68,7 @@ install_requires = dvc-render==0.0.9 dvc-task==0.1.2 dvclive>=0.10.0 - dvc-data==0.1.20 + dvc-data==0.1.21 dvc-http==0.0.2 hydra-core>=1.1.0