-
Notifications
You must be signed in to change notification settings - Fork 1.2k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
deprecate old .dvc file based run
stages?
#3936
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
Comments
@skshetry thank you for the proposal. Could you please clarify - is it only about backward compatibility (the existing dvc-files with commands)? |
@skshetry yep, same question. I'm not sure I 100% understood the question. Could you clarify the idea a bit please? |
Sorry, it's more of a question. If it's not making much of a sense from UI/UX and product perspective to support old-style pipeline stages, maybe, we should deprecate? I don't know, I just wanted to hear some thoughts from y'all. The backward compatibility will not be there, but we can consider those stages as a read-only and similar to @shcheklein, this proposal more or less arose from the issue you raised on our 1o1 on why we need |
My understanding: old-style dvc files will be treated as |
In this case, an old pipeline won't work - What are the other pros and cons? |
pros:
cons:
|
This has indeed become evident when documenting them together! Full explanation and detailed proposal on how dvc.* files would look in #4278
This part was confusing but I think by now it's clear the most straightforward option is to get rid of .dvc files altogether, integrating their contents to dvc.yaml and dvc.lock (I came up with other alternatives in #4278 but would imply a separate set of commands for .dvc files)
Old .dvc files could be left as optional (not encouraged or even mentioned much in docs) for this. Upvoting this! |
I think that if we decide to drop |
Yes, we should probably have an official migration tool regardless. But .dvc files are no longer considered stages. That's part of the problem 🙂 |
@jorgeorpinel I think within docs we can safely assume (and we already do) that |
Reminding users that old format would be deprecated when an old |
We do (except in outdated docs) @shcheklein, but it's not as safe to assume so IMO. They behave like stages in a way, because they can be reproduced... So it may not be obvious to users.
Great idea to have an automatic migration tool built into |
Summary of discussion about this in #4278: PRO
CON
|
Quick update: someone requested this on https://discord.com/channels/485586884165107732/485596304961962003/758695421526409227 |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Uh oh!
There was an error while loading. Please reload this page.
It feels like
dvc.yaml
and old*.dvc
file approaches doesn't really mix well, maybe more so when we try to explain in docs, and in terms of UI/UX (as pointed out by @shcheklein lots of times already).So, maybe, we could move away from
*.dvc
files produced bydvc run
?The thing that I propose is, making old stage dvcfiles as similar to
dvc add
-ed files, one that cannot reallyrepro
orrun
, but works for checkouts and friends as well.To be fair, this does not really improve our codebase, at least in short term, and am creating issue for the debt on the product side.
Also, this can be implemented after 1.0 as well.
cc @dmpetrov
The text was updated successfully, but these errors were encountered: