Update within the same version using svn » History » Version 3
Anchi Cheng, 05/11/2012 11:30 PM
1 | 1 | Anchi Cheng | h1. Update within the same version using svn |
---|---|---|---|
2 | |||
3 | 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. |
||
4 | |||
5 | h2. You still have the svn check out of the whole myami superpackage saved on the same computer: |
||
6 | |||
7 | # Go to the myami directory |
||
8 | # Confirm that this checkout working sandbox is the branch you want: |
||
9 | 2 | Anchi Cheng | ** Linux |
10 | 1 | Anchi Cheng | <pre> |
11 | svn info |
||
12 | </pre> |
||
13 | # update the checkout |
||
14 | 2 | Anchi Cheng | ** Linux |
15 | 1 | Anchi Cheng | <pre> |
16 | svn update |
||
17 | </pre> |
||
18 | 2 | Anchi Cheng | ** Windows |
19 | <pre> |
||
20 | RIght-click on the checkout top folder icon to select TotoisSVN Update |
||
21 | </pre> |
||
22 | 1 | Anchi Cheng | You should see what has been changed by the update |
23 | 3 | Anchi Cheng | # For the each of the *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 |
24 | 2 | Anchi Cheng | ** Linux |
25 | 1 | Anchi Cheng | <pre> |
26 | cd /_your_myami_svn_checkout_/leginon |
||
27 | python setup.py install |
||
28 | </pre> |
||
29 | 2 | Anchi Cheng | ** Windows from command line |
30 | 1 | Anchi Cheng | <pre> |
31 | cd \_your_myami_svn_checkout_\leginon |
||
32 | C:\Python25\python.exe setup.py install |
||
33 | </pre> |
||
34 | 3 | Anchi Cheng | # 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. |