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
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
skshetry
2342099bd8
add: support virtual operation ( #9389 )
2023-05-11 08:31:25 +05:45
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
8620b6e5af
exp: Update --rev to support append action.
...
Closes #9390
2023-05-08 14:15:07 +02: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
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
Peter Rowlands
ec090c5680
exp: use new collection in show/cli commands
...
- Updates 'dvc exp show --json' to use new data format
2023-04-20 16:58:32 +09:00
dberenbaum
1c394986db
fix tests
2023-04-15 23:46:47 +03:00
David de la Iglesia Castro
3312a90949
exp run: Add --copy-paths arg.
...
List of paths to copy inside the temp directory. Only used if `--temp` or `--queue` is specified.
Closes #5800
2023-04-05 23:17:07 +02:00
skshetry
8be71be540
utils.studio: disallow redirects, misc API refactoring ( #9301 )
2023-04-04 13:15:08 +05:45
skshetry
7c3c47b4a2
bump ruff to 0.0.260 and enable bandit ( #9300 )
...
* bump ruff to 0.0.260 and enable bandit
* install toml extra for bandit
* suppress insecure use of hash md5
2023-04-04 10:01:43 +05:45
David de la Iglesia Castro
d2812fa48f
studio: Don't fail on empty params.
2023-03-31 19:23:40 +02:00
skshetry
086d51d9de
plots json: return definition errors unrelated to renderers ( #9293 )
2023-03-31 16:34:26 +05:45
skshetry
593f1064cf
utils.studio: refactor to return json response ( #9277 )
2023-03-29 20:02:40 +05:45
Ruslan Kuprieiev
35bb261b89
config: don't look for .dvc dir implicitly
...
Currently if dvc_dir doesn't exists (e.g. we are creating an uninitialized
repo), config will try looking for `.dvc` dir in the current directory,
which might be inside of another dvc repository resulting in mixed configs.
Use explicit `from_cwd` method to make `Config` try to find repo configs
if available to avoid the usage mixup.
2023-03-29 16:27:54 +03:00
skshetry
cc4816f652
utils.studio: require token ( #9255 )
...
This is a simple refactoring which makes the caller to choose appropriate token instead of
the studio.notify_refs making a decision for them.
2023-03-28 13:32:05 +05:45
skshetry
faa1bdfbce
use git remote to find out remote repo url when pinging Studio ( #9254 )
2023-03-28 12:17:48 +05:45
skshetry
1bc4c1dceb
exp share refactor - ping on exp:remove, do not fail on error ( #9248 )
...
studio experiments share refactor
1) Pings Studio on exp remove
2) Does not fail on any error during request.post
3) UI improvement on exp remove
2023-03-27 22:51:50 +05:45
skshetry
531b2110cf
Revert "exp push: add trailing slash to the endpoint url" ( #9243 )
...
Revert "exp push: add trailing slash to the endpoint url (#9240 )"
This reverts commit 5485275b92 .
2023-03-27 14:19:12 +05:45
skshetry
43195a806d
plots: return errors in json format ( #9146 )
...
* plots: return errors in json format
* plots --json: move plots data into data key
* rename revision key to rev
* move imports to top-level
* add tests
2023-03-27 12:53:43 +05:45
David de la Iglesia Castro and Dave Berenbaum
e9fb0b92aa
exp branch: Make branch arg optional.
...
Default to `f"{ref_info.name}-branch"` where ref_info is inferred from the `exp_rev` argument.
Co-authored-by: Dave Berenbaum <[email protected] >
2023-03-24 19:11:06 +01:00
skshetry
5485275b92
exp push: add trailing slash to the endpoint url ( #9240 )
2023-03-24 22:35:20 +05:45
pre-commit-ci[bot] and David de la Iglesia Castro
48b56c83dc
[pre-commit.ci] pre-commit autoupdate ( #9168 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.254 → v0.0.257](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.254...v0.0.257 )
- [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](https://github.com/codespell-project/codespell/compare/v2.2.2...v2.2.4 )
* pre-commit: fix ruff errors
* pre-commit: fix flake8
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: David de la Iglesia Castro <[email protected] >
2023-03-23 13:05:31 +00:00
Peter Rowlands
f8bbf20b77
exp: use individual q for timeout dependent tests
2023-03-23 19:18:52 +09:00
Ruslan Kuprieiev
dfe76c54d7
erepo: set subrepos/uninitialized explicitly
2023-03-22 02:26:44 +02:00
skshetry
8399bf612a
sconfig: add support for studio token ( #9213 )
...
config: add support for studio token
2023-03-20 20:59:52 +05:45
David de la Iglesia Castro
2d820cccad
deps: bump dvc-render>=0.3.1<0.4.0.
...
For https://github.com/iterative/dvc-render/pull/124
2023-03-16 21:36:02 +01:00
skshetry
58029e9719
exp push: push experiments revs to studio ( #9160 )
...
* exp push: push experiments revs to studio
* log json data that is sent
2023-03-16 11:24:50 +05:45
Ruslan Kuprieiev
b56f6b69dd
exp: push/pull: don't include baseline commit
...
Fixes #6592
2023-03-14 14:00:14 +02:00
Ruslan Kuprieiev
612f3039e0
repo: move state/index/data_index to site_cache_dir
...
We use all of these for optimization and should not depend on a potentially slow or broken
filesystem on which repository resides (could be HDD or CIFS/NFS/overlayfs/etc).
This PR means a few things:
* all odd filesystems that dvc repo might be on will work quickly out of the box
* when we start caching cloned repositories for `dvc get/import`, we will be
able to cache indexes for them as well (note that bare clones don't have a
worktree so there is no place for .dvc/tmp with the old approach).
* `index.dir` and `state.dir` are now obsolete.
* `dvc init` will cleanup site_cache_dir.
Related #5562
2023-03-13 02:58:23 +02:00
skshetry
aaa825a9a8
config: ignore unspecified keys from feature section ( #9153 )
...
A warning is shown to the user for the unsupported/ignored keys, and then ignored.
The warning is raised only once per interpreter session.
2023-03-10 21:52:05 +05:45
Ruslan Kuprieiev
3aa9f51e36
output: suppress cloud.pull errors on cache collection
...
Fixes https://github.com/iterative/studio/issues/5261
2023-03-09 22:44:32 +02:00
Peter Rowlands
8cbc4c43f1
tests: use session-scoped exp celery fixtures when possible
2023-03-09 16:25:09 +09:00
Peter Rowlands
417c327143
exp: add session-scoped celery test fixtures
2023-03-09 16:25:09 +09:00
Peter Rowlands
204eebaf15
tests: use brancher.switch
2023-03-09 15:02:26 +09:00
dberenbaum
fe7db32311
studio: handle revision errors when posting
2023-03-08 22:19:32 +01:00
Gao
4459d6ac57
Add back an dvc ignore test
...
Original from
https://github.com/iterative/dvc/pull/8767#discussion_r1070778749
2023-03-08 12:03:07 +02:00