On Tue, Jan 5, 2010 at 1:48 PM, Benjamin Podszun <[email protected]
> wrote:

> Let me shoot back: What else from the configuration is used in that
> script? What does it do? It _does_ create projects/add keys/send
> notifications - the latter after messing around.
>

What it does is process/consume messages from the message queue, typically
actions that take too long to be done synchronously while the user is
waiting for a web request to finish/a git push to complete. The
app/processors directory contains processors that consume messages sent from
other parts of the application; one processor per message queue. The wiki
has some more information:

  http://gitorious.org/gitorious/pages/GitoriousComponents

Basically, the poller will call scripts that can do "anything" - and it does
in fact do things like copy git repositories on disk, add events when a
series of commits is pushed etc.


> > If you're referring to ActionMailer::Base's smtp_settings: absolutely!
>  If
> > requiring config/environment in script/poller helps, something that
> should
> > be loaded isn't being loaded.
>
> Yes, that's what I was referring to. Can you reproduce this behaviour?
>

I'm sorry, but I lost track of what worked and what didn't in your
installation (did requiring environment help?)


> Thanks for the fast replies,
>

Not always as fast as it could though...


Cheers,
- Marius
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to