Daniele Trifirò
33de761560
deps: unpin dvc-http
2023-01-05 21:15:33 +01:00
Daniele Trifirò
ff38aed927
config: expose timeouts in http config
...
- `read_timeout` timeout for reading new data portions from the peer
- `connect_timeout` timeout for establishing new connections
For more information about individual timeouts meanings:
- `read_timeout` maps to `aiohttp`'s `sock_read` timeout
- `connect_timeout` applies to `aiohttp`'s `connect`, `sock_connect`
timeouts
https://docs.aiohttp.org/en/stable/client_reference.html?highlight=clienttimeout#clienttimeout
2023-01-05 21:15:33 +01:00
Daniele Trifirò
b62f17ffaf
tests: move tests/unit/remote/test_http.py to dvc-http repo
2023-01-05 19:54:14 +01:00
Daniele Trifirò
a0c781a676
exp save: fix help for --force
2023-01-04 17:57:29 +01:00
Daniele Trifirò
4b0fa4d559
update: prevent re-download on every update
2023-01-03 18:52:48 +01:00
Daniele Trifirò
109288e1cd
exp save: update --help
2022-12-29 20:51:52 +01:00
Daniele Trifirò
9e6f44bc1c
get/ls/import: improve clone error messages
2022-12-29 20:13:39 +01:00
Daniele Trifirò
59d6d5ea98
exp save: simplify implementation
2022-12-22 11:01:41 +01:00
Daniele Trifirò
fcf92b2755
remove a few experiments names
2022-12-14 18:14:36 +01:00
Daniele Trifirò
73b46a5789
exp save: initial implementation
2022-11-28 15:49:34 +01:00
Daniele Trifirò
e9244924d7
plots: allow definition of plots section as list
2022-10-17 12:06:31 +02:00
Daniele Trifirò
3adede8427
repo: use realpath to in _get_filepath when loading stages
2022-10-03 15:29:01 +02:00
Daniele Trifirò
a686dded15
repo: fix crash while collecting stages with symlinks
...
closes #8345
2022-10-03 15:29:01 +02:00
Daniele Trifirò
8b1e61d3c5
update: update -help
2022-10-03 14:25:50 +02:00
Daniele Trifirò
4594087786
import: fix rev lock and pull with --no-download
2022-10-03 14:25:50 +02:00
Daniele Trifirò
5d69f57abf
tests: add test_partial_import_pull
2022-10-03 14:25:50 +02:00
Daniele Trifirò
69c3c83833
import/import-url: ignore outs when using --no-download
2022-09-22 00:29:46 +03:00
Daniele Trifirò
ed15e59115
deps: bump dvc-http to 2.27.2
2022-09-20 13:18:18 +03:00
Daniele Trifirò
197f522175
deps: add testing group for dvc.testing requirements
2022-09-17 00:54:35 +03:00
Daniele Trifirò
611c114f01
import-url: pass fs_config down from imp_url to get_cloud_fs
2022-09-14 22:26:19 +03:00
Daniele Trifirò
a2d80b2403
silence flake8 errors (abstract class with no abstract method)
2022-09-07 21:51:33 +03:00
Daniele Trifirò
76e7c76ae5
data status: fix for scmrepo 0.1.0
2022-09-07 21:48:53 +03:00
Daniele Trifirò
77f56090ff
do not checkout partials imports on fetch
2022-08-30 20:05:09 +03:00
Daniele Trifirò
26008f1559
import-url/update: add --no-download flag
...
add --no-download flag to dvc import-url/dvc update to only create/update .dvc
files without downloading the associated data.
Created .dvc files can be fetched using `dvc pull` or can be
updated using `dvc update --no-download`.
2022-08-23 23:07:01 +03:00
Daniele Trifirò
92d680ff94
tests: fix typo in test name
2022-08-23 23:07:01 +03:00
Daniele Trifirò
c69c46d08c
fix error message on fetch/pull/checkout failure
2022-08-23 23:07:01 +03:00
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