Tags: Mu-L/dvc
Tags
repo: try to support opening uninitialized/broken repositories (treev… …erse#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 treeverse#10719. treeverse#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.
3.13 support for Windows (treeverse#10667) python/cpython#113829 changed `os.path.isabs` on Windows to not consider a path starting a single backslash to be an absolute path. We do a lot of naive `posixpath` to `ntpath` conversions, and it broke DVC in multiple places. DVC is likely broken in many other places, and these bugs are difficult to identify. In this commit, I have tried to fix in the places where the tests failed. And mostly by trying to imitate pre-3.13 behaviour. Some of the changes may not be correct but keeps the old behaviour in place. Also re-enabled the CI for all Python versions supported for Windows.
Fix treeverse#10638 : makes remove return correct list when used with… … both `--queue` and `-A` (treeverse#10641) * fixed a bug where using both `--queue` and `-A` would yield a "removed" list without the queued experiments * added a test to validate the fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clearer name for test --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ls: implement --tree to show as a tree and --level to limit depth for… … recursion (treeverse#10598)
pyproject.toml: remove stale comment from dependency (treeverse#10546)
dvcfs: optimize `get()` by reducing index.info calls() (treeverse#10540)
dependency/repo: do not suppress OSError on info() (treeverse#10533)
PreviousNext