Peter Rowlands
cf59d801ce
repo.index: use correct hash when rebuilding index entries
2023-06-12 16:22:25 +09:00
Peter Rowlands
b733dea4c2
dvc-data: bump to 1.7.0
2023-06-12 16:22:25 +09:00
Ruslan Kuprieiev
2ed677057d
fetch: cache collected
...
This avoids recollecting the cache files over and over again.
For example, `dvc fetch` noop in `dvc-bench` went from ~30sec down to ~10sec
for me.
Next step is to also cache remote index, so we don't have to waste those
~10sec checking files in the remote.
Related https://github.com/iterative/dvc-data/pull/376
2023-06-12 04:31:37 +03:00
Ruslan Kuprieiev
0597311439
deps: bump dvc-data to >=1.5.0
2023-06-12 01:04:24 +03:00
Ruslan Kuprieiev
fc8ec6aa95
fetch: show progress when collecting
2023-06-10 22:48:16 +03:00
Ruslan Kuprieiev
3dca69b678
deps: bump dvc-data to >= 1.2.0
...
This brings https://github.com/iterative/dvc-data/pull/373 , which improves UI for `checkout` by not visually hanging during `diff` stage inside.
2023-06-10 21:33:25 +03:00
Ruslan Kuprieiev
4c0bb8d316
fetch: use index fetch
2023-06-10 21:18:57 +03:00
Ruslan Kuprieiev
1cb371d4d7
repo: commit: don't require target
...
Same as CLI.
2023-06-10 19:19:40 +03:00
Ruslan Kuprieiev
c96795dcfb
tests: checkout: fix test_checkout_relink_protected on windows
2023-06-09 22:36:33 +03:00
Ruslan Kuprieiev
8f768addf9
checkout: don't validate cache
...
Part of #9561
2023-06-09 18:41:19 +03:00
Ruslan Kuprieiev
af1fb722c8
dvc: drop cached external outputs
...
Fixes #9531
Docs https://github.com/iterative/dvc.org/pull/4574 Kudos @dberenbaum
2023-06-09 18:34:36 +03:00
Ruslan Kuprieiev
8b1c1a31f3
deps: bump dvc-data to >=1.0.3
2023-06-09 18:16:51 +03:00
Ruslan Kuprieiev
262419ef35
deps: bump dvc-data to >=1.0.2
...
Related https://github.com/iterative/dvc/issues/9566
2023-06-09 16:26:31 +03:00
Peter Rowlands
265fc581c0
dvc-data: bump to 1.0.0
2023-06-09 15:49:44 +03:00
Peter Rowlands
80f414c19d
remote: support legacy cache push/fetch
2023-06-09 15:49:44 +03:00
Peter Rowlands
2cd33e10ac
output: serialize 3.x hash name in 'hash' field
2023-06-09 15:49:44 +03:00
Peter Rowlands
603f5fdba1
cache: move 3.x data objects into files/md5/ prefix
2023-06-09 15:49:44 +03:00
Dave Berenbaum
528eab0418
import: drop --file ( #9562 )
2023-06-09 10:03:32 +05:45
skshetry
ed664143b4
dvc.build: move logic out of __init__ to dvc.build ( #9563 )
2023-06-08 08:19:59 +05:45
Saugat Pachhai (सौगात)
21a2504bcb
dvc.utils.pkg: move PKG to top-level dvc
...
PKG has to be specified in dvc/_build.py now, and can be
imported using:
from dvc import PKG
This is done to avoid importing from dvc/utils pkg which can
be expensive.
Also it's not an utility, so it is better that it remains at
the top-level namespace.
Note that we may have to fix the path for a few packages that we build,
like conda/snap/chocolatey.
2023-06-08 00:31:00 +03:00
Ruslan Kuprieiev
d0291e8039
checkout: let index checkout error-out on missing hashes
...
This ensures we don't assume that everything needs to have hash_info to be
checked out (e.g. we can totally checkout directly from FileStorage).
Related https://github.com/iterative/dvc/pull/9424
2023-06-07 14:56:19 +03:00
skshetry
358c5e0c39
drop stage-level vars ( #9556 )
...
drop stage-level vars support
2023-06-07 11:10:08 +05:45
skshetry
9d7fba5c61
fix tests ( #9555 )
2023-06-07 10:28:54 +05:45
skshetry
a1e339b4fa
.dvc file: remove cmd support ( #9554 )
2023-06-07 09:30:13 +05:45
skshetry
6c58d438b3
tests: remove single_stage tests from repro/run tests ( #9553 )
2023-06-07 09:25:08 +05:45
skshetry
0c709b6ec1
.dvc file: remove metrics/plots support ( #9552 )
2023-06-06 20:42:09 +05:45
skshetry
0aeb7a8662
.dvc file: remove params support ( #9551 )
2023-06-06 20:05:36 +05:45
skshetry
46f3157f43
add: rename jobs to remote_jobs to mirror CLI; move validation to CLI ( #9550 )
...
- Follow up on https://github.com/iterative/dvc/pull/9522 , renames jobs kwarg to remote_jobs
to mirror CLI.
- Also moves validation logic to CLI.
2023-06-06 19:30:39 +05:45
skshetry
36fd69be21
add: remove file ( #9548 )
...
* add: remove `file`
Follow up to #9547 .
* Update add.py
* fix tests
2023-06-06 18:44:19 +05:45
skshetry
3759535d43
tests: remove single_stage stage runs ( #9549 )
2023-06-06 18:38:07 +05:45
dberenbaum
2c4365513e
add: deprecate --file
2023-06-06 14:57:07 +03:00
skshetry
26152292aa
remove support for reading and generating Dvcfile ( #9546 )
2023-06-06 15:29:10 +05:45
skshetry
3e0f2bafbb
add: small misc refactoring ( #9540 )
2023-06-05 18:41:17 +05:45
Ruslan Kuprieiev
78637713cf
checkout: use index checkout
...
Needed for https://github.com/iterative/dvc/pull/9424
2023-06-04 23:27:01 +03:00
Ruslan Kuprieiev
f9104275f3
deps: install tzdata for testing with celery ( #9537 )
...
Temporary fix for CI on windows with py >=3.9.
2023-06-04 22:18:23 +03:00
Ruslan Kuprieiev
bce3b5d2a1
update: make sure we update hashes/checksums on --to-remote ( #9536 )
...
Discovered in #9444
2023-06-04 19:36:54 +03:00
Dave Berenbaum
6ace5ed380
add: tweak stage overlap error message ( #9514 )
...
* add: tweak stage overlap error message
* add: instructions for how to fix overlap error
2023-06-02 00:46:55 +03:00
Ruslan Kuprieiev
6543580100
dvcfs: don't use datafs isout/isdvc
2023-05-31 23:14:28 +03:00
David de la Iglesia Castro
a1b891ce01
deps: bumps dvc-azure>=2.21.2
...
Closes #9506 via https://github.com/iterative/dvc-azure/pull/48
2023-05-31 14:22:27 +02:00
Dave Berenbaum
3a85326df3
add: rename jobs to remote-jobs ( #9522 )
2023-05-31 01:14:30 +03:00
skshetry
355ebc72eb
add: remove --recursive, rename fname to file ( #9513 )
...
add: remove --recursive
2023-05-26 12:07:13 +05:45
daavoo
5a6f834088
repro: Skip pulling run cache if no-run-cache was passed.
2023-05-25 16:35:30 +02:00
daavoo
e98bf38d4c
repro: Continue on RunCacheNotSupported
...
Closes #9470
2023-05-25 16:35:30 +02:00
skshetry
192c9cc577
remove original PR from backport PR title ( #9510 )
2023-05-25 16:37:25 +05:45
skshetry
0e38525d8d
cli: remove dvc run ( #9508 )
...
Note that `Repo.run()` API still exists, which will be removed in
successive PRs. A lot of tests depend on it that it'll take time
before removing it.
2023-05-25 16:27:14 +05:45
Dave Berenbaum
8acd943d52
exp list: show experiment shas ( #9501 )
...
* exp list: include sha; still needs remote support
* exp list: ignore rev for remotes
* exp list: update output format
* refactor
2023-05-25 15:05:12 +09:00
dependabot[bot]
79c88008f8
build(deps-dev): bump dvc-gs from 2.22.0 to 2.22.1
...
Bumps [dvc-gs](https://github.com/iterative/dvc-gs ) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/iterative/dvc-gs/releases )
- [Commits](https://github.com/iterative/dvc-gs/compare/2.22.0...2.22.1 )
---
updated-dependencies:
- dependency-name: dvc-gs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-05-24 13:53:00 +09:00
Peter Rowlands
9c9ca39fb4
exp: fix rebased imports
2023-05-23 15:50:58 +09:00
Peter Rowlands
89109fafcf
exp: always log running experiment name at the start of a run
2023-05-23 15:43:50 +09:00
Peter Rowlands
aa19e24670
exp: support switching to live workspace exp name
2023-05-23 15:43:50 +09:00