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
Don't touch files #1542
Don't touch files #1542
Conversation
I'm afraid what this is breaking change. How can we figure this out? |
I have the same feeling... this might be a breaking change... maybe this should be feature-flagged instead of beeing deleted, so you can opt-out from this touch call in your recipe. |
I think we need to see history of this addition and why it was introduced in first place. |
Yeah I was trying to, but at some time there was a large refactor so the history was hard to track down. The symlink would still be created right? Just as a broken link, which (imho) is easier to notice then an empty file. |
Apparently it was introduced along with whole |
I guess we could also show a warning message when this doesn't exist, or fail. But imho it seems to be more dangerous/unexpected to create an empty file, because some frameworks might check for the existence of a file and then require it or change behavior. |
@gharlan your are right. Actually shared_dirs also created. What about them? I think this is kind of breaking changes. I think to add this to v7 milestone. |
So another use-case about this: |
Agree. Will be better to not create file. What about shared dirs? |
If you ask me, I would answer; no shared directory creation and an showing an warning message is enough. Because this situation will only occurs when you bootstrap the project. In our situation the shared directories contains an |
What about a flag to disable/enable this feature... and disabled by default, because otherwise it would be BC break |
I think one more flag is redundant. Will merge in into v7 major release. |
Fixes #1540
Removes the
touch
so that non-existing files are not created, possibly in an invalid format.