using plain CVS with local repository instead of CSUP/CVSUP?
Ade Lovett
ade at FreeBSD.org
Fri Jun 12 16:17:07 EDT 2009
On Jun 12, 2009, at 07:59 , Fernan Aguero wrote:
> Hi,
>
> 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?
Sort of.
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:
#!/bin/sh
#
# XXX: completely untested ;)
cd /tb/jails/<foo>
if [ ! -d src ]; then
cvs -d <repodir> checkout -r <tag> src
else
cd src && cvs update .
done
and so on.
-aDe
More information about the tinderbox-list
mailing list