Update KALMAN from SVN
From Rsewiki
(Difference between revisions)
(→Update mobotware on KALMAN from current SVN version) |
(→Update mobotware on KALMAN from current SVN version) |
||
Line 6: | Line 6: | ||
* cd mobotware (your working svn directory for mobotware) | * cd mobotware (your working svn directory for mobotware) | ||
* svn update (get latest version - note the '''SVN version number''') | * svn update (get latest version - note the '''SVN version number''') | ||
− | * export mobotware part using a script (it asks for the SVN version number): | + | * export the mobotware part using a script (it asks for the SVN version number): |
$ ./exportMobotware | $ ./exportMobotware | ||
exporting mobotware - aumat, mrc, rhd, aurs etc. | exporting mobotware - aumat, mrc, rhd, aurs etc. |
Revision as of 14:42, 26 September 2013
Update mobotware on KALMAN from current SVN version
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 the 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: 246 Export complete. Export complete. ...
- The full mobotware will be exported and compiled into a new directory: mobotware-3.246
Transfer to KALMAN
- go to that directory
$ cd mobotware-3.246
- there is here a makefile that can transfer it to kalman, with a variable VER for the destination
$ make kalman VER=2013e
- it will ask for a password twice! (if you do not use shared keys)
- NB! the directory /opt/smr.2013e 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.2013d/* smr.2013e $ chmod -R g+w smr.2012g
Make the new version the default one
$ ssh kalman $ cd /opt $ mv smr smr-not-used-anymore $ ln -s smr.2013e smr