Changes between Version 21 and Version 22 of StartModMaint


Ignore:
Timestamp:
Dec 15, 2013, 3:37:51 PM (9 years ago)
Author:
Beman Dawes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StartModMaint

    v21 v22  
    1414== Prerequisites ==
    1515
    16  * A recent release of the Git command line client installed. See [wiki:Git/GitHome Getting Started with Git].
     16 * A recent release of the Git command line client installed. See [wiki:Git/GitHome Getting Started with Git] for the git version required.
    1717 * A (free) [http://www.github.com GitHub] account. See [wiki:StartGitHub Getting Started with GitHub.]
    1818 * A compiler and development environment installed and working smoothly.
     
    2222== Getting started ==
    2323
    24 The preferred development environment is usually for the library being worked on have a development branch checked out, while Boost super-project and other Boost libraries are on the {{{master}}} branch. This causes tests of your library to run against {{{master}}} of other Boost libraries and that is a more realistic test environment in than the possibly unstable {{{develop}}} branch of other Boost libraries.
     24The preferred development environment is usually for the library being worked on have a development branch checked out, while Boost super-project and other Boost libraries are on the {{{master}}} branch. This causes tests of your library to run against {{{master}}} of other Boost libraries and that is a more realistic test environment in than testing against the possibly unstable {{{develop}}} branch of other Boost libraries. Robert Ramey has advocated this approach to testing for years, and Git and the modularization of Boost via submodules makes this approach easier.
    2525
    2626=== Update super-project and submodules for all libraries ===
     
    2929cd modular-boost
    3030git checkout master
    31 git pull --recurse-submodules
    32 
     31git pull
     32git submodule foreach --recursive "git checkout master; git pull"
    3333}}}
    3434
     
    5656
    5757{{{
     58cd modular-boost/libs/mylib
    5859git pull
    5960}}}
     
    6162== Typical maintenance tasks  ==
    6263
     64Unless otherwise specified, it is assumed you have already done a {{{cd modular-boost/libs/mylib}}}.
     65
    6366=== Testing locally ===
     67
     68Unless you are 100% sure of the state of your library's regression tests, it is a good idea to run the regression tests before making any changes to the library:
    6469
    6570{{{