Project

General

Profile

Update within the same version using svn » History » Revision 2

Revision 1 (Anchi Cheng, 05/11/2012 11:20 PM) → Revision 2/4 (Anchi Cheng, 05/11/2012 11:30 PM)

h1. Update within the same version using svn 

 From time to time, we discover critical bugs that users are encouraged to update within the branch (x.x version) that they have checked out.    Here is how to update when these situation arrives. 

 h2. You still have the svn check out of the whole myami superpackage saved on the same computer: 

 # Go to the myami directory 
 # Confirm that this checkout working sandbox is the branch you want: 
 ** Linux **Linux 
 <pre> 
 svn info 
 </pre> 
 # update the checkout 
 ** Linux **Linux 
 <pre> 
 svn update 
 </pre> 
 ** Windows 
 <pre> 
 RIght-click on the checkout top folder icon to select TotoisSVN Update 
 </pre> 
 You should see what has been changed by the update 
 # for the each of the *python subpackage* python subpackage that changes are made, redo the python installation with the same command you used originally.    For example, if changes were made in leginon subpackage, you would install leginon by 
 ** Linux **Linux 
 <pre> 
 cd /_your_myami_svn_checkout_/leginon 
 python setup.py install 
 </pre> 
 ** Windows **Windows from command line 
 <pre> 
 cd \_your_myami_svn_checkout_\leginon 
 C:\Python25\python.exe setup.py install 
 </pre> 
 # for changes made in myamiweb, you should just copy individual files involved to your webserver at the relevant locations.    You may also replace the whole myamiweb directory over, but you will then need to cp config.php from the old copy into the new one.