mirror of mongrel-development@rubyforge.org (inactive)
 help / color / mirror / Atom feed
* Mongrel and Windows: I was so dumb
@ 2008-03-31  3:57 Luis Lavena
       [not found] ` <71166b3b0803302057k7ade0b07r71cf8929c4fe1bcf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Luis Lavena @ 2008-03-31  3:57 UTC (permalink / raw)
  To: Mongrel Developers (ML)

Hello guys,

I seems that I messed with my environment a bit, and that's why some
of the test failed.

The truth is that I switched from desktop to notebook a few weeks
back, and most of the development was done on desktop until two weeks
back.

Since my notebook is loaded with NOD32 v3, versus my desktop with
version 2.7, it seems they have a "web filter" that was blocking
ruby.exe bad HTTP requests.

Yeah, SO DUMB!

Sorry I made you guys waste time checking for this...

It wouldn't happen again :-D

Also, I'm working on a series of patches that take care of mingw as
platform. I'm just tired of RUBY_PLATFORM regex. Can we add
Mongrel.windows? and Mongrel.java?

Regards guys.

-- 
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Mongrel and Windows: I was so dumb
       [not found] ` <71166b3b0803302057k7ade0b07r71cf8929c4fe1bcf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-03-31  4:04   ` Evan Weaver
       [not found]     ` <b6f68fc60803302104k54416616tee31f8770af5543c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Evan Weaver @ 2008-03-31  4:04 UTC (permalink / raw)
  To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw

Wow, that is bizarre.

The platform checks are fine. Do they belong in Mongrel, or do they
belong in the build chain?

Evan

On Sun, Mar 30, 2008 at 11:57 PM, Luis Lavena <luislavena-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hello guys,
>
>  I seems that I messed with my environment a bit, and that's why some
>  of the test failed.
>
>  The truth is that I switched from desktop to notebook a few weeks
>  back, and most of the development was done on desktop until two weeks
>  back.
>
>  Since my notebook is loaded with NOD32 v3, versus my desktop with
>  version 2.7, it seems they have a "web filter" that was blocking
>  ruby.exe bad HTTP requests.
>
>  Yeah, SO DUMB!
>
>  Sorry I made you guys waste time checking for this...
>
>  It wouldn't happen again :-D
>
>  Also, I'm working on a series of patches that take care of mingw as
>  platform. I'm just tired of RUBY_PLATFORM regex. Can we add
>  Mongrel.windows? and Mongrel.java?
>
>  Regards guys.
>
>  --
>  Luis Lavena
>  Multimedia systems
>  -
>  Human beings, who are almost unique in having the ability to learn from
>  the experience of others, are also remarkable for their apparent
>  disinclination to do so.
>  Douglas Adams
>  _______________________________________________
>  Mongrel-development mailing list
>  Mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
>  http://rubyforge.org/mailman/listinfo/mongrel-development
>



-- 
Evan Weaver
Cloudburst, LLC

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Mongrel and Windows: I was so dumb
       [not found]     ` <b6f68fc60803302104k54416616tee31f8770af5543c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-03-31  4:25       ` Luis Lavena
       [not found]         ` <71166b3b0803302125m1db26236m25ba80c317fb0c3b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2008-03-31  4:29       ` Luis Lavena
  1 sibling, 1 reply; 5+ messages in thread
From: Luis Lavena @ 2008-03-31  4:25 UTC (permalink / raw)
  To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw

On Mon, Mar 31, 2008 at 1:04 AM, Evan Weaver <evan-72XWLPH10WVXUHR/Jj/Uug@public.gmane.org> wrote:
> Wow, that is bizarre.
>
>  The platform checks are fine. Do they belong in Mongrel, or do they
>  belong in the build chain?
>

Specific platform usage inside mongrel:

- To writer or not the pid file:

http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/configurator.rb#L83

(which is pointless, it should generate the pid file on every
platform, even Windows).

- Allow or not daemonize:

http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/configurator.rb#L189

Which is fair, it should remain there

- Setup signals:

http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/configurator.rb#L364

Which is also good.

Other places:

http://mongrel.rubyforge.org/browser/trunk/bin/mongrel_rails#L139

the usage of restart on Windows, seems logical, since there are no
signals to handle it.

Oh, a good catch:

http://mongrel.rubyforge.org/browser/trunk/bin/mongrel_rails#L85

Mongrel should validate pre-existing pids always, not only in
daemonize mode. Thoughts?

To use or not fastthread and cgi eof fix.

http://mongrel.rubyforge.org/browser/trunk/lib/mongrel.rb#L13

