Changes between Initial Version and Version 1 of ModBigPicture


Ignore:
Timestamp:
Oct 27, 2013, 1:29:45 PM (9 years ago)
Author:
Beman Dawes
Comment:

Initial commit

Legend:

Unmodified
Added
Removed
Modified
  • ModBigPicture

    v1 v1  
     1= Modular Boost Overview =
     2[[PageOutline]]
     3
     4This page gives an overview of how modular Boost is organized.
     5
     6== Overall Organization ==
     7
     8Modular Boost consists of the Boost super-project and separate projects for each individual library in Boost. In terms of Git, the Boost super-project treats the individual libraries as sub-modules.
     9
     10All public repositories are hosted at [https://github.com/boostorg GitHub].
     11
     12Releases of individual libraries occur asynchronously from releases of the Boost super-project.
     13
     14== Repositories ==
     15
     16 * The Boost super-project has its own [https://github.com/boostorg/boost public repository]. It treats each individual library as a sub-module, i.e. a link to a particular release in the library's public GitHub repository. The super-project is maintained by the Boost release managers, and most library developers do not have write access.
     17
     18 * Each individual library has its own public repository. For example, Boost.Config has a [https://github.com/boostorg/config public repository]. The maintainer of a library decides who has write access to the public repository. Release managers and their helpers also have write access for administrative purposes.
     19
     20 * As with any Git repository, a library's developers do day-to-day work using private repositories on their local machines. When they push changes from these local private repositories up to the library's public repository is up to them, as is when the library issues releases. As usual with Git, the local repositories may have private branches that are never pushed to the public repository.
     21
     22 * Libraries are required to follow certain naming conventions for branches and directories, so that both humans and automatic test and management tools know where to find commonly referenced components. But beyond those requirements, each library is free to use whatever branch and directory strategies they wish.
     23
     24== Branches ==
     25
     26To
     27
     28 * that has a "develop" branch for development work, and a "master" branch for your releases, which occur asynchronously from Boost releases. You may also have other branches, but that's up to you.
     29 * You (and the rest of your team)
     30 * Your library's directory structure conforms to [http://www.boost.org/development/requirements.html#Directory_structure Boost directory structure conventions], so both users and automatic processes can find header files, test files, build configurations, and the like. Beyond the conventions, your library's directory structure is up to you.
     31 
     32== Directory Structure ==
     33
     34For Modular Boost, header files are placed in a {{{include/boost}}} header hierarchy within your main directory. Here is what a very simple header-only library named {{{simple}}} would look like:
     35
     36{{{
     37     simple
     38       include
     39         boost
     40           simple
     41             twice.hpp
     42       test
     43         twice_test.cpp
     44         Jamfile.v2
     45       index.html   
     46}}}
     47
     48In other words, the directory structure of a library in {{{boost-root/libs}}} for modular Boost is the same as pre-modular Boost, except that it contains another sub-directory hierarchy, {{{include/boost/...}}}, where {{{...}}} represents the library's directories and header files that previously lived in {{{boost-root/boost}}}. The effect of this change in directory structure is that the library is now entirely self-contained in a single directory and its sub-directories.
     49
     50A real library would also have additional sub-directories such as {{{doc}}}, {{{example}}}, and {{{src}}}, as described in the [http://www.boost.org/development/requirements.html#Directory_structure directory conventions], but they are left out of {{{simple}}} for the sake of brevity.
     51