Update KALMAN from SVN

From Rsewiki
Revision as of 11:19, 29 August 2012 by Jca (talk | contribs) (Created page with "===Update KALMAN from SVN=== To update the version used by SMRs (and bode/tustin/jensen/nyquist the day after) do the following: * ssh bode.iau.dtu.dk * cd mobotware (your w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Update KALMAN from SVN

To update the version used by SMRs (and bode/tustin/jensen/nyquist the day after) do the following:

  • ssh bode.iau.dtu.dk
  • cd mobotware (your working svn directory for mobotware)
  • svn update (get latest version - note the SVN version number)
  • export mobotware part using a script (it asks for the SVN version number):
$ ./exportMobotware
exporting mobotware - aumat, mrc, rhd, aurs etc.
Enter SVN version number xxx for mobotware-3.xxx.tar.gz: 23
Export complete.
Export complete.
...
  • The full mobotware will be exported and compiled into a new directory: mobotware-3.23

Transfer to KALMAN

  • go to that directory
$ cd mobotware-3.23
  • there is here a makefile that can transfer it to kalman, with a variable VER for the destination
$ make kalman VER=2012f
  • it will ask for a password twice! (if you do not use shared keys)
  • NB! the directory /opt/smr.2012f needs to be established in advance, e.g.

Establish a new version directory on kalman

  • go to kalman
  • copy the newest version (here smr.2012f) to the new directory (here smr.2012g) using rsync, and let other VIPs edit the version e.g.:
$ ssh kalman
$ cd /opt
$ rsync -rl smr.2012f/* smr.2012g
$ chmod -R g+w smr.2012g 

Make new version the default one

$ ssh kalman
$ cd /opt
$ mv smr smr-not-used-anymore
$ ln -s smr.2012g smr