Changes between Version 16 and Version 17 of StartModMaint


Ignore:
Timestamp:
Dec 10, 2013, 2:14:18 PM (9 years ago)
Author:
Beman Dawes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StartModMaint

    v16 v17  
    9393Since the bug is complex, it may take some time to fix and may go through several cycles of fixes, tests, and commits.
    9494
    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}}}:
     95Once 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}}}:
    10496
    10597{{{
     
    124116}}}
    125117
    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:
     118When 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:
    127119
    128  {{{
    129 git push origin feature/add-checksum-option
     120{{{
     121git push --set-upstream origin feature/add-checksum-option
    130122}}}
     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
    131126
    132127The 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:
     
    137132}}}
    138133
    139 == First post-conversion merge to {{{master}}} ==
     134=== First post-conversion merge to {{{master}}} ===
    140135
    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 done
     136When 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
    142137the first time after the conversion from svn so that future merges proceed smoothly.  We're going to create a merge point between
    143138the 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
     
    181176Then 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].
    182177You're now ready for "routine" merges to proceed as per Gitflow (or whatever other strategy you wish to use).
     178
     179=== Library release ===
     180