Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] zbatery 4.2.0 released
  @ 2014-05-14 21:20  3% ` Eric Wong
  0 siblings, 0 replies; 7+ results
From: Eric Wong @ 2014-05-14 21:20 UTC (permalink / raw)
  To: rainbows-public

Basically everything for Rainbows! 4.6.2 applies:

http://bogomips.org/rainbows-public/m/20140512073935.GA29516@dcvr.yhbt.net

* http://zbatery.bogomip.org/
* rainbows-public@bogomips.org
* git://bogomips.org/zbatery.git
* http://zbatery.bogomip.org/NEWS.atom.xml

One notable new feature is the addition of the
--no-default-middleware option which I forgot about and should've
released last year when Rainbows! got it :x

Eric Wong (6):
      Rakefile: s/freshmeat.net/freecode.com/
      Rakefile: kill raa_update task
      rubyforge death updates
      update license to GPLv2+
      warn about premature grandparent death on daemonization
      update for Rainbows! compatibility

Lin Jen-Shin (1):
      Add -N or --no-default-middleware option.
-- 
Eric Wong

^ permalink raw reply	[relevance 3%]

* Re: what's cooking in rainbows.git (v4.5.0 soon)
       [not found]     ` <20130226082419.GA32684-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
@ 2013-02-26 21:19  0%   ` Eric Wong
  0 siblings, 0 replies; 7+ results
From: Eric Wong @ 2013-02-26 21:19 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org> wrote:
> Lin Jen-Shin (1):
>       Add -N or --no-default-middleware option.
> 
> git clone git://bogomips.org/rainbows

A few more minor things for epoll users and documentation for -N:

Eric Wong (3):
      xepoll_thread_*/client: EPOLLONESHOT implies EPOLLET
      epoll/*: remove user-space array as active queue
      manpage: update middleware-related documentation
_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[relevance 0%]

* what's cooking in rainbows.git (v4.5.0 soon)
@ 2013-02-26  8:24  3% Eric Wong
       [not found]     ` <20130226082419.GA32684-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
  0 siblings, 1 reply; 7+ results
From: Eric Wong @ 2013-02-26  8:24 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

Most noticeable is rack.hijack support.

Everything works with Ruby 2.0.0 (with unicorn 4.6.2+) except
EventMachine/NeverBlock.

Eric Wong (12):
      epoll: ensure closing of pipelined clients if required
      tests: remove utee and use tee(1) instead
      tests: replace non-portable "date +%s" with ruby equivalent
      tests: "wc -c" portability for *BSDs
      tests: bump version dependencies for Isolate
      tests: "wc -l" portability for *BSDs
      hijacking support for Rack 1.5.x users
      GIT-VERSION-GEN: rewrite to manage RAINBOWS_VERSION const
      gemspec: set licenses= attribute
      bump unicorn dependency to 4.6.2+ for Ruby 2.0.0
      tests: update checks for Ruby 2.0.0
      doc: add HACKING document

Lin Jen-Shin (1):
      Add -N or --no-default-middleware option.

git clone git://bogomips.org/rainbows
_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[relevance 3%]

* what's cooking in rainbows.git
@ 2013-02-01 22:07  2% Eric Wong
  0 siblings, 0 replies; 7+ results
From: Eric Wong @ 2013-02-01 22:07 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

I've pushed out some test fixes to improve portability on non-GNU
systems.  Nothing too interesting...

Eric Wong (5):
      epoll: ensure closing of pipelined clients if required
      tests: remove utee and use tee(1) instead
      tests: replace non-portable "date +%s" with ruby equivalent
      tests: "wc -c" portability for *BSDs
      tests: bump version dependencies for Isolate

Lin Jen-Shin (1):
      Add -N or --no-default-middleware option.

git clone git://bogomips.org/rainbows

git log of recent test changes:

commit f4e3bac180ff01256832f98655636f79b52f9d5b
Author: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
Date:   Fri Jan 25 02:10:05 2013 +0000

    tests: bump version dependencies for Isolate
    
    Most of these test dependencies may be safely bumped.

commit 8a6117a22a7d01eeb5adc63d3152acf435cd3176
Author: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
Date:   Thu Jan 24 23:33:54 2013 +0000

    tests: "wc -c" portability for *BSDs
    
    On FreeBSD 9.0, "wc -c" emits leading whitespace, so
    filter it through tr -d '[:space:]' to eliminate it.

