-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
stage add
: fails with dirs that will be created later by the cmd
(s)
#5802
Comments
@skshetry This also can cause
|
stage add
: fails with dirs that will be created later by the cmd
(s)
@skshetry I don't want to slow down other work for this, but this seems like a fairly serious bug for |
@dberenbaum, for However, we can also choose not to generate If we do want to always generate |
In that case, do you know why we try to create |
Marking this as p1 until at least the |
Any answer to this? |
Bumping down to p2 following #7752 |
See #7740 (comment) |
Bug Report
Description
If the stage being defined creates a dir and files in this dir are stage outputs,
stage add
will fail (because it can't write the corresponding .gitignore file).Reproduce
Expected
I guess the full path to the .gitignore in question should be created if needed. Or maybe create it at
repro
? Not sure how, but I would expect the stage definition not to fail for this.Environment information
Output of
dvc doctor
:The text was updated successfully, but these errors were encountered: