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

Fix commands, the easy way. #344

Merged
4 commits merged into from
Nov 22, 2013
Merged

Fix commands, the easy way. #344

4 commits merged into from
Nov 22, 2013

Conversation

plietar
Copy link
Contributor

@plietar plietar commented Nov 22, 2013

I don't know why I haven't thought of it earlier.
This doesn't require a complete refactor, nor changes to pluginhook, as opposed to #312.

I believe the refactor would still be useful and make it cleaner. At least we have an intermediate solution, which we could pull into v0.2, if you agree.

fixes #343 #319 #272 #236

@progrium
Copy link
Contributor

+1

@ghost
Copy link

ghost commented Nov 22, 2013

Let's include this in v0.2.0-RC4 and bump back release 24 more hours

Don't use pluginhook to run the commands hook, just run all the scripts
in a loop.
Now that "docker run" always has an stdin, we don't need to explicitly
specify stdout and stderr.
These issues are fixed by this PR.
This avoids hanging when we're not in a pty.
ghost pushed a commit that referenced this pull request Nov 22, 2013
Fix commands, the easy way.
@ghost ghost merged commit e42c028 into dokku:master Nov 22, 2013
@plietar plietar deleted the commandfix branch November 22, 2013 23:18
This pull request was closed.
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

Successfully merging this pull request may close these issues.

None yet

2 participants