commit 0ba6fc3c30b9cf530faf7fcf5ce7be519ec13fe7
Author: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
Date:   Thu Jan 24 23:13:41 2013 +0000

    tests: replace non-portable "date +%s" with ruby equivalent
    
    "date +%s" is not in POSIX (it is in GNU, and at least FreeBSD
    9.0, possibly earlier).  The Ruby equivalent should be
    sufficiently portable between different Ruby versions.
    
    This change was automated via:
    	perl -i -p -e 's/date \+%s/unix_time/' t/*.sh

commit cbff7b0892148b037581541184364e0e91d2a138
Author: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
Date:   Thu Jan 24 22:59:16 2013 +0000

    tests: remove utee and use tee(1) instead
    
    POSIX already stipulates tee(1) must be unbuffered.  I think my
    decision to use utee was due to my being misled by a bug in
    older curl where -N did not work as advertised (but --no-buffer
    did).

-- 
Eric Wong
_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[relevance 2%]

* Re: [PATCH] Add -N or --no-default-middleware option.
       [not found]     ` <1359432360-23122-1-git-send-email-godfat-hOE/xeEBYYIdnm+yROfE0A@public.gmane.org>
@ 2013-01-29  4:49  7%   ` Eric Wong
  0 siblings, 0 replies; 7+ results
From: Eric Wong @ 2013-01-29  4:49 UTC (permalink / raw)
  To: Rainbows! list; +Cc: Lin Jen-Shin

Thanks, both applied and pushed (they're no-ops until unicorn 4.6.0,
though).
_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[relevance 7%]

* [PATCH] Add -N or --no-default-middleware option.
@ 2013-01-29  4:06  6% Lin Jen-Shin
       [not found]     ` <1359432360-23122-1-git-send-email-godfat-hOE/xeEBYYIdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 7+ results
From: Lin Jen-Shin @ 2013-01-29  4:06 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw; +Cc: Lin Jen-Shin

This would prevent Unicorn (Zbatery) from adding default middleware,
as if RACK_ENV were always none. (not development nor deployment)

This is implemented in Unicorn, so we only need to update
the option parser here.

Discussion thread on Unicorn mailing list:
http://rubyforge.org/pipermail/mongrel-unicorn/2013-January/001675.html
---
 bin/zbatery | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bin/zbatery b/bin/zbatery
index 99ca46e..392e5c3 100755
--- a/bin/zbatery
+++ b/bin/zbatery
@@ -59,6 +59,11 @@ opts = OptionParser.new("", 24, '  ') do |opts|
     ENV["RACK_ENV"] = e
   end
 
+  opts.on("-N", "--no-default-middleware",
+          "do not load middleware implied by RACK_ENV") do |e|
+    rackup_opts[:no_default_middleware] = true
+  end
+
   opts.on("-D", "--daemonize", "run daemonized in the background") do |d|
     rackup_opts[:daemonize] = !!d
   end
-- 
1.8.1.1

_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply related	[relevance 6%]

* [PATCH] Add -N or --no-default-middleware option.
@ 2013-01-29  3:44  6% Lin Jen-Shin
  0 siblings, 0 replies; 7+ results
From: Lin Jen-Shin @ 2013-01-29  3:44 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw; +Cc: Lin Jen-Shin

This would prevent Unicorn (Rainbows) from adding default middleware,
as if RACK_ENV were always none. (not development nor deployment)

This is implemented in Unicorn, so we only need to update
the option parser here.

Discussion thread on Unicorn mailing list:
http://rubyforge.org/pipermail/mongrel-unicorn/2013-January/001675.html
---
 bin/rainbows | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bin/rainbows b/bin/rainbows
index 878b3f2..4d6a5d6 100644
--- a/bin/rainbows
+++ b/bin/rainbows
@@ -59,6 +59,11 @@ op = OptionParser.new("", 24, '  ') do |opts|
     ENV["RACK_ENV"] = e
   end
 
+  opts.on("-N", "--no-default-middleware",
+          "no default middleware even if RACK_ENV is development") do |e|
+    rackup_opts[:no_default_middleware] = true
+  end
+
   opts.on("-D", "--daemonize", "run daemonized in the background") do |d|
     rackup_opts[:daemonize] = !!d
   end
-- 
1.8.1.1

_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply related	[relevance 6%]

Results 1-7 of 7 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-01-29  3:44  6% [PATCH] Add -N or --no-default-middleware option Lin Jen-Shin
2013-01-29  4:06  6% Lin Jen-Shin
     [not found]     ` <1359432360-23122-1-git-send-email-godfat-hOE/xeEBYYIdnm+yROfE0A@public.gmane.org>
2013-01-29  4:49  7%   ` Eric Wong
2013-02-01 22:07  2% what's cooking in rainbows.git Eric Wong
2013-02-26  8:24  3% what's cooking in rainbows.git (v4.5.0 soon) Eric Wong
     [not found]     ` <20130226082419.GA32684-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2013-02-26 21:19  0%   ` Eric Wong
2014-05-12  7:39     [ANN] Rainbows! 4.6.2 - see you on the other side Eric Wong
2014-05-14 21:20  3% ` [ANN] zbatery 4.2.0 released Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/rainbows.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).