Changes between Version 21 and Version 22 of StartModMaint
- Timestamp:
- Dec 15, 2013, 3:37:51 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StartModMaint
v21 v22 14 14 == Prerequisites == 15 15 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. 17 17 * A (free) [http://www.github.com GitHub] account. See [wiki:StartGitHub Getting Started with GitHub.] 18 18 * A compiler and development environment installed and working smoothly. … … 22 22 == Getting started == 23 23 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 t he possibly unstable {{{develop}}} branch of other Boost libraries.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 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. 25 25 26 26 === Update super-project and submodules for all libraries === … … 29 29 cd modular-boost 30 30 git checkout master 31 git pull --recurse-submodules32 31 git pull 32 git submodule foreach --recursive "git checkout master; git pull" 33 33 }}} 34 34 … … 56 56 57 57 {{{ 58 cd modular-boost/libs/mylib 58 59 git pull 59 60 }}} … … 61 62 == Typical maintenance tasks == 62 63 64 Unless otherwise specified, it is assumed you have already done a {{{cd modular-boost/libs/mylib}}}. 65 63 66 === Testing locally === 67 68 Unless 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: 64 69 65 70 {{{