Peter Rowlands
b9bf73f043
push/fetch: support targets in cloud version push/fetch
2022-12-07 18:48:34 +09:00
dependabot[bot]
7628fe9d44
build(deps-dev): Bump pytest-xdist from 3.0.2 to 3.1.0
...
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases )
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.0.2...v3.1.0 )
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-12-06 20:16:21 +05:45
Peter Rowlands
d415a05460
remote: disable gc and status -c for versioned remotes
2022-12-06 19:33:52 +09:00
Peter Rowlands
f5699ce16b
update: disable rev/to-remote/no-download for worktrees
2022-12-06 15:14:17 +09:00
Peter Rowlands
baeedead3a
update: add support for worktree update
2022-12-06 15:14:17 +09:00
Peter Rowlands
5630db55ad
worktree: add support for updating outs
2022-12-06 15:14:17 +09:00
Peter Rowlands
f1bd47ce0e
index: make collect_targets public
2022-12-06 15:14:17 +09:00
dependabot[bot]
74a13a4d9a
build(deps-dev): Bump dvc-render from 0.0.14 to 0.0.15
...
Bumps [dvc-render](https://github.com/iterative/dvc-render ) from 0.0.14 to 0.0.15.
- [Release notes](https://github.com/iterative/dvc-render/releases )
- [Commits](https://github.com/iterative/dvc-render/compare/0.0.14...0.0.15 )
---
updated-dependencies:
- dependency-name: dvc-render
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-12-02 08:30:37 +01:00
dberenbaum
b7732a591d
stage add: don't fail if unable to create .gitignore
2.36.0
2022-12-01 16:43:31 +01:00
Saugat Pachhai (सौगात)
d57bb23c93
fix windows path handling
2022-12-01 15:56:26 +01:00
Saugat Pachhai (सौगात)
28402dedf1
add tests
2022-12-01 15:56:26 +01:00
Saugat Pachhai (सौगात)
df60f5d9bf
collect top-level params/plots/metrics together with stages
2022-12-01 15:56:26 +01:00
Saugat Pachhai (सौगात)
7ea73b2596
wip: top level params and metrics
2022-12-01 15:56:26 +01:00
Peter Rowlands
aa2e830511
deps: bump dvc-data to 0.28.3
2022-12-01 16:02:59 +09:00
dependabot[bot]
6fdd6673f3
build(deps-dev): Bump pylint from 2.15.5 to 2.15.7
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.15.5 to 2.15.7.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.15.5...v2.15.7 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-11-30 16:33:01 +01:00
dberenbaum
fac5f18dea
plots: add tests for errors in vega converter
2022-11-29 16:08:29 +01:00
dberenbaum
d8068430e7
plots: fix multi-file plots
2022-11-29 16:08:29 +01:00
Peter Rowlands
25b1ef9971
worktree push: separate worktree from version_aware
2022-11-29 22:45:16 +09:00
Peter Rowlands
df563e43c1
remote: make worktree imply version_aware
2022-11-29 22:45:16 +09:00
karajan1001
3ba6b1f0bf
Solve the unexpected error at the end of the queued tasks running
...
fix : #8615
1. This is because, at the end of the tasks,
the temp running directly will be deleted
1. Only fetch result during running (not during the result collection)
2. Bump into scmrepo 0.1.4 in which we wrapped `KeyError` into
`SCMError`.
2022-11-29 15:24:19 +08:00
Peter Rowlands
6a9fbaf3d2
deps: bump dvc-data to 0.28.2
2022-11-29 14:37:11 +09:00
David de la Iglesia Castro
a036eaf817
exp: save: Add include_untracked.
...
Allow to include a list of potentially untracked files.
Covers the DVCLive use case where in the first run the generated files won't be tracked in Git yet.
2022-11-28 15:49:34 +01:00
David de la Iglesia Castro
665185b9e7
exp: save: Handle staged changes.
...
Staged changes were causing a merge error.
Warn and unstage instead of erroring, to match exp run behavior.
2022-11-28 15:49:34 +01:00
David de la Iglesia Castro
43e281521e
exp save: cleanup.
...
Remove metrics.
Move tests to separate file.
Fix `experiments.get_exact_name` usage.
Remove unused checkpoint logic.
2022-11-28 15:49:34 +01:00
Daniele Trifirò
73b46a5789
exp save: initial implementation
2022-11-28 15:49:34 +01:00
David de la Iglesia Castro
8124396218
exp: Expose baseline and name via run_env.
...
Required by DVCLive for the experiments onboarding and live metrics features.
Related (not sure if closes): https://github.com/iterative/dvc/issues/6668
2022-11-28 13:13:04 +01:00
Peter Rowlands
e95ae5613d
index: skip data index load on empty view
2022-11-28 18:49:32 +09:00
karajan1001
ca4dd08e37
Use temp branch name to avoid locking the exec branches in temp dir executor
...
fix : #8448
In our current temp dir executor, we use will first set EXEC_* branches
to revisions retrieved from stash entry. And push them to remote, but
because the push operation is very slow, our locking operation will make
the whole repository unusable.
1. Now we set revisions from stash entry to some temp branches and then
push them to remote.
2022-11-28 17:04:16 +08:00
karajan1001
0ebc253a43
rwlock auto solve corrupted lockfile
2022-11-28 17:04:16 +08:00
karajan1001
6bfce5a5db
Use a more granular lock on exp operations.
...
For now in `experiment.new`, `init_executor` and `collect_exectuor` we
lock the whole scm repo. We can make a more granular lock in these
operations.
2022-11-28 17:04:16 +08:00
karajan1001
5fa33a06bc
Move EXEC_TMP_DIR and EXEC_PID_DIR to experiment.utils
2022-11-28 17:04:16 +08:00
Peter Rowlands
6a75f3c327
deps: bump dvc-data to 0.28.1
2022-11-28 16:10:31 +09:00
Ivan Shcheklein
d7587556c9
exp list: cleanup and move logic inside repo api
2022-11-25 16:15:17 -08:00
skshetry
bb80eab77a
deps: add support for hdfs in Python 3.11
2022-11-25 11:16:42 +05:45
Ruslan Kuprieiev
ab3f8fb1a4
Create hook-asyncssh.py
...
Fixes #7577
2.35.2
2022-11-24 23:25:00 +02:00
Yury
6edca79b79
repro dry: show information if the stage is cached
...
Fixes : #8342
2022-11-24 21:49:52 +02:00
Ruslan Kuprieiev
2a888970e8
build: fpm: don't double quote cli option
...
Leftover from #8611
2.35.1
2022-11-24 01:34:18 +02:00
Ruslan Kuprieiev
73fdfc8059
build: fpm: don't create .build-id/* files
...
These are leaking into our rpm packages.
Related https://github.com/iterative/dvc-s3-repo/issues/86
2.35.0
2022-11-24 01:02:44 +02:00
Ruslan Kuprieiev
8dc11417d2
testing: api: test opening a file in subdir
...
Related to #8420
2022-11-23 17:47:13 +02:00
b02855fb93
ui: Fix WSL check in open_browser ( #8604 )
...
* ui: Fix WSL check in `open_browser`
* Update dvc/ui/__init__.py
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-23 09:57:57 +00:00
Peter Rowlands
af255a46b4
worktree: use progress bars in push/fetch
2022-11-23 13:05:51 +09:00
Peter Rowlands
2748492f6b
worktree push: don't push existing versions
2022-11-23 13:05:51 +09:00
Peter Rowlands
c69d3188a6
deps: bump dvc-data to 0.28.0
2.34.3
2022-11-22 19:04:18 +09:00
karajan1001
9b9c04e633
Solve the problem during executor running
...
fix #7693
The problem was when we gathered experiments, and at the same time,
the executor are creating new commits. It will make the checkpoint
top/head return by `get_running_exps`/`get_ref`/`branch_revs` not the
same one. And cause the problem described in #7693
To solve this we did
1. move the `get_rev` to the beginning of `exp show` to make sure the
return results in `branch_revs`
2. Add a new function to move all of the properties that only belong to
`head` of the checkpoint from the wrong place to the top.
3. Add a new unit test for it.
4. Force fetch_running_exp to return data.
5. fix a bug in tmp_dir_executor.
2022-11-22 17:44:55 +08:00
karajan1001
350e0fb1f7
queue kill: we can manually mark problematic tasks as failure
...
fix : #8461
fix : #8473
For now, for those inactive but uncompleted tasks, they still shown as
Running in `exp show` and `task queue`, we cannot remove them because
they are regarded as running, we cann't kill them because their are no
real process behind them.
1. Now we can examine these false running tasks and mark them as failure
in `queue kill` command. #8461
2. Better msg handle for initliaizing tasks in `queue kill`#8473
3. Add new unit tests for both cases.
4. bump into new dvc-task 0.1.6
2022-11-22 13:33:23 +08:00
dberenbaum
f14358bc72
plots: add test for default x label
2022-11-21 21:05:12 +01:00
David de la Iglesia Castro
705bc6ec82
Added test_infer_x_label
2022-11-21 21:05:12 +01:00
dberenbaum
61a02e6f56
plots: set default x label
2022-11-21 21:05:12 +01:00
Saugat Pachhai (सौगात)
8e5226ece0
cli: remove version action
2022-11-21 20:37:05 +05:45
Peter Rowlands
2a1af0b880
add: merge existing file meta for versioned dirs
2022-11-21 19:18:41 +09:00