Of course, a few more check on the new Logger (buffered logger) and
cgi_multipart eof subproject. Fastthread, GemPlugin and even
mongrel_service (yeah, I plain suck at planing on the long run).

-- 
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Mongrel and Windows: I was so dumb
       [not found]         ` <71166b3b0803302125m1db26236m25ba80c317fb0c3b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2008-03-31  4:27           ` Evan Weaver
  0 siblings, 0 replies; 5+ messages in thread
From: Evan Weaver @ 2008-03-31  4:27 UTC (permalink / raw)
  To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw

All sounds good.

Fastthread and cgi_multipart are going away so there is no sense
worrying about them. In 1.2 they get required if they are installed,
but they are not gem dependencies for any platform.

Evan

On Mon, Mar 31, 2008 at 12:25 AM, Luis Lavena <luislavena-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On Mon, Mar 31, 2008 at 1:04 AM, Evan Weaver <evan-72XWLPH10WVXUHR/Jj/Uug@public.gmane.org> wrote:
>  > Wow, that is bizarre.
>  >
>  >  The platform checks are fine. Do they belong in Mongrel, or do they
>  >  belong in the build chain?
>  >
>
>  Specific platform usage inside mongrel:
>
>  - To writer or not the pid file:
>
>  http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/configurator.rb#L83
>
>  (which is pointless, it should generate the pid file on every
>  platform, even Windows).
>
>  - Allow or not daemonize:
>
>  http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/configurator.rb#L189
>
>  Which is fair, it should remain there
>
>  - Setup signals:
>
>  http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/configurator.rb#L364
>
>  Which is also good.
>
>  Other places:
>
>  http://mongrel.rubyforge.org/browser/trunk/bin/mongrel_rails#L139
>
>  the usage of restart on Windows, seems logical, since there are no
>  signals to handle it.
>
>  Oh, a good catch:
>
>  http://mongrel.rubyforge.org/browser/trunk/bin/mongrel_rails#L85
>
>  Mongrel should validate pre-existing pids always, not only in
>  daemonize mode. Thoughts?
>
>  To use or not fastthread and cgi eof fix.
>
>  http://mongrel.rubyforge.org/browser/trunk/lib/mongrel.rb#L13
>
>  Of course, a few more check on the new Logger (buffered logger) and
>  cgi_multipart eof subproject. Fastthread, GemPlugin and even
>  mongrel_service (yeah, I plain suck at planing on the long run).
>
>  --
>
>
> Luis Lavena
>  Multimedia systems
>  -
>  Human beings, who are almost unique in having the ability to learn from
>  the experience of others, are also remarkable for their apparent
>  disinclination to do so.
>  Douglas Adams
>  _______________________________________________
>  Mongrel-development mailing list
>  Mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
>  http://rubyforge.org/mailman/listinfo/mongrel-development
>



-- 
Evan Weaver
Cloudburst, LLC

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Mongrel and Windows: I was so dumb
       [not found]     ` <b6f68fc60803302104k54416616tee31f8770af5543c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2008-03-31  4:25       ` Luis Lavena
@ 2008-03-31  4:29       ` Luis Lavena
  1 sibling, 0 replies; 5+ messages in thread
From: Luis Lavena @ 2008-03-31  4:29 UTC (permalink / raw)
  To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw

On Mon, Mar 31, 2008 at 1:04 AM, Evan Weaver <evan-72XWLPH10WVXUHR/Jj/Uug@public.gmane.org> wrote:
> Wow, that is bizarre.
>

yeah, also if two builders run at the same time, they have a port
collition. I'm adding process_based_port to testhelp.rb to provide a
port, based on 5000 and the process number:


irb(main):001:0> 5000 + $$ % 1000
=> 5656

That will make my CI happy :-)

(I'm doing the changes right now for rubygems too, found a clash due
that during setup).

Oh, and forgot to make it generate the artifacts, so we can grab the
pre-compiled gem from there ;-)

Regards,

-- 
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-31  4:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-31  3:57 Mongrel and Windows: I was so dumb Luis Lavena
     [not found] ` <71166b3b0803302057k7ade0b07r71cf8929c4fe1bcf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-31  4:04   ` Evan Weaver
     [not found]     ` <b6f68fc60803302104k54416616tee31f8770af5543c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-31  4:25       ` Luis Lavena
     [not found]         ` <71166b3b0803302125m1db26236m25ba80c317fb0c3b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-31  4:27           ` Evan Weaver
2008-03-31  4:29       ` Luis Lavena

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).