Commit Graph
7652 Commits
Author SHA1 Message Date
karajan1001andDave 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 d8be68436f deps: bump dvc-data to 0.0.23 2.13.0 2022-07-10 18:10:45 +03:00
Ruslan Kuprieiev f6adc49089 deps: bump dvc-data to 0.0.22 2022-07-10 17:05:26 +03:00
Saugat Pachhai (सौगात) a4c0ae9c73 deps: bump dvc-data, install dvc-data cli deps in dev mode 2022-07-10 18:37:38 +05:45
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
dependabot[bot] da93e9a76c build(deps-dev): Bump pytest-mock from 3.8.1 to 3.8.2
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.8.1...v3.8.2)

---
updated-dependencies:
- dependency-name: pytest-mock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-07-06 11:38:18 +02:00
Ruslan Kuprieiev bd93d85d47 deps: bump dvc-data 2.12.1 2022-07-05 21:29:34 +03:00
Ruslan Kuprieiev eed6a8483c data_cloud: remove logger check
Per https://github.com/iterative/dvc/pull/7961/files#r913635687
2022-07-05 13:22:23 +03: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
Alex Hall c59f935cc5 Switch uses of %r to %s with quotes to avoid escaped backslashes in logs, especially in windows paths 2022-07-05 02:09:25 +03:00
Alex Hall 03b789e206 logger: use lazy formatting
Fixes #1843
2022-07-05 02:09:25 +03:00
pre-commit-ci[bot] cacc2f14cb [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/ambv/black: 22.3.0 → 22.6.0](https://github.com/ambv/black/compare/22.3.0...22.6.0)
2022-07-05 00:51:59 +03:00
Ruslan Kuprieiev 0d71194741 dvc: normalize targets before entering brancher
Fixes #7888
2022-07-04 16:34:49 +03:00
dependabot[bot] 683d22c42b build(deps): Bump dvc-data from 0.0.16 to 0.0.18
Bumps [dvc-data](https://github.com/iterative/dvc-data) from 0.0.16 to 0.0.18.
- [Release notes](https://github.com/iterative/dvc-data/releases)
- [Commits](https://github.com/iterative/dvc-data/compare/0.0.16...0.0.18)

---
updated-dependencies:
- dependency-name: dvc-data
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-07-04 14:02:40 +05:45
dberenbaum c687d1bf21 cli: help text for dvc update 2022-07-01 20:42:52 +02:00
Paweł Redzyński fbb98a87d1 plots: introduce flexible plots configuration to dvcfiles
Closes: #7086
2022-07-01 13:17:24 +02:00
Ruslan Kuprieiev f42beb4433 pyinstaller: add note about frozen version 2022-06-30 15:25:24 +03:00
David de la Iglesia Castro de8ab044f8 Downgrade pyinstaller
Per https://github.com/iterative/dvc/issues/7949#issuecomment-1170927010
2022-06-30 15:24:11 +03:00
skshetry 3c76885577 deps: remove setuptools_scm_git_archive
setuptools_scm can now work with git archives, so we don't need this plugin.
2022-06-30 17:00:24 +05:45
dependabot[bot] c347d9f84b build(deps-dev): Bump pytest-mock from 3.7.0 to 3.8.1
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.7.0...v3.8.1)

---
updated-dependencies:
- dependency-name: pytest-mock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2.12.0
2022-06-30 12:20:05 +05:45
dependabot[bot] efc4787cb0 build(deps-dev): Bump pylint from 2.14.3 to 2.14.4
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.14.3 to 2.14.4.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.14.3...v2.14.4)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-30 11:09:05 +05:45
skshetry be3ec9dc59 deps: bump dvc-data to 0.0.16 2022-06-29 20:16:19 +05:45
dependabot[bot] 685a2d5579 build(deps): Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.9.1...0.10.0)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-06-28 09:15:05 +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
Ruslan Kuprieiev d448eb5fc1 setup: bump dvc-data 2022-06-26 19:40:31 +03:00
skshetry 3dcd0107d2 deps: bump dvc-data to 0.0.13 2022-06-23 14:04:16 +05:45
dberenbaum 2773e99afc config: remove core.jobs dead code 2022-06-22 11:36:01 +08:00
Amey Kulkarni 9a1a3a05f5 Merge pull request #7671 from ap-kulkarni/amey/6141
s3fs: Adds support for SSE client keys
2022-06-22 00:54:10 +03:00
Ruslan Kuprieiev 286fab4aab setup: bump dvc-data to 0.0.12 2022-06-22 00:41:29 +03: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
Jorge Orpinel Perez 604e0178f7 readme: make VS Code installation into a separate section.
per https://github.com/iterative/dvc/pull/7916#pullrequestreview-1011575851
2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez f210e41d5a readme: single QS, VSC gif in Install
per https://github.com/iterative/dvc/pull/7916#pullrequestreview-1011465782
and https://github.com/iterative/dvc/pull/7916#pullrequestreview-1011465820
2022-06-20 16:10:38 +03:00
Jorge Orpinel e07e79da52 readme: roll back non-vscode changes 2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez 1284842f70 readme: fix link 2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez 0aa063a1e7 readme: add VS Code Extension sction and gif 2022-06-20 16:10:38 +03:00
Jorge OrpinelandDave Berenbaum 87c5cb7ebf Update README.rst
Co-authored-by: Dave Berenbaum <[email protected]>
2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez 59570c08a4 readme: add VS Code to Installation list + formatting 2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez eafe686dd6 readme: Link current Quick start to Cmd Ref 2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez d056d8a4c5 readme: blocks to link to DVC GS 2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez 165d95be56 readme: intro updates (VSCE) 2022-06-20 16:10:38 +03:00
Ruslan Kuprieiev ea1c54f48e setup: bump dvc-data to 0.0.11 2022-06-20 11:55:50 +03:00