Ruslan Kuprieiev
e69deaa132
import: don't forget to set other cache config options ( #9423 )
2023-05-16 15:53:41 +03:00
Peter Rowlands
be0a1a4a12
exp: fix temporary ref namespacing
2023-05-16 15:59:48 +09: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
915dd5062e
disable nested progress bar during checkout ( #9446 )
2023-05-12 18:43:33 +05:45
skshetry
d08c85f7d1
fix checkout callback during add/commit ( #9445 )
...
* fix checkout callback
Fix https://github.com/iterative/dvc/issues/6226 .
* bump minversion of dvc-data to 0.49.1
2023-05-12 18:14:13 +05:45
skshetry
2342099bd8
add: support virtual operation ( #9389 )
2023-05-11 08:31:25 +05:45
dberenbaum
06d8e3c639
add random seed to benchmark stories
2023-05-10 11:08:57 +02:00
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
Peter Rowlands
c75a5583b3
testing: sanitize venv names containing slashes
2023-05-09 18:52:42 +09: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
pre-commit-ci[bot]
8ecc66ae9a
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-05-05 22:25:38 +02:00
paulourbano
dfa5f4d9a0
utils: removing diff key from result dictionary
2023-05-05 22:25:38 +02: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
ac3eef439f
gha: try setting PYTHONUTF8
...
Trying to see if that will help with encoding error on windows with python 3.11
2023-05-05 21:55:31 +03:00
Ruslan Kuprieiev
b044bcce5e
tests: lockfile: use different way of changing a cmd
2023-05-05 04:16:58 +03:00
Ruslan Kuprieiev
a251cffdb5
deps: unpin ruamel.yaml
2023-05-05 04:16:58 +03:00
Peter Rowlands
37858be02f
testing: separate session and function level scope behavior for dvc_bin
2023-05-04 17:05:43 +09:00
Ruslan Kuprieiev
9b7240e9e0
deps: temporarily pin ruamel.yaml
...
Temporary workaround for https://github.com/iterative/dvc/issues/9397
2023-05-04 03:22:48 +03:00
Peter Rowlands
e362438f03
testing.benchmarks: support installing remote deps in benchmark venv
2023-05-03 18:19:31 +09:00
Peter Rowlands
6c79f6bbfc
testing: register pytest plugin
2023-05-03 14:58:54 +09:00
Peter Rowlands
58cd1cbc09
testing.benchmarks: separate fixtures and config
2023-05-03 14:58:54 +09:00
Peter Rowlands
96e3b48afd
testing: import dvc-bench benchmarks
2023-05-03 14:58:54 +09:00
dberenbaum
1f03c40dbe
add: msg for overlapping parent
2023-05-02 19:03:19 +03:00
skshetry
e93e8f05a3
exp push: notify studio even if cache push fails ( #9380 )
...
* exp push: notify Studio even when cache push fails
* exp push: refactor and extract exp_ref resolving logic as the function is getting complex
2.56.0
2023-05-02 08:46:10 +05:45
David de la Iglesia Castro
0f1326e547
api: exp_show: Cleanup flags.
...
Per https://github.com/iterative/dvc/pull/9356#discussion_r1180782320
2023-05-01 19:29:47 +02: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
Ruslan Kuprieiev
7e1036b30d
doctor: add system/global config location
2023-04-28 01:23:44 +03:00
Ruslan Kuprieiev
a15dbc8e03
info: get_fs_type -> _get_fs_type
...
This is not used anywhere outside so should be private like the rest. Likely a leftover from the past.
2023-04-28 00:53:03 +03:00
Ruslan Kuprieiev
4e02197245
info: replace self -> repo
...
Minor cleanup of an old leftover.
2023-04-28 00:40:11 +03:00
Peter Rowlands
4ab7ef06e5
exp: pass -v loglevel into dvc-task workers
2023-04-27 20:39:26 +09:00
Peter Rowlands
dae2faf36d
dvc-task: bump to 0.2.1
2023-04-27 20:39:26 +09:00
David de la Iglesia Castro
58f10a4661
gc: Add ui hint for not_in_remote.
2023-04-27 10:30:39 +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
skshetry
a4cc198ac7
exp push: soft wrap link so that the URL does not break ( #9368 )
...
soft wrap link so that URL does not break
2023-04-27 06:50:33 +05:45
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