David Dollar
7dca45db57
0.37.2
2012-01-29 21:28:30 -05:00
David Dollar
de54f6a5a5
0.37.1
2012-01-29 14:03:45 -05:00
David Dollar
0dff116340
use a 1.8-compatbiel method for IO.pipe
2012-01-29 14:01:13 -05:00
David Dollar
20f6ba1563
use binary pipes
2012-01-29 13:56:57 -05:00
David Dollar
347d4a0184
factor out poll_readers
2012-01-29 13:56:35 -05:00
David Dollar
8c3ef1a7af
0.37.0
2012-01-29 01:13:27 -05:00
David Dollar
2490dd2a5b
put an entire line of output inside a single mutex so we don't cross the streams
2012-01-29 00:09:44 -05:00
David Dollar
2705520496
fix race condition with process termination
2012-01-29 00:09:28 -05:00
David Dollar
522fee5e9e
pedantry
2012-01-29 00:08:58 -05:00
David Dollar
224fe94dc2
add more tests
2012-01-28 18:48:26 -05:00
David Dollar
9632227d29
0.37.0.pre5
2012-01-24 08:34:48 -08:00
David Dollar
a04032454a
0.37.0.pre4
2012-01-24 08:03:07 -08:00
Chris Lowder
a0a2dd9454
Don't expose the options hash.
2012-01-24 15:10:25 +00:00
Chris Lowder
1b701cddf3
Simplify subclassing by adding all arguments to the initializer. Also, clean up the method signatures for existing exporters.
2012-01-24 15:10:18 +00:00
Chris Lowder
84c49ae2b8
Attempt to require the custom export class.
2012-01-24 14:36:38 +00:00
Chris Lowder
d54b46806c
Catching more than we need to.
2012-01-24 14:36:38 +00:00
Chris Lowder
bc1c5e4c74
Extract commonality into the base class, make life easy for our plugin writers.
2012-01-24 14:36:38 +00:00
Chris Lowder
ed4a32518f
Removing the hard coding of export formats allowing the user to 'plug-in' their own export format.
2012-01-24 14:31:45 +00:00
David Dollar
0b1daf1927
ensure we have non-nil data, fixes #111
2012-01-22 22:01:03 -05:00
David Dollar
e0d84a56d7
make sure error method exists. fixes #104
2012-01-22 21:55:55 -05:00
David Dollar
7ee2edcc60
Merge pull request #136 from fnichol/foreman
...
---
Simple enough, but this helps when re-exporting runit services. Cheers, and thanks!
Conflicts:
spec/foreman/export/runit_spec.rb
2012-01-22 21:46:57 -05:00
David Dollar
f28725bdac
Merge pull request #139 from brainopia/foreman
...
---
If you remember Ive wanted to implement a prototype of process-tree monitor (and therefore restore support for complex commands), but decided to start with specing current behavior and marking desired behavior as pending specs.
This pull-request is a first pass. Its mainly Foreman::Process specs and a bit of refactoring. Specs for Foreman::Engine will be coming next (theyll cover a wide ground of possible uses). Afterwards I will replace machinery a bit to remove pending specs and ensure the rest is still passing on all available to me platforms.
If you have any notices, Ill gladly hear them.
2012-01-22 20:58:51 -05:00
David Dollar
51eee011ce
0.37.0.pre3
2012-01-22 20:40:50 -05:00
David Dollar
f60c4cb767
windows support
2012-01-22 20:33:14 -05:00
David Dollar
4ad49cb058
add windows support
2012-01-22 20:33:13 -05:00
David Dollar
e993af2b20
dont need pty
2012-01-22 20:33:13 -05:00
David Dollar
2995a605b4
0.37.0.pre2
2012-01-22 19:05:42 -05:00
David Dollar
ef280e802d
0.37.0.pre1
2012-01-22 19:04:25 -05:00
David Dollar
9cc0afca49
switch to posix-spawn for jruby
2012-01-22 18:39:20 -05:00
David Dollar
c9042c5aae
move the spoon require into the jruby branch
2012-01-22 17:30:02 -05:00
David Dollar
550adc8070
pass basedir along to the runner script
2012-01-22 17:29:52 -05:00
jc00ke
b4cab08327
Using spoon for JRuby support
2012-01-22 12:27:25 -08:00
brainopia
241b91a0d5
Implement Foreman::Process#kill,detach,alive?,dead?
2012-01-22 22:07:01 +04:00
brainopia
df043e60d8
Simplify Foreman::Process#with_environment
2012-01-22 08:57:09 +04:00
Fletcher Nichol
e76f3533dc
runit creates a full path to export directory.
2012-01-18 20:13:08 -07:00
David Dollar
1485eeb859
0.36.1
2012-01-18 11:18:39 -05:00
David Dollar
a73dce5405
0.36.0
2012-01-17 22:21:36 -05:00
David Dollar
2abddb42b3
sync the writer stream
2012-01-17 22:21:16 -05:00
David Dollar
d961a32cfe
capture stderr as well
2012-01-17 22:20:25 -05:00
David Dollar
fbe3d4ec69
0.35.0
2012-01-16 18:34:36 -05:00
Matt Griffin
f4123f4ae1
Merge branch 'master' of https://github.com/michaeldwan/foreman into feature/concurrency
...
Conflicts:
spec/foreman/engine_spec.rb
spec/foreman/export/bluepill_spec.rb
spec/resources/export/bluepill/app.pill
2012-01-16 17:18:14 -05:00
David Dollar
d4c2332c59
0.34.1
2012-01-16 09:53:56 -05:00
David Dollar
e257fc89c1
fix missing start desc
2012-01-16 09:53:43 -05:00
David Dollar
a278755ae4
0.34.0
2012-01-16 09:42:07 -05:00
David Dollar
e574880814
Merge pull request #101 from ndbroadbent/foreman
...
---
I just discovered the LiveReload gem, and wanted to use foreman to help me set up my development environments.
I didnt want to check in my custom development Procfiles, so I needed to alter the behaviour of:
> [The Procfiles] containing directory will be assumed to be the root directory of the application.
Ive set up some shared `Procfiles` for development, such as `Rails3Dev`, `Rails31Dev`, `JekyllDev`, etc.
Then I set up a bash alias for each of these Procfiles, such as:
```bash
alias rd31="foreman start -d . -f ~/dev/procfiles/Rails31Dev"
```
The only thing missing was the `-d` flag.
My `Rails31Dev` file looks like this:
```yaml
compass: compass watch --sass-dir app/assets/stylesheets --css-dir public/assets
livereload: livereload
passenger: passenger start
```
Thanks!
Conflicts:
lib/foreman/cli.rb
2012-01-16 09:38:25 -05:00
Craig R Webster
7132cacbf6
Wrap around to the first colour when all the colours are used
2012-01-16 09:35:51 -05:00
David Dollar
79fc3b8029
pedantry
2012-01-16 09:33:34 -05:00
Matthijs Langenberg
91140638e1
Set executable bit on runit run scripts.
2012-01-16 09:33:34 -05:00
David Dollar
48cc60c30f
Merge pull request #114 from gburt/master
...
add more colors
2012-01-16 06:21:28 -08:00
David Dollar
533139ea9f
0.33.1
2012-01-16 09:18:48 -05:00