Changes between Version 1 and Version 2 of ImprovingPractices


Ignore:
Timestamp:
Aug 7, 2007, 11:09:03 PM (15 years ago)
Author:
Beman Dawes
Comment:

Fix links and formating

Legend:

Unmodified
Added
Removed
Modified
  • ImprovingPractices

    v1 v2  
    1313 * Timely Boost releases on a predictable schedule, with no possibility that problems with a few libraries can delay a release of Boost as a whole.
    1414
    15  * The latest [wiki:ImprovingPractices#release-ready release-ready] Boost code available from the Subversion repository at all times, including both fixes and new libraries added subsequent to the last official release. Users of this version should not have to wait for a formal release, and should not have to run the risk of instability associated with purely developmental branches.
     15 * The latest [#release-ready release-ready] Boost code available from the Subversion repository at all times, including both fixes and new libraries added subsequent to the last official release. Users of this version should not have to wait for a formal release, and should not have to run the risk of instability associated with purely developmental branches.
    1616
    1717 * Release preparation does not require super-human effort by the release manager, developers, or testers.
    1818
    19  * A [wiki:ImprovingPractices#stable stable] development environment is maintained at all times, with the development of any one library decoupled from development of other libraries. In particular, there is no "wild west" syndrome where the overall development environment is unstable because the current development state of one or more individual libraries is unstable.
     19 * A [#stable stable] development environment is maintained at all times, with the development of any one library decoupled from development of other libraries. In particular, there is no "wild west" syndrome where the overall development environment is unstable because the current development state of one or more individual libraries is unstable.
    2020
    2121 * Boost subset releases are both possible and reasonably easy. For example, Spirit should be able to do a release of it and its dependencies at any time the Spirit team wishes to do so. Note: This implies many of the other objectives, and may also require changes in where Boost header files live within the directory structure. Forwarding headers or links can be used so that such a change is transparent to users.
    2222
    23  * [wiki:ImprovingPractices#release-ready release-ready] criteria include not only regression test failures, but also inspection failures, tool-chain errors, configuration errors, missing files, and any other detectable errors that reduce release quality or impact development environment stability.
     23 * [#release-ready release-ready] criteria include not only regression test failures, but also inspection failures, tool-chain errors, configuration errors, missing files, and any other detectable errors that reduce release quality or impact development environment stability.
    2424
    2525 * Error reporting, including pestering, does not produce false positives, such as when failure for a library is due to instability in its dependencies.
     
    2929== Definitions  ==
    3030
    31 <a name="#release-ready"><i><b>Release-ready</b></i></a> - A library or branch that passes all appropriate tests and inspections, and meets all other release criteria, such as documentation being up-to-date. Note that the requirements for being release-ready are transitive; if a library has dependent libraries, it isn't considered release-ready if it breaks any of those dependent libraries.
     31'''''Release-ready''''' - A library or branch that passes all appropriate tests and inspections, and meets all other release criteria, such as documentation being up-to-date. Note that the requirements for being release-ready are transitive; if a library has dependent libraries, it isn't considered release-ready if it breaks any of those dependent libraries.
    3232
    33 #stable '''''Stable''''' - A library or branch that passes regression tests, but does not necessarily meet other release criteria.
     33'''''Stable_''''' - A library or branch that passes regression tests, but does not necessarily meet other release criteria.
    3434
    35 <a name="#prerequisite-library"><i><b>Prerequisite library</b></i></a> - A library other libraries are dependent upon.
     35'''''Prerequisite library''''' - A library other libraries are dependent upon.
    3636
    3737== Strategies ==
     
    3939 * The starting point for each new release is the prior release.
    4040
    41  * A [wiki:ImprovingPractices#release-ready release-ready] repository tree is maintained at all times.
     41 * A [#release-ready release-ready] repository tree is maintained at all times.
    4242
    4343 * Reduce the time lag between when a library developer needs fresh test results and when those results actually become available.
     
    4949== Repository Organization ==
    5050
    51 <a name="#release-tree"><i><b>Release tree</b></i></a>  -  [wiki:ImprovingPractices#release-ready release-ready] tree into which libraries are merged after beta testing. <i>We may decide to make this tree read-only except for the release management team.</i>
     51'''''Release tree'''''  -  [#release-ready release-ready] tree into which libraries are merged after beta testing. <i>We may decide to make this tree read-only except for the release management team.</i>
    5252
    53 :The URL for the release tree is //svn.boost.org/svn/boost/release
     53 The URL for the release tree is //svn.boost.org/svn/boost/release
    5454
    55 <i><b>Release tags</b></i> - These are copies of the the Release Branch made by the release manager, identifying the basis for generating tarballs and such. There are two forms; one for release candidates, another for final releases.
     55'''''Release tags''''' - These are copies of the the Release Branch made by the release manager, identifying the basis for generating tarballs and such. There are two forms; one for release candidates, another for final releases.
    5656
    57 :The URLs for release candidates are in the form <nowiki>//svn.boost.org/svn/boost/tags/Version_1_35_0_RC1</nowiki>
     57 The URLs for release candidates are in the form //svn.boost.org/svn/boost/tags/Version_1_35_0_RC1
    5858
    59 :The URLs for final releases are in the form <nowiki>//svn.boost.org/svn/boost/Version_1_35_0</nowiki>
     59 The URLs for final releases are in the form //svn.boost.org/svn/boost/Version_1_35_0
    6060
    61 <a name="#main-trunk"><i><b>Main trunk</b></i></a> - The main development and test location.
     61'''''Main trunk''''' - The main development and test location.
    6262
    63 Every effort must be made to keep <a href="#prerequisite-libraries">prerequisite libraries</a> stable in the main trunk, since failures in these libraries cascade into the testing of other libraries.
     63Every effort must be made to keep [#prerequisite-libraries prerequisite libraries] stable in the main trunk, since failures in these libraries cascade into the testing of other libraries.
    6464
    6565There is no need or obligation for non-prerequisite libraries to be stable in the main trunk, since by definition no other libraries depend on non-prerequisite libraries.
    6666
    67 :The URL for the main trunk is //svn.boost.org/svn/boost/trunk
     67 The URL for the main trunk is //svn.boost.org/svn/boost/trunk
    6868
    69 <i><b>Development branches</b></i> - Location for speculative/experimental/future work on an individual library or set of libraries.
     69'''''Development branches''''' - Location for speculative/experimental/future work on an individual library or set of libraries.
    7070
    71 :The URL for development branches is //svn.boost.org/svn/boost/branches/branch-name
     71 The URL for development branches is //svn.boost.org/svn/boost/branches/branch-name
    7272
    73 == <a name="#development">Development Cycle</a> ==
     73== Development Cycle ==
    7474
    75 Developers can ensure a <a href="#stable">stable</a> development environment by checking out //svn.boost.org/svn/boost/release as their working copy, and then <a href="http://svnbook.red-bean.com/en/1.1/ch04s05.html">switching</a> only the library they are working with to //svn.boost.org/svn/boost/trunk or a library specific development branch.
     75Developers can ensure a [#stable stable] development environment by checking out //svn.boost.org/svn/boost/release as their working copy, and then [http://svnbook.red-bean.com/en/1.1/ch04s05.html switching] only the library they are working with to //svn.boost.org/svn/boost/trunk or a library specific development branch.
    7676
    7777=== Merging from main trunk to release tree ===
    7878
    79 Only when a library update is tested and stable on trunk, and is fully [wiki:ImprovingPractices#release-ready release-ready], is it merged into the <a href="#release-tree">release tree</a>.
     79Only when a library update is tested and stable on trunk, and is fully [#release-ready release-ready], is it merged into the [#release-tree release tree].
    8080
    81 <i>Details of when the release tree merges are acceptable and who actually does the merge are yet to be worked out. One possibility is to allow any developer to merge into the release tree at any time except immediately before a release. A "Release_candidate" tag could be maintained, and either manually or by script moved up to the head of the release tree once the newly merged library passes all tests.</i>
     81''Details of when the release tree merges are acceptable and who actually does the merge are yet to be worked out. One possibility is to allow any developer to merge into the release tree at any time except immediately before a release. A "Release_candidate" tag could be maintained, and either manually or by script moved up to the head of the release tree once the newly merged library passes all tests.''
    8282
    8383=== Special case: Prerequisite libraries ===
    8484
    85 <a href="#prerequisite-libraries">Prerequisite library</a> changes that run any risk of breaking libraries that depend on them should always be first applied and tested on a branch, and only merged into the main trunk when stable.
     85[#prerequisite-libraries Prerequisite library] changes that run any risk of breaking libraries that depend on them should always be first applied and tested on a branch, and only merged into the main trunk when stable.
    8686
    8787The rationale is that changes to the main trunk that break prerequisite libraries are a serious problem because these changes destabilize the test environment for all libraries that depend on them. This causes developers of other libraries to expend needless effort tracking down test failures that aren't their fault.
     
    9999=== Trunk testing ===
    100100
    101 The <a href="#trunk">main trunk</a> is where most testing resources should be concentrated, since these tests are what tell developers that their library works on all tested platforms and tell the release management team that it is OK to merge a library into the release tree.
     101The [#trunk main trunk] is where most testing resources should be concentrated, since these tests are what tell developers that their library works on all tested platforms and tell the release management team that it is OK to merge a library into the release tree.
    102102
    103103=== Release testing ===
    104104
    105 In theory, it should not be necessary to test the <a href="#release-tree">release tree</a> at all, since everything merged into it should already be known to be [wiki:ImprovingPractices#release-ready release-ready].
     105In theory, it should not be necessary to test the [#release-tree release tree] at all, since everything merged into it should already be known to be [#release-ready release-ready].
    106106
    107107In practice, the release criteria platform/compiler combinations at the minimum should be tested on the release tree. A single reliable test runner for each release criteria platform/compiler combination should be sufficient.
     
    111111This Wiki page is being maintained by Beman Dawes.
    112112
    113 Although the details differ, the release model described here is similar to <a href="http://lists.boost.org/Archives/boost/2006/01/99522.php">proposed by Robert Ramey</a> where he suggested "Each library could be developed at its own pace and schedule."
     113Although the details differ, the release model described here is similar to one [http://lists.boost.org/Archives/boost/2006/01/99522.php proposed by Robert Ramey] where he suggested "Each library could be developed at its own pace and schedule."
    114114
    115115Refinements of a May, 2006, draft proposal by Beman Dawes were based on comments from Michael Fawcett, Simon Carter, Arkadiy Vertleyb, Pedro Lamarão, Robert Ramey, Anthony Williams, and Thorsten Ottosen.
    116116
    117 Discussion during <a href="http://www.boostcon.com"><nowiki>BoostCon</nowiki> 2007</a> between Beman Dawes, Thomas Witt, Troy Straszheim, Dave Abrahams, Eric Niebler, and Doug Gregor shaped this proposal.
     117Discussion during [http://www.boostcon.com BoostCon 2007] between Beman Dawes, Thomas Witt, Troy Straszheim, Dave Abrahams, Eric Niebler, and Doug Gregor shaped this proposal.
    118118
    119119Comments and corrections to this page were contributed by Stefan Seefeld, Peter Dimov, ...