Tags: treeverse/dvc
Tags
feat(webdav): add bearer_token_command for dynamic token acquisition (#… …10917) Co-authored-by: GreenHatHG <[email protected]> Co-authored-by: skshetry <[email protected]>
fix(data status): handle missing DVC repo at Git HEAD (#10862) Avoid raising errors in `data_status()` when Git HEAD does not contain a DVC repository. Instead, fall back to an empty index. Tests now cover both unborn and committed Git repos, with and without subdirs.
(fix) `DVC_SITE_CACHE_DIR` environment variable should override `core… ….site_cache_dir` (#10778) * Prioritize DVC_SITE_CACHE_DIR over core.site_cache_dir * Add tests for proper prioritization of env var and config * Tests require python-3.9 compatible typing, use Optional * Remove comment * Fixup
repo: try to support opening uninitialized/broken repositories (#10736) This `_get_remote_config()` should use `uninitialized=True` so that it supports more broader kinds of broken/partially-initialized repositories, including some that have `.dvc` directory missing, or `.git` directory missing. This partially reverts #10719. #10608 is also fixed, and no longer requires `core.no_scm` to be passed. This was already supported by `dvc.api.get_url` as it uses `uninitialized=True`, but this was not respected in `_get_remote_config()` where it would fail before. That said, this whole `open_repo`/`_get_remote_config` is terribly broken. For one, it is opening a local repository, and forcing it's remote config to a repository opened with `Repo(rev=...)`, where the config may be different.
PreviousNext