Update KALMAN from SVN: Difference between revisions
From Rsewiki
Line 9: | Line 9: | ||
$ ./exportMobotware | $ ./exportMobotware | ||
exporting mobotware - aumat, mrc, rhd, aurs etc. | exporting mobotware - aumat, mrc, rhd, aurs etc. | ||
Enter SVN version number xxx for mobotware-3.xxx.tar.gz: ''' | Enter SVN version number xxx for mobotware-3.xxx.tar.gz: '''246''' | ||
Export complete. | Export complete. | ||
Export complete. | Export complete. | ||
Line 18: | Line 18: | ||
* go to that directory | * go to that directory | ||
$ cd mobotware-3. | $ cd mobotware-3.246 | ||
* there is here a makefile that can transfer it to kalman, with a variable VER for the destination | * there is here a makefile that can transfer it to kalman, with a variable VER for the destination | ||
$ make kalman VER=''' | $ make kalman VER='''2013e''' | ||
* it will ask for a password twice! (if you do not use shared keys) | * it will ask for a password twice! (if you do not use shared keys) | ||
* NB! the directory '''/opt/smr. | * NB! the directory '''/opt/smr.2013e''' needs to be established in advance, e.g. | ||
''Establish a new version directory on kalman'' | ''Establish a new version directory on kalman'' | ||
Line 30: | Line 30: | ||
$ ssh kalman | $ ssh kalman | ||
$ cd /opt | $ cd /opt | ||
$ rsync -rl smr. | $ rsync -rl smr.2013d/* smr.2013e | ||
$ chmod -R g+w smr.2012g | $ chmod -R g+w smr.2012g | ||
''Make new version the default one'' | ''Make the new version the default one'' | ||
$ ssh kalman | $ ssh kalman | ||
$ cd /opt | $ cd /opt | ||
$ mv smr smr-not-used-anymore | $ mv smr smr-not-used-anymore | ||
$ ln -s smr. | $ ln -s smr.2013e smr |
Revision as of 14:41, 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 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.23
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