I would like an automatic daily updated version of the code, can I get access to the SVN server?

The source code is maintained in a SVN repository, which is behind the University network firewall. Only selected contributors from other places can access the svn server directly. However, a copy of our SVN repository is available from http://code.google.com/p/fieldtrip, which is accessible to everyone. You can use a subversion/svn client on Windows, Linux or OSX subversion to check out the code and update the code. Since we are using “svn file externals”, your SVN version has to be 1.6.x or later.

On the Linux/OSX command line you would do something like

cd /home/user/matlab
svn checkout http://fieldtrip.googlecode.com/svn/trunk/ fieldtrip

and subsequently you can keep it up to date by occasionally doing

cd /home/user/matlab/fieldtrip
svn update

To get an automatic update of your copy of the fieldtrip toolbox, you can use a cron job. The easiest is to make a shell script like this

#!/bin/sh
cd /home/user/matlab/fieldtrip
svn update

and name it “update-fieldtrip.sh”. Then you can add the following to your crontab

# do a daily update of the local fieldtrip version
02 22 * * * /home/user/bin/update-fieldtrip.sh
faq/i_would_like_an_automatic_daily_updated_version_of_the_code_can_i_get_access_to_the_cvs_or_snv_server.txt · Last modified: 2012/02/06 11:33 by robert

You are here: startfaqi_would_like_an_automatic_daily_updated_version_of_the_code_can_i_get_access_to_the_cvs_or_snv_server
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0