skshetry
a86470ccbc
update black and change line-length to 88 ( #8953 )
2023-02-04 05:28:07 +02:00
98bcfad8e7
build(deps-dev): bump scmrepo from 0.1.6 to 0.1.7 ( #8821 )
...
* build(deps-dev): bump scmrepo from 0.1.6 to 0.1.7
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.1.6...0.1.7 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
* mypy: remove scmrepo from ignored modules
* Fix mypy issues
---------
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2023-01-28 14:26:00 +05:45
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
dberenbaum
0b192af6f4
params: fix diff bt active branch and workspace
2023-01-09 16:57:18 +02:00
Saugat Pachhai (सौगात)
28402dedf1
add tests
2022-12-01 15:56:26 +01:00
Ruslan Kuprieiev
0d71194741
dvc: normalize targets before entering brancher
...
Fixes #7888
2022-07-04 16:34:49 +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
Saugat Pachhai (सौगात)
a3bab48f41
params: allow tracking file
2022-03-21 13:47:44 +05:45
Amrit Ghimire and Saugat Pachhai
44a1146915
test: fix test failure in case of different default branch ( #6857 )
...
* test: fix test failure in case of different default branch
When the git config has set global `init.defaultBranch` different than master,
a few test cases were failing.
Currently, the test case is assuming the default branch to be set as
master.
This commit will introduce **initial_branch** option to git init call
which will ensure *master* branch is used as default for out test cases.
Set default git branch to main for test CI
Since main is going to be new default branch, it will let the test case
handle the scenario where default branch is set other than master.
Introduce isolation for git configuration
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2022-01-07 11:13:04 +05:45
Saugat Pachhai (सौगात)
ea52ab2260
remove dvc.scm and dvc.fs.git module; rename dvc.fs.scm to dvc.fs.git
2021-11-25 19:09:58 +02: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
Paweł Redzyński and Jorge Orpinel
c39f91ecf4
params: read from ParamsDependency if possible ( #5550 )
...
* params: read from ParamsDependency if possible
* params: introduce include_untracked flag
* params: include untracked upon targets
* experiments: add option to show tracked params
* fixing test
* params: rename tracked to deps
* params: roll back to default params.yaml behavior
* experiments: add option to show only used params on diff
* Update dvc/command/experiments.py
Co-authored-by: Jorge Orpinel <[email protected] >
* Update dvc/command/experiments.py
Co-authored-by: Jorge Orpinel <[email protected] >
* Update dvc/command/params.py
Co-authored-by: Jorge Orpinel <[email protected] >
Co-authored-by: Jorge Orpinel <[email protected] >
2021-04-12 17:08:02 +02:00
Saugat Pachhai
f2b216261e
move Repo.diff related test to diff ( #5654 )
2021-03-19 16:58:21 +05:45
Dmitry Kropachev
6b05cc5e24
dvc.command.diff: add renamed detection feature ( #5160 )
...
fixes #5150
2021-01-09 13:49:03 +09: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
Saugat Pachhai
bb84f5d9e2
Enable parametrization by default ( #5018 )
...
* Enable parametrization by default
* Remove a way to disable parametrization
* Add a comment for the feature flag
2020-12-03 10:20:29 +02:00
Saugat Pachhai
1e1a0999f6
parametrization: show interpolated vars in params diff ( #5002 )
...
* parametrization: show interpolated vars in params diff
* Add test for params.diff
* disable logging duration if feature is not enabled
2020-12-01 15:43:37 +05:45
Alexander and aandrusenko
e928034fac
add py support for ParamsDependency ( #4456 )
...
* add py support for ParamsDependency
* add py support by ast
* add support modify py params
Co-authored-by: aandrusenko <[email protected] >
2020-09-24 17:25:44 +03:00
dtrifiro and Daniele Trifirò
e2b1fb1f64
add toml support for ParamsDependency ( #4258 )
...
* add toml support for ParamsDependency
* add toml support to dvc show
Co-authored-by: Daniele Trifirò <[email protected] >
2020-07-24 19:09:04 +03:00
Ruslan Kuprieiev
87276faef2
RepoTree: work with dirty repos ( #4005 )
...
Currently `RepoTree.open` will throw FileNotFoundError if you have a
file that is tracked by dvc, but which has no md5 or a cache for which
is missing, even though you have the file itself in your workspace.
This corresponds very nicely to the `--no-commit` or `--no-exec`
scenario, where you might not want to commit your artifacts to cache
just yet.
Fixes #3974
2020-06-11 09:50:27 +03:00
Ruslan Kuprieiev
9ee62ef8f0
dvc: rename "working tree" to "workspace" ( #3914 )
...
Fixes #3892
2020-05-31 17:39:04 +03: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
597ab98d0e
diff: hanle repo with no commits ( #3784 )
...
`git diff` doesn't throw errors, so we could do the same.
Fixes #3398
2020-05-14 02:14:37 +03:00
Ruslan Kuprieiev
93d7b9173b
tests: use --single-stage
2020-05-04 20:23:49 +03:00
Saugat Pachhai
7edee84306
dvc: implement params support for pipeline file ( #3694 )
...
* dvc: implement params support for pipeline file
* reorganize dump/load of params
* add tests for params
* fix order of dictionary in Python 3.5
2020-04-29 14:35:26 +03:00
Ruslan Kuprieiev
8455b7bece
params: diff: introduce --all ( #3631 )
...
* params: diff: introduce --all
Makes `dvc params diff` also show unchanged params.
* params: diff: show all present parameters
2020-04-15 13:21:24 +03:00
Ruslan Kuprieiev
cdef709e8a
params: fix bug when collecting multiple params ( #3615 )
2020-04-09 15:41:35 +03:00
Ruslan Kuprieiev
c1ac6bb06b
dvc: introduce dvc params diff ( #3573 )
...
* params: use repo.tree
* remote: local: use `repo.tree` for `exists()`
* param: handle missing params
* stage: move status warning to debug
* dvc: introduce `dvc params diff`
Fixes #3528
2020-04-09 05:18:49 +03:00