Commit Graph

317 Commits

Author SHA1 Message Date
Aaron Kalin f6d4badcd2 Enable trim_mode via '-' in ERB templates
This adds whitespace supression optionally, similar to the default
behavior in Rails ActionView ERB templates.

Just add - to a %> like so: -%> and it will remove trailing whitespace
and newlines. This can also be done to the beginning tag for removing
newlines from the beginning of the tag line.
2012-09-10 18:18:56 -05:00
Omar Khan 574e852710 foreman run should exit with the same code as its command 2012-08-24 16:50:05 +01:00
David Dollar 4abd3ebedb 0.57.0 2012-08-21 10:58:11 -04:00
David Dollar 681a9f7e61 0.56.0 2012-08-19 12:05:07 -04:00
David Dollar 6ca505b4cd 0.55.0 2012-08-14 17:07:52 -04:00
David Dollar 612eae5e21 use a forked process to exec a run with environment 2012-08-14 17:07:39 -04:00
David Dollar cd384e0d59 0.54.0 2012-08-14 17:00:19 -04:00
David Dollar 8921cac35b use Foreman::Process to extract command running 2012-08-14 17:00:01 -04:00
David Dollar 5f0f2f5378 0.53.0 2012-07-24 11:18:20 -04:00
David Dollar c1b57b59cf put app root in $HOME 2012-07-24 11:18:05 -04:00
David Dollar 359d6f1c34 0.52.0 2012-07-24 11:10:16 -04:00
David Dollar 584f251e4a wrap command in a runner that sources .profile.d scripts 2012-07-24 11:09:54 -04:00
David Dollar 03e5342067 0.51.0 2012-07-11 18:32:51 -04:00
David Dollar b1d57426fb dont try to colorize windows 2012-07-11 18:30:51 -04:00
David Dollar efb6d2f11d 0.50.0 2012-07-11 16:07:52 -04:00
David Dollar cefd4e351e handle windows 2012-07-11 16:02:07 -04:00
David Dollar 9849f4558a 0.49.0 2012-07-11 15:05:47 -04:00
David Dollar 4b53b42be1 1.8 compatibility 2012-07-11 15:05:28 -04:00
David Dollar 219acaf690 use one pgroup for all of foreman and kill that since ruby 1.8 sucks at pgroups 2012-07-11 15:05:20 -04:00
David Dollar 7fdade277c 0.48.0 2012-07-10 15:06:22 -04:00
David Dollar 1a0943c495 allow old exporter format to work, but with deprecation warning 2012-07-10 15:06:22 -04:00
Mark D. Blackwell ae7aeabb63 Avoid crash by verifying the existence of SIGHUP before accessing it. 2012-07-08 16:21:27 -03:00
David Dollar 9901b9f924 0.48.0.pre3 2012-06-18 00:11:43 -04:00
David Dollar 4c2d569810 0.48.0.pre2 2012-06-18 00:11:23 -04:00
David Dollar 26f9c8186d allow color to be forced on 2012-06-18 00:11:23 -04:00
David Dollar 24ed8946f3 terminate gracefully if stdout goes away 2012-06-18 00:11:23 -04:00
David Dollar 83b2a9cc50 always flush output 2012-06-18 00:11:22 -04:00
Wojciech Wnętrzak b1a2a4a0cd added command for displaying foreman version 2012-06-12 17:16:35 +02:00
Wojciech Wnętrzak b01355a093 fixed using YAML 2012-06-11 21:42:59 +02:00
David Dollar d6a00d7262 0.48.0.pre1 2012-06-11 12:27:20 -04:00
David Dollar 51a704939e massive refactoring for programmatic control and stability 2012-06-10 22:58:09 -04:00
Henry Hsu b628ddc608 Do not assume BUNDLE_GEMFILE 2012-06-07 22:12:52 -07:00
Henry Hsu f745b16217 Add support for starting procfile in tmux session 2012-06-07 22:12:52 -07:00
David Dollar a87a882e60 0.47.0 2012-06-07 22:49:51 -04:00
David Dollar efd9e2119b Merge pull request #173 from Viximo/feature/escape-env
Quote and escape environment variables in upstart templates
2012-06-07 19:43:20 -07:00
David Dollar bf9bdbf118 Merge pull request #194 from maxpow4h/master
Added launchd to exporters
2012-06-07 19:41:23 -07:00
David Dollar d6514b4f33 Merge pull request #201 from sos4nt/patch-1
Terminate gracefully upon SIGHUP
2012-06-07 19:40:38 -07:00
Daniel Brockman 3ea5de42aa Fix multi-word argument handling in foreman run. 2012-06-06 15:36:59 +02:00
Koen Van der Auwera 9b2987c3f0 make 'PORT=5000 foreman start' work 2012-05-16 23:59:09 +02:00
Stefan Schüßler 6274f99225 Terminate gracefully upon SIGHUP
Tmux sends SIGHUP when a session is killed which can result in orphaned processes. Adding a SIGHUP handler terminates the processes as expected.
2012-05-14 13:04:46 +03:00
Koen Van der Auwera 0b0324fed9 set port from .env if specified 2012-05-11 14:17:03 +02:00
Maxwell Swadling 3db1ad6fbc Added launchd exporter 2012-05-04 15:21:16 +10:00
David Dollar fa46a605bb 0.46.0 2012-05-02 13:19:11 -04:00
Michael Granger 053ae8f0be Add Profile load/write/append API 2012-05-02 09:30:57 -07:00
David Dollar af58af1c60 Merge pull request #187 from bkaney/master
Guard against missing Procfile in engine.rb
2012-04-29 21:00:58 -07:00
David Dollar 047f1ff5c4 0.45.0 2012-04-26 17:49:35 -04:00
Phil Hagelberg 7b85ad7c1a Create and chown log dir in upstart export. 2012-04-24 17:24:53 -07:00
Brian Kaney 91a87049db Guard against missing Procfile in engine.rb
Should be able to 'foreman run <task>' without a Procfile.  This seems true to the orig. intent as the cli does not directly check with 'run' (as it  does for 'start').
2012-04-24 15:51:14 -04:00
David Dollar 5689d75a87 0.44.0 2012-04-23 15:55:56 -04:00
David Dollar 638005403f clean up file/directory interaction, add some tests 2012-04-23 15:50:23 -04:00