bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Necessity of queue-pr (revisited)


From: Mike Sutton
Subject: Re: Necessity of queue-pr (revisited)
Date: Wed, 25 Oct 2000 13:16:09 -0400
User-agent: Mutt/1.2.5i

For what its worth, our Gnats server sits behind the corporate
firewall.  Insdide the firewall, we use a web interface that directly
submits new PRs.  PRs numbers are immediately assigned.  We also have
a web server outside the firewall that can submit PRs via email to our
Gnats server inside the firewall.  These submissions are run through
the queuing process.  The cron job runs every 5 minutes.  It takes any
where from 20 seconds to more than 5 minutes for the emails to arrive
at the Gnats server.  We are still using Gnats 3.113 with some local
modifications.

I have advoated that the Gnats daemon (gnatsd) ought to accept new PR
submissions and provide some feedback.  I don't know if this has been
implemented in V4.

On 10/25/00 14:47:44, Steffen Opel wrote:
> Salut,
> 
> this topic has been discussed in a thread in april 1999, please consult 
> the archives for the details.
> 
> Basically the question asked was why it is necessary to queue incoming
> PRs before filing them, which requires the well known cron job.
> 
> The overall conclusion of the thread seemed to be that it wouldn't be a
> good idea to let a sendmail filter perform the costly and eventually
> error-raising and -returning job of filing PRs.  Hence the split between
> 'queue-pr --queue' and 'queue-pr --run' with help of the cron job has
> been considered a reasonable solution with better control, info and
> security, especially when things go wrong.
> 
> Now, while setting up a new 4.0 based repository, I had to deal with a
> few 'at' related bugs in the 'notify-about-expired-PRs' functionality
> (see filed PRs at gnats-gnats).  This resulted in the idea to replace
> the cron job with an 'at' based solution, e.g. like so:
> 
> - the sendmail alias would be '|queue-pr --queue --run-at'
> - queue-pr --queue queues PRs as before, no bit changed here,
> and --run-at places an 'at' job 'queue-pr --run' thereafter.
> 
> This way the reasonable queue/file split would be retained, the cron job
> eliminated and the user would get feedback more instantly (depends on
> your curent cron job setting, of course).
> 
> I don't know wether 'at' is available everywhere, but GNATS uses it
> already and the cron job solution will still be possible anyway.
> 
> A working patch for this is on my machine but I'd prefer to hear a few
> comments before I may file it as change-request to gnats-gnats.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]