* 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
* 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]>
dvc.run does not expand variables. It is only done when it's actually read from dvc.yaml file.
So during dvc run, the shell will try to expand the variable, which does not exist.
I don't think that the intention was to use shell variables. But I don't think we should ever
use them, as they will fail on some shells (eg: fish) and keep the scripts as simple as possible.
* exp push: improve ui
* fix misc suggestions
- show url even when the refs are up-to-date.
- show url at the end
- add Git remote information in up-to-date UI message.
* fix diverged exps message
* add artifacts section
* adding and removing artifacts
* delete code for add/remove; add tests
* fix pre-commit
* remove extra piece of writing to dvc.yaml
* remove extra piece
* simplify kwargs
* allow same names for artifacts in different dvc.yaml files
* set ID as path; don't return dvc.yaml(s) with no artifacts
* fix PR feedback
* issue warning at incorrect artifact name
* issue warning at incorrect artifact name
* reference right schema
* add r to regexp
* add tests for regexp
* set artifacts for SingleStageFile
* fix windows test
* make path required; simplify regexp and remove slash from it
* allow to use gto's artifacts.yaml
* remove extra piece of code for migration from gto
Makes dvc get/import/etc use dvcfs, which already supports cloud versioning,
circular imports and other stuff.
Also makes dvc import behave more like dvc import-url, so that we can use
the same existing logic for fetching those using index instead of objects.
Fixes#8789
Related iterative/studio#4782