A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/022267.html below:

CVS update of the web-site (was: Re: [Python-Dev] New canonical location for PEPs)

CVS update of the web-site (was: Re: [Python-Dev] New canonical location for PEPs)Sean Reifschneider jafo@tummy.com
Wed, 3 Apr 2002 22:34:34 -0700
On Thu, Apr 04, 2002 at 10:10:16AM +0900, Stephen J. Turnbull wrote:
>one who brought up the lock issue most recently.  You may be able to
>browse the implementation in CVSROOT at cvs.xemacs.org.  If not, I'm
>sure Adrian would be willing to show it to you.

Thanks for the pointers...  I've spoken with the guy who had set this up
before, and apparently they used the checkin e-mail to trigger the process
(with appropriate lock-files and a rate limit.  Considering that the
web-site is on a different machine from the CVS repository.

Seems like that would work well.  Something like:

   lockfile -1 -r 10 "$LOCKFILE" 2>/dev/null
   [ "$?" -ne 0 ] && exit 0
   sleep 20
   #  do update here
   rm -f "$LOCKFILE"

Sean
-- 
 Read the directions, even if you don't follow them.
                 -- Mary Schmich
Sean Reifschneider, Inimitably Superfluous <jafo@tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4