Skip to content

checkpoints: set DVC_ROOT environment variable #4877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 12, 2020

Conversation

pmrowla
Copy link
Contributor

@pmrowla pmrowla commented Nov 11, 2020

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

Related to #4821

@pmrowla pmrowla added A: experiments Related to dvc exp skip-changelog Skips changelog labels Nov 11, 2020
@pmrowla pmrowla self-assigned this Nov 11, 2020
dvc/api.py Outdated
@@ -126,7 +126,7 @@ def make_checkpoint():
if os.getenv("DVC_CHECKPOINT") is None:
return

root_dir = Repo.find_root()
root_dir = os.getenv("DVC_ROOT", Repo.find_root())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add it to dvc/env.py. Just to keep track of such things.

@pmrowla pmrowla force-pushed the checkpoints-dvcroot-env branch from 0ad16ea to d4baa5f Compare November 12, 2020 07:00
@pmrowla pmrowla force-pushed the checkpoints-dvcroot-env branch from d4baa5f to d3bc2a0 Compare November 12, 2020 07:02
@pmrowla pmrowla merged commit 07676b2 into iterative:master Nov 12, 2020
@pmrowla pmrowla deleted the checkpoints-dvcroot-env branch November 12, 2020 07:26
I159 added a commit to I159/dvc that referenced this pull request Nov 12, 2020
…limit

* 'master' of github.com:iterative/dvc:
  dag: add --outs option (iterative#4739)
  Add test server and tests for webdav (iterative#4827)
  Simpler param updates with python-benedict (iterative#4780)
  checkpoints: set DVC_ROOT environment variable (iterative#4877)
  api: add support for simple wildcards (iterative#4864)
  tests: mark azure test as flaky (iterative#4881)
  setup.py: limit responses version for moto (iterative#4879)
  remote: avoid chunking on webdav. Fixes iterative#4796 (iterative#4828)
  checkpoints: `exp run` and `exp res[ume]` refactor (iterative#4855)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: experiments Related to dvc exp skip-changelog Skips changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants