Subject: [MTT users] SVN URLs
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-12-20 06:34:27


FYI: per my post to the OMPI devel list, I discovered the "svnsync"
command yesterday. svnsync allows you to mirror an entire SVN
repository in a read-only fashion; I mirrored the ompi-tests
repository locally at Cisco. A one-line cron job keeps my ompi-tests
SVN repo mirror up to date every night.

Having a local mirror of ompi-tests allowed me to change my MTT INI
file to have file:// SVN urls (vs. https:// URLs). Not only did this
make the ompi-tests checkouts [much] faster, I also was able to stop
using the MTT lock daemon (*). Hence, my SVN checkouts are no longer
serialized -- which had been causing significant delays when the "test
get" phases of many MTT jobs were running at more-or-less the same time.

(*) I had to use the lock MTT daemon because the Cisco engineering lab
network is sanboxed; I have to use one of several proxies to be able
to download from the greater internet. The MTT lock server protected
resetting the proxy server entry in the $HOME/.subversion/servers
file. The process is:

- get the MTT lock on that file
- change the proxy entry in that file
- do the SVN checkout (loop to try all proxies in the presence of
failure)
- reset the proxy entry back to its original value
- release the MTT lock on that file

-- 
Jeff Squyres
Cisco Systems