dependabot[bot]
0e0bb8ad76
build(deps-dev): bump mypy from 0.991 to 1.0.1 ( #9049 )Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
...
Bumps [mypy](https://github.com/python/mypy ) from 0.991 to 1.0.1.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.991...v1.0.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 17:03:41 +05:45
skshetry
1de37556d5
bump ruff to v0.0.247 ( #9050 )
...
* bump ruff to v0.0.247
* ruff: enable pep8-naming check
rename some camelCased APIs, especially in logger
rename G variables to graph
ignore some variable namings and help messages in dvc.commands
2023-02-18 16:50:35 +05:45
Ruslan Kuprieiev
098685b8f3
deps: bump dvc-data to 0.40.4
...
Improves index view related performance (e.g. `dvc diff`).
2023-02-18 11:35:01 +02:00
Ruslan Kuprieiev
8f549c8a8d
config: enable data index caching by default
2023-02-18 08:00:58 +02:00
Ruslan Kuprieiev
e56d97bb28
gha: user ubuntu 20.04 for deb packages
...
18.04 will reach EOL in april and will be dropped by gha.
18.04 also comes with an old sqlite version which forces us to use obsolete
syntax.
2023-02-18 08:00:58 +02:00
Ruslan Kuprieiev
07b72c20e9
repo: move data_index to .dvc/tmp/index
2023-02-17 21:43:57 +02:00
Ruslan Kuprieiev
592f251481
repo: use tmp_dir if available
2023-02-17 21:43:57 +02:00
Ruslan Kuprieiev
890c0020ed
Revert "repo: use tmp_dir if available"
...
This reverts commit 7ccf35b47e .
2023-02-17 21:25:46 +02:00
Ruslan Kuprieiev
7ce0b1cba2
Revert "repo: move data_index to .dvc/tmp/index"
...
This reverts commit d68599a5f7 .
2023-02-17 21:25:46 +02:00
Ruslan Kuprieiev
b8a9c37af5
Revert "config: enable data index caching by default"
...
This reverts commit 1af63acae5 .
2023-02-17 21:25:46 +02:00
Ruslan Kuprieiev
1af63acae5
config: enable data index caching by default
2023-02-17 19:55:25 +02:00
Ruslan Kuprieiev
d68599a5f7
repo: move data_index to .dvc/tmp/index
2023-02-17 19:55:25 +02:00
Ruslan Kuprieiev
7ccf35b47e
repo: use tmp_dir if available
2023-02-17 19:55:25 +02:00
Ruslan Kuprieiev
4f49023a08
config: don't set default cache dir
...
Setting default values is very untypical for all other applications and the
info config has is not enough to make a decision on the default cache dir,
especially when dealing with gitfs.
Fixes #8705
2023-02-17 07:57:39 +02:00
skshetry
d7ea7c358d
Revert "scm: use dulwich backend when fetching exps during clone/pull" ( #9041 )
...
Revert "scm: use dulwich backend when fetching exps during clone/pull (#9023 )"
This reverts commit ed1ab7fa75 .
2.45.1
2023-02-16 18:07:45 +05:45
dependabot[bot]
3f0da8f6cc
build(deps-dev): bump scmrepo from 0.1.10 to 0.1.11 ( #9039 )Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.1.10 to 0.1.11.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.1.10...0.1.11 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 18:03:13 +05:45
David de la Iglesia Castro
b7b7eff4a3
tests: Fix test_deleted.
...
Closes #6297
#9017 actually fixed this but the test was incorrect (something wrong with caplog).
2023-02-16 11:43:09 +01:00
skshetry
ddeb32ed33
ui: log footer support message to standard error ( #9034 )
2023-02-16 11:31:31 +05:45
Ruslan Kuprieiev
c7be921f44
cachemgr: don't use tmp_dir
...
We used to use it in gdrive before https://github.com/iterative/PyDrive2/pull/211
2023-02-16 06:43:20 +02:00
Ruslan Kuprieiev
c95c3f0f7a
deps: limit types-tqdm
...
See https://github.com/iterative/dvc/pull/9036
2023-02-16 06:43:20 +02:00
skshetry
be824ede0d
render: avoid deepcopying ( #9033 )
...
* render: avoid deepcopying
* remove unnecessary line
2023-02-15 16:25:45 +05:45
Ruslan Kuprieiev
cbe46cccd8
data: status: fix typo
...
Leftover from #9031
2023-02-15 07:18:19 +02:00
Ruslan Kuprieiev
49b5157abe
diff: use index
2023-02-15 06:40:02 +02:00
Ruslan Kuprieiev
6f87c14bf9
data: status: bring back ui.status
2023-02-15 05:57:50 +02:00
Ruslan Kuprieiev
0f80d16ba7
data: status: fix typing
2023-02-15 05:57:50 +02:00
Ruslan Kuprieiev
4b23b4f8ae
repo: cache index for cloud versioning
...
This allows us to reuse cloud versioning index that we've built in other
operations like `data status`.
Note, this only works with `dvc config feature.data_index_cache true`
right now.
Also note that index is not populated for regular remotes, it will come
in a separate PR as there are some http-related issues to figure out.
Related #8962
2023-02-15 04:53:48 +02:00
Ruslan Kuprieiev
446871d84f
index: build_data_index: use dvcignore
...
Fixes #9008
2023-02-14 21:33:43 +02:00
dependabot[bot]
99bbe15980
build(deps-dev): bump pylint from 2.16.1 to 2.16.2 ( #9020 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.1 to 2.16.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.1...v2.16.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 22:35:59 +05:45
David de la Iglesia Castro
320771551b
exp: Preserve staged changes after experiments.
...
- Detach head after stashing workspace.
- Use reinstate_index.
2023-02-14 16:59:10 +01:00
David de la Iglesia Castro
1676d1f344
Add test_stash_exp.
2023-02-14 16:59:10 +01:00
David de la Iglesia Castro
c8ae2895f0
deps: bump scmrepo==0.1.10
...
https://github.com/iterative/scmrepo/releases/tag/0.1.10
2023-02-14 16:59:10 +01:00
skshetry
ed1ab7fa75
scm: use dulwich backend when fetching exps during clone/pull ( #9023 )
...
refspecs uses pygit2 backend by default, which does not support git credential
helpers. This PR forces to use dulwich backend during clone/pull operations.
2.45.0
2023-02-14 19:18:40 +05:45
Karan Jakhar
73497dae9e
Handle filenames which has ":" ( #9000 )
...
* Fixes #8773 issue
* added test for #8773 issue
* skip test for windows
2023-02-14 11:21:32 +00:00
skshetry
eff775c760
brancher: add trace when switching filesystem ( #9022 )
...
brancher: add trace info when switching filesystem
2023-02-14 15:27:18 +05:45
Ruslan Kuprieiev
e73d662686
repo: introduce data_index
...
Extracting from `index.data` as a "root" data index that contains indexes
for different revisions/workspaces.
This is a setup for putting cloud versioning remote indexes and also replacing
old state.
2023-02-13 06:31:44 +02:00
Ruslan Kuprieiev
86a6fb104a
index: experimental persistent data index
...
Related https://github.com/iterative/dvc-data/issues/208
2023-02-13 02:57:30 +02:00
Ruslan Kuprieiev
3b097dcccd
deps: bump dvc-data to 0.40.1
2023-02-12 09:12:08 +02:00
David de la Iglesia Castro
e910dac0dc
Update pyproject.toml
2023-02-10 10:59:32 +01:00
David de la Iglesia Castro
17a71d6011
plots: Rename template_path to html_template.
2023-02-10 10:59:32 +01:00
dependabot[bot]
5a6ccc8027
build(deps-dev): bump dvc-render from 0.1.1 to 0.1.2
...
Bumps [dvc-render](https://github.com/iterative/dvc-render ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/iterative/dvc-render/releases )
- [Commits](https://github.com/iterative/dvc-render/compare/0.1.1...0.1.2 )
---
updated-dependencies:
- dependency-name: dvc-render
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-02-10 10:59:32 +01:00
pre-commit-ci[bot]
6dccfcb3f9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-10 04:47:57 +02:00
karajan1001
2b0c365f35
Fix some mypy error.
2023-02-10 04:47:57 +02:00
dberenbaum
611e2f4311
update rich
2023-02-09 23:18:50 +02:00
dberenbaum
561a375b48
update: drop worktree from cli
2023-02-09 23:03:50 +02:00
skshetry
e51345e276
get/import: lazy import dvc.scm; reduces dvc --help by ~20% ( #8996 )
2.44.0
2023-02-09 15:04:55 +05:45
skshetry
00e61e18ae
logging: do not disable other loggers ( #8995 )
...
Closes https://github.com/iterative/dvc/issues/8631
2023-02-09 15:04:29 +05:45
skshetry
5490fc00d1
logger: check isatty stream to print colored logs or not instead of depending on colorama ( #8993
...
logger: check isatty stream to print colored logs or not
2023-02-09 13:50:38 +05:45
skshetry
f1043676da
[WIP] logging: change from dictConfig to equivalent code for creating logge… ( #8985
...
logging: change from dictConfig to equivalent code for creating loggers/handlers/formatters
dictConfig clears all handlers, and potentially disables existing loggers (we disabled this functionality
though). There's much more code than necessary in dictConfig than what we need.
I have tried to keep the setup equivalent to what we had in the config, so I have not tried to cleanup
the code.
2023-02-09 09:34:14 +05:45
Ruslan Kuprieiev
f7ebcbb974
deps: bump dvc-data to 0.39.3
2023-02-09 05:44:50 +02:00
dependabot[bot]
c637b963e0
build(deps-dev): bump dvc-azure from 2.21.0 to 2.21.1 ( #8991 )
...
Bumps [dvc-azure](https://github.com/iterative/dvc-azure ) from 2.21.0 to 2.21.1.
- [Release notes](https://github.com/iterative/dvc-azure/releases )
- [Commits](https://github.com/iterative/dvc-azure/compare/2.21.0...2.21.1 )
---
updated-dependencies:
- dependency-name: dvc-azure
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 08:31:13 +05:45