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

Consider safe_remove for reused output names #1790

Closed
pared opened this issue Mar 27, 2019 · 1 comment
Closed

Consider safe_remove for reused output names #1790

pared opened this issue Mar 27, 2019 · 1 comment
Labels
p2-medium Medium priority, should be done, but less important

Comments

@pared
Copy link
Contributor

pared commented Mar 27, 2019

After merging #1789 use case:

dvc run -o out 'echo 1 >> out'
dvc run -o out 'echo 2 >> out'

described by @efiop in #1786 will behave with respect to recently introduced (#1759) persist flag.
In case of -o new run command will silently remove out before executing new command.
We should consider introducing mechanism using safe remove here, as it might result in unaware data removal.

@efiop efiop added the p2-medium Medium priority, should be done, but less important label Mar 27, 2019
@efiop
Copy link
Contributor

efiop commented Jun 12, 2019

Closing in favor of #2027

@efiop efiop closed this as completed Jun 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-medium Medium priority, should be done, but less important
Projects
None yet
Development

No branches or pull requests

2 participants