7 | | ''Q: Should developers do it themselves? Or ask another dev to do it to keep some review sanity?'' |
8 | | |
9 | | A: It depends: preferably a developer should be able to backport him/herself but |
10 | | * do not break the release branch :o) |
11 | | * ''i.e. don't leave it in a broken state for days while you are working on something, we must be ready for an emergency release at any time.'' |
12 | | * make your commits to the dev branch first |
13 | | * ''do testing and bug fixes in a safe place, then backport finished code in an "atomic commit" to the release branch. Others may do the backport, and they'll assume that the dev branch is the most recent version to use.'' |
14 | | * make tests |
15 | | * only fix bugs, do not introduce new features |
16 | | * only do refactoring in trunk |
17 | | * ''large and complicated changes can introduce new hard to spot bugs, the idea of the stable branch is to asymptote to zero bugs.'' |
18 | | |
19 | | If the above is unclear, it should be discussed on the developers list. '''If in doubt, ask! ''' |
20 | | In this case, a path/diff is appreciated. |
21 | | |
22 | | == Hints == |
| 5 | === Procedure === |
| 71 | |
| 72 | |
| 73 | == Policies == |
| 74 | |
| 75 | ''Q: Should developers do it themselves? Or ask another dev to do it to keep some review sanity?'' |
| 76 | |
| 77 | A: It depends: preferably a developer should be able to backport him/herself but |
| 78 | * do not break the release branch :o) |
| 79 | * ''i.e. don't leave it in a broken state for days while you are working on something, we must be ready for an emergency release at any time.'' |
| 80 | * make your commits to the dev branch first |
| 81 | * ''do testing and bug fixes in a safe place, then backport finished code in an "atomic commit" to the release branch. Others may do the backport, and they'll assume that the dev branch is the most recent version to use.'' |
| 82 | * make tests |
| 83 | * only fix bugs, do not introduce new features |
| 84 | * only do refactoring in trunk |
| 85 | * ''large and complicated changes can introduce new hard to spot bugs, the idea of the stable branch is to asymptote to zero bugs.'' |
| 86 | |
| 87 | If the above is unclear, it should be discussed on the developers list. '''If in doubt, ask! ''' |
| 88 | In this case, a path/diff is appreciated. |
| 89 | |
| 90 | For general advice, see http://svnbook.red-bean.com/en/1.4/svn.branchmerge.copychanges.html |