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
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
David de la Iglesia Castro
25313f5d82
exp: Drop checkpoints ( #9271 )
...
exp: Drop `checkpoints`.
Closes #9221
2023-05-23 11:32:18 +05:45
David de la Iglesia Castro
182728d674
exp run / repro: Drop --metrics. ( #9458 )
...
* exp run / repro: Drop `--metrics`.
* exp run: Rename `-M` to `-m`.
2023-05-22 19:13:22 +05:45
David de la Iglesia Castro
f245567613
exp: Drop gc. ( #9273 )
...
Closes #7991
2023-05-22 16:08:25 +05:45
skshetry
6532258e4a
drop top-level plots definition as mapping support ( #9486 )
2023-05-22 15:08:22 +05:45
daavoo and Ivan Shcheklein
eb45cda5d0
get_random_exp_name: Use custom random generator.
...
See https://github.com/iterative/dvclive/pull/576
Co-authored-by: Ivan Shcheklein <[email protected] >
2023-05-22 10:46:41 +02:00
skshetry
1989c0fe98
stage add: introduce --run option ( #9480 )
...
* stage add: introduce --run option
Part of #5846 .
* fix ui message
2023-05-22 12:27:20 +05:45
daavoo
3ddd4b87fc
exp: Fix --rev args for ls pull and remove.
...
Closes #9471
2023-05-21 13:25:40 +02:00
skshetry
e089ee0365
remove data ls and support for --meta/--desc/--label/--type cli flags ( #9481 )
2023-05-19 20:10:34 +05:45
David de la Iglesia Castro
02f7fcae73
exp show: Drop --pcp. ( #9270 )
...
Closes #9268
2023-05-19 15:36:33 +05:45
David de la Iglesia Castro
cdba65f27e
exp: Drop init. ( #9269 )
...
Drop `exp init`.
Closes #9267
2023-05-19 14:39:16 +05:45
skshetry
3959c51373
lockfile: drop 1.0 lockfile support ( #9476 )
2023-05-18 17:36:05 +05:45
skshetry
90aaf5a296
commands: remove --show-json/--show-md/--show-csv flags ( #9475 )
2023-05-18 16:36:14 +05:45
daavoo
ecb71c8263
exp push: Handle rev arg as list.
2023-05-18 09:54:10 +02:00
Dave Berenbaum
7f6890ff25
Live metrics config ( #9433 )
...
* exp: live metrics config token and offline
* refactor live metrics config
* use get_studio_config
* revert to using env vars for studio config
* update dvc-studio-client to support live metrics config changes
* upgrade dvc-studio-client
* don't change environ when posting live metrics events
2023-05-17 09:21:01 +00:00
daavoo
64beb1578a
repro: Add --allow-missing.
...
Point 2 in https://github.com/iterative/dvc/pull/9375#issuecomment-1531683194
2023-05-16 22:43:24 +02:00
dberenbaum
f888544554
gc: disallow --remote without other flags
2023-05-16 17:18:57 +02:00
daavoo
1e538ed87b
repro: Move pull logic to inside Stage.
2023-05-16 16:11:43 +02:00
skshetry
004f49744e
tests: isolate dvc config and directories ( #9450 )
...
* tests: isolate dvc config and directories
by introducing envvars to change default values. This lets pytest
handle the deletion of tmpdirs, instead of filling /var/tmp with
hundreds of thousands of directories. Also isolates test run from
faulty global/system config files.
* move to dvc/env and sort
2023-05-15 18:16:02 +05:45
Alexander Guschin and Oded Messer
45181504ea
Add API to add artifacts ( #9345 )
...
* api call to add/write artifact
* return dvcyaml path on add
* create dir for dvc.yaml if needed
* create dir for dvc.yaml if needed - fix
* allow nested artifact names
* make dvc get download artifacts
* Apply suggestions from code review
Co-authored-by: Oded Messer <[email protected] >
* use feedback
* remove 'dvc get' from this PR, keep only adding artifacts
* allow first char of artifact name to be a number
* add note about constants
* fix parsing artifact name
* remove 'parse_name' and write tests for 'add'
* Apply suggestions from code review
Co-authored-by: Oded Messer <[email protected] >
* updates from comments
* fix for studio
* fix again
* making check_name_format to raise an exception
* Update dvc/repo/artifacts.py
---------
Co-authored-by: Oded Messer <[email protected] >
2023-05-15 07:55:43 +00:00
skshetry
2342099bd8
add: support virtual operation ( #9389 )
2023-05-11 08:31:25 +05:45
David de la Iglesia Castro
195e67c0c1
repro: pull all missing files ( #9395 )
...
* reproduce: Update `pull` to also pull `run cache`.
* reproduce: Update `pull` to also pull changed stages.
2023-05-10 00:29:44 +03:00
David de la Iglesia Castro
981baa8c30
studio: Send message on start event.
...
- Bump `dvc-studio-client>=0.9.0,<1`
Part of #8870
2023-05-08 20:08:47 +02:00
David de la Iglesia Castro
aa517bc90e
exp save: Support --message.
...
Custom commit message to use when committing the experiment.
Part of #8870
2023-05-08 20:08:47 +02:00
David de la Iglesia Castro
c74dc20b97
exp run: Support --message.
...
Custom commit message to use when committing the experiment.
Part of #8870
2023-05-08 20:08:47 +02:00
David de la Iglesia Castro
1ba3944944
api: exp_show: Postprocess empty strings as None.
...
Makes it easier to manipulate when converting to pandas DataFrame.
2023-05-08 17:10:27 +02:00
David de la Iglesia Castro
8620b6e5af
exp: Update --rev to support append action.
...
Closes #9390
2023-05-08 14:15:07 +02:00
Ruslan Kuprieiev
6b6084a848
tests: import: check that dvcfs is using main repo's cache ( #9417 )
...
Followup for https://github.com/iterative/dvc/pull/9415
2023-05-08 00:34:00 +03:00
Ruslan Kuprieiev
967dd5ea2b
import: don't forget to set cache.dir ( #9415 )
...
* import: don't forget to set cache.dir
* repo: open: try setting remote for local repos
2023-05-07 05:28:58 +03:00
Ruslan Kuprieiev
ad39bf14ed
repo: external_repo -> _external_repo
2023-05-07 04:14:25 +03:00
Ruslan Kuprieiev
01416df5a4
get: use Repo.open instead of external_repo
...
This should use `Repo.open` just like `dvc import`, to benefit from
handling local repos without cloning and redundant downloaads.
2023-05-07 04:14:25 +03:00
Ruslan Kuprieiev
eb592e7e33
repo: consolidate Repo.open logic
2023-05-07 04:14:25 +03:00
dberenbaum
2db07b047e
data status: exclude remote status by default
2023-05-06 18:21:11 +03:00
paulourbano
75952c4e36
tests: changing tests to reverted diff functionality
2023-05-05 22:25:38 +02:00
paulourbano
31b0b8de73
tests: adapting tests to new diff output
...
Issue #7960
2023-05-05 22:25:38 +02:00
paulourbano
fae47e6122
metrics: adds support for strings in metrics
...
Fixes #7960
2023-05-05 22:25:38 +02:00
Ruslan Kuprieiev
b044bcce5e
tests: lockfile: use different way of changing a cmd
2023-05-05 04:16:58 +03:00
dberenbaum
1f03c40dbe
add: msg for overlapping parent
2023-05-02 19:03:19 +03:00
David de la Iglesia Castro
2a04263f02
api: Add scm module with all_{X} methods for listing revs.
2023-04-28 12:33:03 +02:00
David de la Iglesia Castro
348446050e
api: Add exp_show.
...
Closes #8775
Closes #7167
2023-04-28 12:33:03 +02:00
David de la Iglesia Castro
64e787fa02
gc: Handle remote field in --cloud and --not-in-remote.
2023-04-27 10:30:39 +02:00
David de la Iglesia Castro
c7e2ec9707
gc: Add --not-in-remote arg.
...
Closes #2036
2023-04-27 10:30:39 +02:00
Oded Messer
d203bf9024
Fix: Prettifying unexpected error on FileExists for get/get-url/imp-url/add and introducing --force ( #9365 )
2023-04-27 00:41:09 +00:00
skshetry
e1bf418e72
tests: lazy tpi imports, ignore deprecation warning from setuptools ( #9362 )
2023-04-24 21:34:07 +05:45
David de la Iglesia Castro
b6d8c07d4d
studio: Ensure studio_repo_url works with exp run --queue.
...
Closes #9349
2023-04-21 21:04:48 +02:00
Peter Rowlands
b814531c84
exp: use mocked queue in test_apply_failed
2023-04-21 16:17:01 +09:00