Daniele Trifirò
793f97bdd5
fix dvc-objects/data imports
2022-06-13 18:03:53 +05:45
Daniele Trifirò
677da2b22c
fix dvc-objects/data imports
2022-06-10 14:07:33 +05:45
Daniele Trifirò
41ecd2e204
scm: fix clone
...
`fetch_all_exp()` in `clone()` was called with `url="origin"`, which
resulted in the operation being performed with the remote URL defined
in the cloned repo's config, which did not include any credentials
initially provided to clone.
Fixes #7670
2022-06-07 05:11:05 -07:00
Daniele Trifirò
e849162018
exp: speed up repro execution with untracked directories in workspace
...
When large untracked directories are present in the workspace, a lot of
time is spent collecting untracked files in `scm.status` and `scm.is_dirty`.
2022-06-07 04:43:35 -07:00
Daniele Trifirò
906c87fdef
tests: replace unecessary map() call in test_live
...
caught by flake8
2022-06-01 20:41:14 +03:00
Daniele Trifirò
52f02d238d
bump scmrepo to 0.0.23
...
`scmrepo==0.0.23` includes proper support for windows file:// URLs
(https://github.com/iterative/scmrepo/pull/68 ), so Windows tests
relying on file URLs had to be fixed in order to be valid
[RFC 8089](https://datatracker.ietf.org/doc/html/rfc8089 ) URLs.
2022-06-01 09:20:07 +05:45
Daniele Trifirò
7a795f79db
dvc.data: save and try loading raw dir objects
...
When staging a directory, always save a "raw dir object" to the odb.
If the corresponding ".dir" object has not been added to the odb,
`stage()` calls can load the tree from the raw dir object instead of
rebuilding it by walking the directory.
This can lead to significant speed improvements when calling
`dvc status` for modified directories.
Fixes #7390
2022-05-12 19:27:36 +03:00
Daniele Trifirò
57419273ea
fs.http: set sock_read timeout
2022-03-28 08:20:56 +02:00
Daniele Trifirò
879c9bd7d6
fs.http: force cleanup of closed connections
2022-03-28 08:20:56 +02:00
Daniele Trifirò
220c633497
status: cleanup invocation of hashes_exist
2022-02-18 02:37:48 +02:00
Daniele Trifirò
3767b03784
test_data_cloud: also check for the correct number of jobs
2022-02-18 02:37:48 +02:00
Daniele Trifirò
c0f63efe99
fix passing of jobs kwarg
...
the `jobs` kwarg was not being passed down properly,
resulting in it being ignored in some cases (push/pull/gc)
2022-02-18 02:37:48 +02:00
Daniele Trifirò
4db9d19387
destroy: also remove dvcignore file
2022-02-10 16:16:12 +01:00
Daniele Trifirò
0562b4fd5f
tests: update test_exceptions for rich 11.1.0 behaviour
2022-02-01 13:20:07 +01:00