skshetry
3759535d43
tests: remove single_stage stage runs ( #9549 )
2023-06-06 18:38:07 +05:45
Ruslan Kuprieiev
58295ca0ab
repo: rename odb -> cache
...
We used to have it named `cache` before, but these days it is clear that
you can have three odbs: just odb (e.g. in-memory), cache (typically local)
or remote (typically cloud). Fixing naming here before proceeding with
introducing `out.odb` and `out.cache`.
In preparation for migration to https://github.com/iterative/dvc-data/pull/304
2023-02-08 23:05:45 +02:00
skshetry
a86470ccbc
update black and change line-length to 88 ( #8953 )
2023-02-04 05:28:07 +02:00
skshetry
da27174e02
dvcfile: rename PipelineFile to ProjectFile, get rid of Dvcfile class, cleanups, etc. ( #8812 )
...
dvcfile: rename PipelineFile to ProjectFile, get rid of Dvcfile class, cleanups etc
2023-01-15 12:45:10 +05:45
Ivan Shcheklein
d4bfe38a54
perf: remove fs exists check in plots, parallel data collect
2023-01-10 20:27:02 -08:00
David de la Iglesia Castro
e815bbe211
metrics: show: Fix show from subdir.
...
This was a regression introduced in #7712 .
Calling `repo.metrics.show` from a subdir stopped returning metrics because `fs.isfile(metric)` check returned false.
2022-08-25 13:02:22 +02:00
Ruslan Kuprieiev
fcc7240617
odb: use odb.path instead of odb.cache_dir
2022-08-03 21:10:28 +03:00
Alex Hall
892b235d0b
metrics: support TOML files
...
Fixes #6402
2022-07-06 14:46:46 +02:00
Ruslan Kuprieiev
0d71194741
dvc: normalize targets before entering brancher
...
Fixes #7888
2022-07-04 16:34:49 +03:00
b652670cbf
Dependabot/pip/pylint 2.11.1 ( #6843 )
...
* build(deps): Bump pylint from 2.9.6 to 2.11.1
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.9.6 to 2.11.1.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.9.6...v2.11.1 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
* fix pylint problems
* Updation after rebase.
* system: use binary mode
* Set remote execution script encoding type locale
* Update dvc/machine/__init__.py
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ruslan Kuprieiev <[email protected] >
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2021-10-20 14:34:10 +03:00
Gao
6de3e734ed
Revert "build(deps): Bump pylint from 2.9.6 to 2.11.1 ( #6636 )" ( #6842 )
...
This reverts commit 464620806c .
2021-10-20 12:41:00 +03:00
464620806c
build(deps): Bump pylint from 2.9.6 to 2.11.1 ( #6636 )
...
* build(deps): Bump pylint from 2.9.6 to 2.11.1
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.9.6 to 2.11.1.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.9.6...v2.11.1 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
* fix pylint problems
* system: use binary mode
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: karajan1001 <[email protected] >
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2021-10-20 10:32:44 +08:00
Saugat Pachhai
fbcc3f389c
TmpDir: add serialize utilities ( #6620 )
2021-09-15 16:13:06 +05:45
Paweł Redzyński
21af7438db
plots/metrics/params/experiments show: stop throwing exceptions ( #5984 )
...
* params/metrics/plots/exp show: introduce onerror
* fixup
* plots/metrics/params: removing errors
* removing more errors
* removing errors
* some more removing
* new plots ux
* new ux for metrics
* new ux for params
* fixing tests
* fixups
* minor test fixes
* minor test fixes
* commands: plots/params: fix ui imports
* working on error handlng decorator, stopped at show checkpoints
* error_handler, further dvelopment
* plots just before moving loading to collect
* appending errors to results: initial passing
* fixup
* onerror: remove onerror fixture
* fixups
* plots/metrics/params/experiments: temporarily remove error warnings
* plots: extract parsing out of class method
* metrics/experiments: provide exception serializer for show-json
* params/plots/metrics: signal errors
* rebase fixups
* fix TODOs
* fixup
* skshetry's review refactor
2021-07-16 15:36:04 +02:00
Saugat Pachhai
b9000ed926
pre-commit: update black to 21.5b1 ( #6032 )
...
* pre-commit: update black to 21.5b1
also updated others, but black is more noticeable
* remove magic trailing comma
2021-05-18 15:51:15 +00:00
Ruslan Kuprieiev
e0842ce01e
dvc: rename cache -> odb ( #5481 )
2021-02-16 22:49:25 +02:00
Paweł Redzyński
4d36bc4de8
params: introduce --targets ( #5122 )
...
* params: add targets option
* fixup
* remove unnecessary changes
* fix isort
* params: diff: add test for --targets
* tests: roll back metric/plots unification, introduce collect test
* metrics/plots: refactoring
* missing plots test added
2020-12-22 04:19:13 +02:00
Paweł Redzyński
9940540917
metrics/plots: test metrics collection on no target on revision ( #4789 )
...
* metrics: include revision information when collecting metrics files
* plots: test warning message on no plot on revision
* plots/metrics: move to one package, introduce common tests
* tests: fix utils placement
2020-10-30 02:00:09 +02:00
Paweł Redzyński
5038fd225b
plots/metrics: support show for no repo ( #4761 )
2020-10-26 20:04:49 +02:00
Ruslan Kuprieiev
775e1e8374
repo: don't create .dvc in read-only repos ( #4674 )
...
* lock: use ABC
* lock: add LockNoop
* plots: remove unused code
* plots: create templates only on init
* dvc: don't create .dvc in read-only repos
* repo: explicitly init LockNoop
2020-10-07 23:51:14 +03:00
Raymond Gasper and Ruslan Kuprieiev
b0dbcdcdb6
metrics show: allow falsey values ( #4642 )
...
* metrics show: allow falsey values
Fixes #4630
* metrics show: bug in logging to console. Fixes #4630
* repro: fix incorrect usage of _show_metrics
* fix formatting/styling
* metrics: add a simple func test
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-09-30 04:53:06 +03:00
Ruslan Kuprieiev
1ea8cc9e54
metrics/plots: support non-dvc repos ( #4627 )
2020-09-28 23:06:22 +03:00
Paweł Redzyński
2b3c30cb0c
metrics: accept any viable target in DvcRepo ( #4590 )
2020-09-22 22:53:55 +03:00
Alexander Schepanovski
a7e825a038
metrics: skip missing metrics silently ( #4130 )
...
Reverts an issue caused by #4005
2020-06-29 19:00:46 +03:00
Ruslan Kuprieiev
9ee62ef8f0
dvc: rename "working tree" to "workspace" ( #3914 )
...
Fixes #3892
2020-05-31 17:39:04 +03:00
Peter Rowlands (변기호)
8d9435e8ee
brancher: only yield git revisions that contain repo_root ( #3883 )
...
* tests: add test for metrics show -T with pre-existing tags
* brancher: ignore git revisions that do not contain repo
* tests: update test to include cmd
* CleanTree: tree_root for subrepos should be the repo root, not scm root
* only force subrepo root for git trees
* fix windows shell quotes
2020-05-28 12:26:29 +09:00
Saugat Pachhai
e8f6cd7f5b
run: raise error when command is not specified ( #3850 )
...
* run: raise error when command is not specified
* tests: adjust tests/func/plots/test_plots.py
* tests: adjust tests/func/plots/test_diff.py
* tests: add command to metrics/plots/params
* tests: fix test_remote.py
* tests: fix test_ls.py
* tests: fix test_repro* and test_run*
* tests: fix script in test_ls, was failing on Win
2020-05-27 12:13:26 +03:00
Ruslan Kuprieiev
93d7b9173b
tests: use --single-stage
2020-05-04 20:23:49 +03:00
Ruslan Kuprieiev
45944ddde7
metrics: rework metrics implementation ( #3658 )
...
Dropping support for all types except json and yaml. No more xpath
support.
Fixes #3572
2020-04-22 13:39:59 +03:00