Brandon Keepers
3abe10e5ab
Replace Foreman::Env with dotenv
2013-03-22 10:38:58 -04:00
David Dollar
7be4375168
changelog
2013-03-08 14:53:56 -05:00
David Dollar
2ebb33e049
0.62.0
v0.62.0
2013-03-08 14:52:50 -05:00
David Dollar
9fe7ddb8bd
Merge pull request #334 from ged/reentrant_signal_handlers
...
Add deferred signal-handling (fixes #332 ).
2013-03-08 11:41:12 -08:00
David Dollar
f954a42ecb
Merge pull request #335 from ged/20_encoding_fix
...
Fix spec encoding problem under Ruby 2.0.0.
2013-03-08 11:40:50 -08:00
Michael Granger
169188376b
Try to allow children to shut down gracefully
...
Since signals will no longer be handled once foreman goes into
`terminate_gracefully`, default signal handlers are restored so as
not to cause it to get stuck in an unTERMable state.
This necessitates not using the process group for signalling
except as a last resort, as foreman itself will receive the signals
it sends. This splits `killall` into two methods, one which
signals only processes foreman itself has started, and one which
signals all processes in the process group to try to clean up
more aggressively, and then reworks `terminate_gracefully` to use
them.
2013-03-04 14:05:53 -08:00
Michael Granger
5ab08c608b
Add deferred signal-handling ( fixes #332 ).
...
This uses a thread-local queue and a self-pipe so the code in the
trap blocks is properly re-entrant.
For details, see:
* http://cr.yp.to/docs/selfpipe.html
* http://blog.rubybestpractices.com/posts/ewong/016-Implementing-Signal-Handlers.html
2013-03-04 13:28:37 -08:00
Michael Granger
0b5c1f919e
Fix spec encoding problem under Ruby 2.0.0.
2013-03-04 13:03:13 -08:00
David Dollar
c94aa13b06
add ruby 2.0 to travis
2013-03-04 13:11:05 -05:00
David Dollar
4e84b92536
Merge pull request #327 from patheticpat/master
...
Fixed a typo in cli options description
2013-02-14 06:23:57 -08:00
Michael Kaiser
6215f8b3db
Fixed a typo in cli options description
2013-02-14 14:45:44 +01:00
David Dollar
ba9167152c
handled by mingw now
2013-01-14 08:21:40 -05:00
David Dollar
f31ff18191
update docs
2013-01-14 08:19:40 -05:00
David Dollar
c42110e438
update changelog
2013-01-14 08:19:31 -05:00
David Dollar
26bb0ed54e
0.61.0
v0.61.0
2013-01-14 08:18:05 -05:00
David Dollar
44002953f6
Merge pull request #277 from pcasaretto/add-timeout-switch
...
Add timeout switch to CLI - fixes #178
2013-01-14 05:12:12 -08:00
David Dollar
bb2c3a2d04
Merge pull request #264 from asanghi/master
...
shared_path is set in documentation leading to early evaluation
2013-01-14 05:10:47 -08:00
David Dollar
88cdaacc67
Merge pull request #258 from mclazarus/master
...
Don't quote shell escaped values.
2013-01-14 05:10:36 -08:00
David Dollar
faf7b3c40f
Merge pull request #279 from evanj/master
...
Fix --directory option: its actually --root
2013-01-14 05:10:11 -08:00
David Dollar
21dd610eaf
Merge pull request #280 from BIAINC/windows/host-support
...
Strip Windows Line Endings
2013-01-14 05:10:01 -08:00
David Dollar
fe65c7510d
Merge pull request #288 from crohr/remove-rubygems-requirement
...
Remove explicit requirement on rubygems.
2013-01-14 05:08:27 -08:00
David Dollar
cd2c255296
Merge pull request #291 from liveh2o/master
...
JRuby 1.9 doesn't require posix/spawn
2013-01-14 05:08:10 -08:00
David Dollar
92c1909217
Merge pull request #300 from mattv/output-blank-lines
...
Don't ignore blank lines in the output
2013-01-14 05:07:31 -08:00
David Dollar
af57bf3d52
Merge pull request #302 from ctrochalakis/process_group_fix
...
Ensure foreman is the process group leader
2013-01-14 05:07:21 -08:00
David Dollar
443994d3b5
Merge pull request #303 from fxposter/master
...
Fix for high CPU load. Fixes #260 and #299 .
2013-01-14 05:06:44 -08:00
David Dollar
2faa3fb6ff
Merge pull request #313 from sonots/fix_color
...
Fix color bug: not intense_cyan but bright_cyan
2013-01-14 05:02:52 -08:00
nseo
0d53f6bd6c
fix more
2013-01-13 22:10:12 +09:00
nseo
1d2bcdbc56
fix color
2013-01-12 01:10:25 +09:00
Pavel Forkert
aceea1472a
Fix #299 and #260
...
Some processes close their output channels and IO.select keeps
returning them as "readable", while IO#gets returns nil on them, thus
spending a lot of CPU looping through the same reader continuously
2013-01-07 02:30:56 +02:00
Christos Trochalakis
44726e377e
Ensure foreman is the process group leader
...
Foreman should be the process leader before killing processes using
his process group id.
Before that foreman was broken when it was not spawned from a shell.
2012-12-27 15:47:02 +02:00
Matt Venables
61eca5a1d8
Don't ignore blank lines in the output
...
This fixes the stdout code to ensure that empty lines are outputted.
Many times, these blank lines are intentional, so foreman should not
suppress them.
This fixes #286
2012-12-21 11:12:52 -05:00
David Dollar
553ac7f81f
Merge pull request #295 from petedmarsh/master
...
Add license to gemspec
2012-12-03 05:56:14 -08:00
petedmarsh
6790cf02a9
Add license to gemspec
2012-12-03 13:52:27 +00:00
Adam Hutchison
7ad41da592
Since JRuby 1.9 doesn't require posix/spawn, only follow that path if JRuby is loaded and running in 1.8 mode.
2012-11-27 22:07:50 -07:00
Cyril Rohr
8ee7b7afdf
Remove explicit requirement on rubygems.
...
It's better to not force the use of a package manager. Better to add it
to the global RUBYOPT if needed. Also, this fixes a dependency issue
when using the .deb package (rubygems1.9.1 is not required, and should
not be).
2012-11-12 21:10:10 +01:00
Aditya Sanghi
2620b90808
Dont use shared_path variable before multistage has a chance at it
2012-11-02 14:04:27 +05:30
Paul Morton
89bdc3ab8e
Strip Windows Line Endings
2012-10-18 09:28:39 -07:00
Evan Jones
60a11eb981
Fix man page: --directory is actually --root.
2012-10-18 11:48:50 -04:00
Paulo Luis Franchini Casaretto
61c222deb8
Add timeout switch to CLI
2012-10-17 16:05:10 -03:00
David Dollar
8fe86e98c8
update docs
2012-10-08 10:47:40 -04:00
David Dollar
5c1ffdb7dc
changelog
2012-10-08 10:47:21 -04:00
David Dollar
8b49256175
0.60.2
v0.60.2
2012-10-08 10:47:00 -04:00
David Dollar
37d777f224
update docs
2012-10-08 10:46:34 -04:00
David Dollar
73fc059634
Merge pull request #273 from silviorelli/master
...
Fix for fix on issue #260
2012-10-08 07:46:16 -07:00
Silvio Relli
f7b7029cc0
Fix for nil value on io select loop, fixes #260
2012-10-08 16:40:37 +02:00
David Dollar
3a101ec7dd
update changelog
2012-10-08 10:31:10 -04:00
David Dollar
6c931ea15e
0.60.1
v0.60.1
2012-10-08 10:30:25 -04:00
David Dollar
d173570d98
ree is timing out
2012-10-08 10:29:37 -04:00
David Dollar
0cd41fee7f
Merge pull request #272 from silviorelli/master
...
High cpu load patch by @mauricio - fixes #260
2012-10-08 07:29:31 -07:00
Silvio Relli
9da4e38209
Cleaner fix for high cpu load issue, fixes #260
2012-10-08 16:05:20 +02:00