Changes between Version 16 and Version 17 of StartModMaint
- Timestamp:
- Dec 10, 2013, 2:14:18 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StartModMaint
v16 v17 93 93 Since the bug is complex, it may take some time to fix and may go through several cycles of fixes, tests, and commits. 94 94 95 To share work-in-progress with others, to create backup, or for any other reason you want to make the branch public, just push it: 96 97 {{{ 98 git push --set-upstream origin bugfix/complex-boo-boo 99 }}} 100 101 Whether or not {{{--set-upstream origin bugfix/complex-boo-boo}}} is actually needed depends on the {{{branch.autosetupmerge}}} configuration variable that isn't discussed here. If you don't supply {{{--set-upstream origin bugfix/complex-boo-boo}}} and it turns out to be needed, you will get an error message explaining that. 102 103 Eventually you will fix the bug and do a final commit, and then it is time to merge the {{{bugfix/complex-boo-boo}}} branch back into {{{develop}}}: 95 Once the bug is fixed and a final commit is done, then it is time to merge the {{{bugfix/complex-boo-boo}}} branch back into {{{develop}}}: 104 96 105 97 {{{ … … 124 116 }}} 125 117 126 Public or private? When you create the branch, or perhaps later, you may decide the branch should be public (i.e. be present in the public boostorg repo) so that you can share it with others or just to back it up. Set that up by running:118 When you create the branch, or perhaps later, you may decide the branch should be public (i.e. be present in the library's public boostorg repo) so that you can share the branch with others or just to back it up. If so, set that up by running: 127 119 128 129 git push origin feature/add-checksum-option120 {{{ 121 git push --set-upstream origin feature/add-checksum-option 130 122 }}} 123 124 Whether or not {{{--set-upstream origin bugfix/complex-boo-boo}}} is actually needed depends on the {{{branch.autosetupmerge}}} configuration variable that isn't discussed here. If you don't supply {{{--set-upstream origin bugfix/complex-boo-boo}}} on your first {{{push}}} and it turns out to be needed, you will get an error message explaining that. 125 131 126 132 127 The usual cycle of coding, testing, commits, and pushes (if public) then begins. If other work needs to be done, a {{{stash}}} or {{{commit}}} may be done to save work-in-progress, and the working copy switched to another branch for awhile. If significant fixes or other enhancements have been made to {{{develop}}} over time, it may be useful to merge {{{develop}}} into the feature branch so that the eventual merge back to {{{develop}}} has less conflicts. Here is how the merge from {{{develop}}} to {{{feature/add-checksum-option}}} is done: … … 137 132 }}} 138 133 139 == First post-conversion merge to {{{master}}}==134 === First post-conversion merge to {{{master}}} === 140 135 141 When you are ready to merge the {{{develop branch}}} to {{{master}} (or better yet a release branch that's branched off {{{master}}}), there's a bit of housekeeping to be done136 When you are ready to merge the {{{develop}}} branch to {{{master}}} (or better yet a release branch that's branched off {{{master}}}), there's a bit of housekeeping to be done 142 137 the first time after the conversion from svn so that future merges proceed smoothly. We're going to create a merge point between 143 138 the develop and master branches so that Git knows the last point the two branches were in synch. Once we've done that Git will perform a merge by … … 181 176 Then navigate to your libraries history again, and check that the merge shows up, [https://github.com/boostorg/config/commits/master our config example is here]. 182 177 You're now ready for "routine" merges to proceed as per Gitflow (or whatever other strategy you wish to use). 178 179 === Library release === 180