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

Drush make-convert stopped writing output files #2399

Closed
fuzzy76 opened this issue Oct 18, 2016 · 5 comments
Closed

Drush make-convert stopped writing output files #2399

fuzzy76 opened this issue Oct 18, 2016 · 5 comments

Comments

@fuzzy76
Copy link

fuzzy76 commented Oct 18, 2016

Our scripted CI setup stopped working because make-convert suddenly stopped writing output files and instead wrote the result to stdout.

The changed happened in this commit which claims to only backport support for an extra format: befc2ca

As you can see near the end of the diff, the file is not written to disk any more, but returned as output.

But the help text still claims it writes output files as before:

https://github.com/drush-ops/drush/blob/8.x/commands/make/make.drush.inc#L151

@weitzman
Copy link
Member

ping @phenaproxima. if we can fix this quickly, lets do that. if not, lets just change docs and apologize profusely.

@phenaproxima
Copy link

I think I'd rather fix this, since we too need the ability for the command to output to a file. Forking now so I can whip up a fix.

@phenaproxima
Copy link

On second thought...it seems kind of pointless to fix this, since people can just pipe the output into a file quite easily. Is there any reason we shouldn't change the documentation to instruct this for file output?

drush make-convert foo.make --format=yml > foo.make.yml

@fuzzy76
Copy link
Author

fuzzy76 commented Oct 21, 2016

I doubt we're the only ones relying on the documented behaviour for our CI setup. So you'll probably break stuff for a lot of people for no apparent reason.

@weitzman
Copy link
Member

Decided to just improve the docs. My apologies to all the folks who get surprised by this change. We try our best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants