using plain CVS with local repository instead of CSUP/CVSUP?
ade at FreeBSD.org
Fri Jun 12 16:17:07 EDT 2009
On Jun 12, 2009, at 07:59 , Fernan Aguero wrote:
> at our university we have a local mirror of the FreeBSD CVS repository
> for internal use. It is updated every day, using cvsup, exported
> read-only via NFS to our internal network, and mounted under
> /home/ncvs -- pretty much following development(7).
> Would it be possible to let tinderbox know about it and use it?
As you've already discovered, the update.sh script (which is actually
auto-created if you select CSUP/CVSUP, just with specific details --
ie: <tree>/update.sh is always called on an update) is only for updates.
To use cvs, or any other SCM, that has two different commands for
initial checkout and update, you'll either first need to checkout the
tree manually, and then use cvs update in update.sh, or hack around it
with something like:
# XXX: completely untested ;)
if [ ! -d src ]; then
cvs -d <repodir> checkout -r <tag> src
cd src && cvs update .
and so on.
More information about the tinderbox-list