Replies: 14 comments
-
@skshetry thank you for the proposal. Could you please clarify - is it only about backward compatibility (the existing dvc-files with commands)? |
Beta Was this translation helpful? Give feedback.
-
@skshetry yep, same question. I'm not sure I 100% understood the question. Could you clarify the idea a bit please? |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
My understanding: old-style dvc files will be treated as |
Beta Was this translation helpful? Give feedback.
-
In this case, an old pipeline won't work - What are the other pros and cons? |
Beta Was this translation helpful? Give feedback.
-
pros:
cons:
|
Beta Was this translation helpful? Give feedback.
-
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! |
Beta Was this translation helpful? Give feedback.
-
I think that if we decide to drop |
Beta Was this translation helpful? Give feedback.
-
Yes, we should probably have an official migration tool regardless. But .dvc files are no longer considered stages. That's part of the problem 🙂 |
Beta Was this translation helpful? Give feedback.
-
@jorgeorpinel I think within docs we can safely assume (and we already do) that |
Beta Was this translation helpful? Give feedback.
-
Reminding users that old format would be deprecated when an old |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Summary of discussion about this in #4278: PRO
CON
|
Beta Was this translation helpful? Give feedback.
-
Quick update: someone requested this on https://discord.com/channels/485586884165107732/485596304961962003/758695421526409227 |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions