Skip to content
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

Mention exp apply --no-force option in "Persisting Experiments" #3028

Closed
daavoo opened this issue Nov 17, 2021 · 4 comments · Fixed by #3042
Closed

Mention exp apply --no-force option in "Persisting Experiments" #3028

daavoo opened this issue Nov 17, 2021 · 4 comments · Fixed by #3042
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: guide Content of /doc/user-guide duplicate This issue or pull request already exists. type: enhancement Something is not clear, small updates, improvement suggestions

Comments

@daavoo
Copy link
Contributor

daavoo commented Nov 17, 2021

The option is only mentioned in the command reference but we don't have examples or motivations behind the usage.

I think it would be nice to add a mention to the option in the "Persisting Experiments" user guide.

@pmrowla I hadn't noticed the --no-force argument. On reflection, switching between experiments would necessitate use of a --force flag if it existed, and I guess that use-case is considered the most common.

I will monitor how I use exp apply for now, and whether I can easily encorporate --no-force into my workflow.

Originally posted by @mattlbeck in iterative/dvc#6930 (comment)

@daavoo daavoo added the C: guide Content of /doc/user-guide label Nov 17, 2021
@jorgeorpinel

This comment has been minimized.

@jorgeorpinel jorgeorpinel added the duplicate This issue or pull request already exists. label Nov 24, 2021
@jorgeorpinel

This comment has been minimized.

@jorgeorpinel jorgeorpinel reopened this Nov 24, 2021
@jorgeorpinel
Copy link
Contributor

So, I think the default behavior should be definitely noted (that it destroys current changes i.e. the Git working tree) and it is (in the ref), but we could rephrase to make it clearer there.

We should add this explanation to the guide as well. I'm surprised it was left out of https://dvc.org/doc/user-guide/experiment-management/persisting-experiments actually. Did we leave out many other options from guides @iesahin ? Thanks

@jorgeorpinel jorgeorpinel added type: enhancement Something is not clear, small updates, improvement suggestions A: docs Area: user documentation (gatsby-theme-iterative) labels Nov 24, 2021
@iesahin
Copy link
Contributor

iesahin commented Nov 29, 2021

As far as I can tell, there is none.

SmartSelect_20211129-181032_Firefox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: guide Content of /doc/user-guide duplicate This issue or pull request already exists. type: enhancement Something is not clear, small updates, improvement suggestions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants