karajan1001
3d0ee0d202
exp queue: monitor queue status ( #7590 )
...
fix : #7590
1. Add two new command `queue status` and `queue attach`
2. Add unit test for the CLI
3. Make `Running` exps can be found by `get_queue_entry_by_names`
2022-07-12 21:39:49 +09:00
karajan1001
6b8c87b58a
Add more unit test and implement a new method
...
1. Add some more unit test for `celery_queue.kill`
2. Implement `kill` argument for `celery_queue.shutdown`
3. Use dataclass's internal methods instead of `__eq__`
2022-07-12 21:39:49 +09:00
Peter Rowlands
7ece26d58a
tests: re-enable exp show celery tests
2022-07-12 21:39:49 +09:00
Peter Rowlands
f26664a569
exp: re-enable run --run-all with celery queue
2022-07-12 21:39:49 +09:00
Peter Rowlands
4b0c65093a
tests: use pytest-celery for exp tests
2022-07-12 21:39:49 +09:00
karajan1001
12fc8c4e7d
exp queue: Add two command queue start and stop ( #7589 )
...
fix : #7589
1. Add two sub-command `dvc queue start` and `dvc queue stop`
2. Add a unit test to test them
2022-07-12 21:39:49 +09:00
karajan1001 and Peter Rowlands
a6cb4eb72e
exp queue: remove queued experiments( #7591 )
...
fix : #7591
1. Add a new command `dvc queue`
2. Add two sub-command `dvc queue remove` and `dvc queue kill`
3. Add a unit test to test them
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-07-12 21:39:49 +09:00
karajan1001
4df5a1321d
exp: implement internal queue.kill support( #7587 )
...
fix : #7587
1. Add implement kill method for local queue class
2. Add a test to make sure the following job will be success after the
original job was killed.
3. Some refactoring work on `exp remove`
2022-07-12 21:39:49 +09:00
Peter Rowlands
dc4292c602
exp: implement queue shutdown
2022-07-12 21:39:49 +09:00
Peter Rowlands
56f90eb3c9
exp: add test_queue unit test helper for celery queue
2022-07-12 21:39:49 +09:00
Peter Rowlands
1c474e8f30
exp: re-enable most tmpdir/queue tests
2022-07-12 21:39:49 +09:00
Peter Rowlands
46c734eb7e
exp: temporarily mark tmpdir/queue tests as xfail
2022-07-12 21:39:49 +09:00
Peter Rowlands
7113568c60
exp: refactor base.py into refs.py and exceptions.py
2022-07-12 21:39:49 +09:00
Peter Rowlands
6143146974
exp: refactor stash handling into separate module
2022-07-12 21:39:49 +09:00
15ada9a1c3
Implement --date to exp gc
...
1. Implement `--time` to `exp gc`
2. add a unit test for it.
3. Rename `--time` to `--date` and change the warning msg.
4. To get a better msg for `gc` and `exp gc`
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
Co-authored-by: Dave Berenbaum <[email protected] >
2022-07-12 13:53:46 +02:00
karajan1001 and Peter Rowlands
217eb13495
Add argument commit_time to gc/brancher and iter_revs
...
1. Add argument `commit_time` to `gc`/`brancher` and `iter_revs`
2. Add unit test for iter_revs.
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-07-12 13:53:46 +02:00
karajan1001 and Dave Berenbaum
20d1f7a87d
gc: add a new flag --time ( #678 )
...
fix #678
1. Add a new flag `--time` to `dvc gc`.
2. Modify the unit test of `dvc gc`
3. Fix an argument checking error and update the error msg.
Co-authored-by: Dave Berenbaum <[email protected] >
2022-07-12 13:53:46 +02:00
karajan1001
9c59689aa7
Gc: Move old unittest gc tests to pytest
2022-07-12 13:53:46 +02:00
David de la Iglesia Castro
d47e3c40b8
tests: limit printed durations to 50
2022-07-11 12:36:37 +03:00
Ruslan Kuprieiev
8b3020aaf3
deps: bump dvc-data to 0.0.20
2022-07-08 21:37:38 +03:00
Alex Hall
182a22b8f6
checkout: use dvcignore
...
Fixes #7374
2022-07-07 17:20:30 +08:00
Alex Hall
892b235d0b
metrics: support TOML files
...
Fixes #6402
2022-07-06 14:46:46 +02:00
David de la Iglesia Castro
954de0cae4
api: params_show: Raise exception if no params found.
...
Fixes #7926
2022-07-05 09:18:22 +02:00
David de la Iglesia Castro
909941308b
parsing: Support dict unpacking in cmd.
...
Allow to use dictionaries as values for template interpolation but only inside the `cmd` key.
See tests/func/parsing/test_interpolated_entry.py::test_cmd_dict for detailed syntax.
Add `config.parsing` section for configuring behavior of ambiguous data types
like booleans and lists.
2022-07-05 09:02:15 +02:00
Ruslan Kuprieiev
0d71194741
dvc: normalize targets before entering brancher
...
Fixes #7888
2022-07-04 16:34:49 +03:00
Paweł Redzyński
fbb98a87d1
plots: introduce flexible plots configuration to dvcfiles
...
Closes : #7086
2022-07-01 13:17:24 +02:00
David de la Iglesia Castro
c336507e51
render: image_converter: Support slash in revision.
...
Fixes #7934
2022-06-27 10:53:03 +02:00
dberenbaum
2773e99afc
config: remove core.jobs dead code
2022-06-22 11:36:01 +08:00
David de la Iglesia Castro
20f69a121e
api: Move to sub-package.
...
Split into sub-modules.
Split tests.
2022-06-21 20:52:19 +03:00
David de la Iglesia Castro
b994c529a2
api: Add params_show.
...
Closes #6507
Uses `repo.params.show` with custom error_handler and postprocess the outputs for more user-friendly structure.
Extend `repo.params.show` to accept `stages` argument to cover the "params of current stage" use case.
2022-06-21 20:52:19 +03:00
David de la Iglesia Castro
f106a68424
params.show: Fix deps for stages using same params file.
2022-06-21 20:52:19 +03:00
David de la Iglesia Castro
66c2e8cbd8
repo.collect: Add duplicates option.
...
Defaults to `False`.
If `True`, multiple `outs` sharing a provided `target_path` will not be filtered.
2022-06-21 20:52:19 +03:00
Yury
735b563ce4
dvc plots: allow for setting output directory via config
...
Fixes : #7816
2022-06-20 18:12:12 +02:00
Peter Rowlands
31f67cd3de
exp apply: preserve untracked files
2022-06-19 22:41:22 -07:00
Ruslan Kuprieiev
2e21c92c4f
dvc: use dvc-data 0.0.8
2022-06-17 22:08:33 +03:00
David de la Iglesia Castro and Peter Rowlands
1663b97eaa
api: open: Raise ValueError if rev is used in wrong mode.
...
Closes #7405
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-06-15 18:19:27 +02:00
Saugat Pachhai (सौगात)
4bc6b5699a
quote node names
2022-06-15 12:43:45 +03:00
Saugat Pachhai (सौगात)
af649af462
deps: bump dvc-data to 0.0.6; fix imports
2022-06-14 17:50:57 +05:45
dependabot[bot]
bdea9847b5
build(deps-dev): Bump pylint from 2.13.9 to 2.14.1
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.13.9 to 2.14.1.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.9...v2.14.1 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-13 22:15:27 +05:45
Ruslan Kuprieiev
ef689c5593
dvc: upgrade to dvc-objects 0.0.4
2022-06-13 18:03:53 +05:45
Daniele Trifirò
793f97bdd5
fix dvc-objects/data imports
2022-06-13 18:03:53 +05:45
Ruslan Kuprieiev
9ac2f49b57
Revert "fix dvc-objects/data imports"
...
This reverts commit 677da2b22c .
2022-06-10 12:01:07 +03:00
Daniele Trifirò
677da2b22c
fix dvc-objects/data imports
2022-06-10 14:07:33 +05:45
dberenbaum
33b3afa2f5
exp init: create output dirs
2022-06-07 17:55:24 +05:45
Ruslan Kuprieiev
a3d6b1299a
brancher: use scm.root_dir to determine relative cwd
...
Fixes #7776
2022-06-06 12:42:22 +03:00
Paweł Redzyński
20c7b0e3e6
plots: grouping: stop using dpath.util.search
2022-06-03 16:48:33 +03:00
Peter Rowlands
1cc803d12b
exp: output troubleshooting link on shallow merge failure
2022-06-02 01:15:16 -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
David de la Iglesia Castro
3d791778de
plots: Pass templates_dir to match_renderers.
...
We were forgetting to pass default template dir.
Fixes #7817 .
2022-05-31 16:17:58 +02:00