[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Release Repositories

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Tue, 23 Nov 2010 00:03:13 -0500

On Mon, Nov 22, 2010 at 9:55 PM, Andrey Repin <anrdaemon_at_freemail.ru> wrote:
> Greetings, Les Mikesell!
>> Realistically, you probably don't need to kick off the job the instant
>> the filesystem changes - you'll at least want to wait until the file
>> transfer completes.  I'd expect a scheduled job running from cron on
>> linux or the windows task scheduler checking for new files every few
>> minutes to work at least as well as your existing manual process and
>> avoid any OS/filesystem dependencies (i.e. it could run from linux
>> checking a smb/cifs mounted windows filesystem or the reverse if you want).
> Cron job won't be able to know if file transfer is completed. It will have to
> guess from, e.g., testing the archive (if it's archive) for integrity.
> filesystem notification mechanism will for sure know, when the iostream got
> filewriteclose event.

One of the more helpful tricks is to check if it's newer than a
certain period, and *older* than a certtain, modest period (such as a
few minutes) to make sure the transfer is complete.
Received on 2010-11-23 06:03:49 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.