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

Unexpected dvc remove behaviour #3242

Closed
r0f1 opened this issue Jan 27, 2020 · 2 comments
Closed

Unexpected dvc remove behaviour #3242

r0f1 opened this issue Jan 27, 2020 · 2 comments
Labels
awaiting response we are waiting for your reply, please respond! :)

Comments

@r0f1
Copy link

r0f1 commented Jan 27, 2020

Hi, I just encountered an unexpected dvc remove behavior. Is the following behavior intended?

> ls
report.html  report.html.dvc 
> dvc remove report.html
ERROR: failed to remove 'report.html' - bad DVC-file name 'report.html'. DVC-files should be named 'Dvcfile' or have a '.dvc' suffix (e.g. 'report.html.dvc').

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!
> ls
report.html.dvc

So I tried to remove the .html got an error that I should remove the .html.dvc file instead, but unexpectedly the .html was removed! Is this intended?

dvc --version
0.82.3
@triage-new-issues triage-new-issues bot added the triage Needs to be triaged label Jan 27, 2020
@efiop
Copy link
Contributor

efiop commented Jan 27, 2020

Hi @r0f1 !

I'm not able to reproduce. Maybe you've ran dvc remove report.html.dvc after that? It is removing outputs by default, but leaves the .dvc file intact unless --purge is specified.

@efiop efiop added the awaiting response we are waiting for your reply, please respond! :) label Jan 27, 2020
@triage-new-issues triage-new-issues bot removed the triage Needs to be triaged label Jan 27, 2020
@r0f1
Copy link
Author

r0f1 commented Jan 29, 2020

Thanks for the quick response. I tried to reproduce the behaviour today, but I could not. So, I am closing this again. Thanks anyways!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response we are waiting for your reply, please respond! :)
Projects
None yet
Development

No branches or pull requests

2 participants