[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: Ludwig, Michael <Michael.Ludwig_at_delphi-mb.de>
Date: Tue, 23 Nov 2010 09:43:33 +0100

> From: Nico Kadel-Garcia [mailto:nkadel_at_gmail.com]
> On Mon, Nov 22, 2010 at 9:55 PM, Andrey Repin

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

The "magic touch file" approach: touch a file timestamp.txt and then
do "find -newer touchfile.txt".

You could also rsync the directory in question to another one you
have control on, and which is an svn working copy, and then have
some job do a commit when rsync has finished synching.

Not familiar with the name, I looked up Rube Goldberg, and yeah,
exactly :-)

Michael
Received on 2010-11-23 09:44:15 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.