release_procedures.htm 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
  5. <meta name="ProgId" content="FrontPage.Editor.Document">
  6. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  7. <title>Release Procedures</title>
  8. </head>
  9. <body bgcolor="#FFFFFF">
  10. <table border="1" bgcolor="#007F7F" cellpadding="2">
  11. <tr>
  12. <td bgcolor="#FFFFFF">
  13. <img src="../boost.png" alt="boost.png (6897 bytes)" width="277" height="86"></td>
  14. <td><a href="../index.htm"><font face="Arial,Helvetica" color="#FFFFFF"><big>Home</big></font></a></td>
  15. <td><a href="../libs/libraries.htm"><font face="Arial,Helvetica" color="#FFFFFF"><big>Libraries</big></font></a></td>
  16. <td><a href="../people/people.htm"><font face="Arial,Helvetica" color="#FFFFFF"><big>People</big></font></a></td>
  17. <td><a href="../more/faq.htm"><font face="Arial,Helvetica" color="#FFFFFF"><big>FAQ</big></font></a></td>
  18. <td><a href="../more/index.htm"><font face="Arial,Helvetica" color="#FFFFFF"><big>More</big></font></a></td>
  19. </tr>
  20. </table>
  21. <h1>Boost Release Procedures</h1>
  22. <p><a href="#Introduction">Introduction</a><br>
  23. <a href="#Overview">Procedure Overview</a><br>
  24. <a href="#Developers">Procedures for Developers</a><br>
  25. <a href="#Manager">Procedures for the Release Manager</a><br>
  26. <a href="#FAQ">FAQ</a><br>
  27. <a href="#Acknowledgements">Acknowledgements</a></p>
  28. <h2><a name="Introduction">Introduction</a></h2>
  29. <p>Each release of Boost software is overseen by a release manager, who
  30. coordinates release activities via the Boost mailing list, as well as performing
  31. the detailed procedures for the release.</p>
  32. <p>Boost developers assist the release manager by reviewing regression test
  33. logs, and committing fixes to CVS.</p>
  34. <h2>Release Procedure <a name="Overview">Overview</a></h2>
  35. <ul>
  36. <li>Discussion on the main Boost mailing list to determine the target date for
  37. release candidate branch and tag of the CVS main trunk.<br>
  38. &nbsp;</li>
  39. <li>Release manager performs release candidate branch, and also tags the
  40. branch point in main trunk.<br>
  41. &nbsp;</li>
  42. <li>Regression tests run on release candidate branch.<br>
  43. &nbsp;</li>
  44. <li>Developers fix problems, test, and commit fixes. See below for details.<br>
  45. &nbsp;</li>
  46. <li>Repeat previous two steps until release manager is satisfied.<br>
  47. &nbsp;</li>
  48. <li>Release manager rolls out the actual release.</li>
  49. </ul>
  50. <h2>Release Procedures for <a name="Developers">Developers</a></h2>
  51. <ul>
  52. <li>As the release candidate branch date approaches (as announced on the main
  53. mailing list), bring the main trunk CVS files you are responsible for into a
  54. stable state.<br>
  55. &nbsp;</li>
  56. <li>If you know of changes in either your code or its dependencies, start
  57. checking regression test results to ensure your tests still pass.&nbsp; Don't
  58. necessarily wait for the initial release tagging.<br>
  59. &nbsp;</li>
  60. <li>After the release manager announces that the release candidate branch has
  61. occurred, check the latest regression test results to be sure
  62. your tests haven't broken.<br>
  63. &nbsp;</li>
  64. <li>Developers can continue working on main trunk code changes after
  65. the release candidate branch has occurred. There is no need to wait until the release
  66. itself.&nbsp;
  67. Modified files committed to CVS on the main trunk will not be included in the release unless the
  68. developer explicitly commits the changes to the release candidate branch.<br>
  69. &nbsp;</li>
  70. <li>If specific to the release candidate only, the fixes should be committed
  71. directly to the release candidate branch. In the more common case of fixes
  72. which apply to both the main trunk and the release branch, the fixes are best
  73. made to the main trunk, and then merged into the release candidate branch. See
  74. FAQ for <a href="#merged_to_RC_n_n_n">tag rationale</a>.<br>
  75. <br>
  76. After a fix has been committed to the main trunk, here is a
  77. typical procedure (assuming the release candidate branch is named RC_1_26_2)
  78. to merge the fixed main trunk into the release candidate branch:</li>
  79. </ul>
  80. <blockquote>
  81. <ul>
  82. <li>Command Line CVS:</li>
  83. </ul>
  84. <blockquote>
  85. <ul>
  86. <li>Fixed code is committed to main branch <br>
  87. &nbsp;</li>
  88. <li>Switch to the release candidate branch
  89. <blockquote>
  90. <code>cvs update -r RC_1_26_2</code></blockquote>
  91. </li>
  92. <li>Merge changes in a trunk since previous merge to branch
  93. <blockquote>
  94. <pre>cvs update -j<a href="#merged_to_RC_n_n_n">merged_to_RC_1_26_2</a> -jHEAD buggycode.hpp
  95. --&gt; RCS file: /cvsroot/boost/.../buggycode.hpp,v
  96. --&gt; retrieving revision 1.4
  97. --&gt; retrieving revision 1.6
  98. --&gt; Merging differences between 1.4 and 1.6 into buggycode.hpp</pre>
  99. </blockquote>
  100. </li>
  101. <li>Commit merged branch
  102. <blockquote>
  103. <pre>cvs commit -m &quot;Merged fix for problem xyz from trunk to branch&quot; buggycode.hpp</pre>
  104. </blockquote>
  105. </li>
  106. <li>Go back to main trunk
  107. <blockquote>
  108. <pre>cvs update -A</pre>
  109. </blockquote>
  110. </li>
  111. <li>Move tag to a new merged point
  112. <blockquote>
  113. <pre>cvs tag -F -c merged_to_RC_1_28_2 buggycode.hpp</pre>
  114. </blockquote>
  115. </li>
  116. <li>Repeat as needed
  117. </li>
  118. </ul>
  119. </blockquote>
  120. <ul>
  121. <li>WinCVS:</li>
  122. </ul>
  123. <blockquote>
  124. <ul>
  125. <li>After fixed code is committed to main branch, switch to the release
  126. candidate branch:</li>
  127. </ul>
  128. <blockquote>
  129. <blockquote>
  130. <p>Select file(s) if not already selected.</p>
  131. <p>Modify | Update selection... |
  132. Update settings | Sticky options | Retrieve rev/tag/branch: <code>RC_1_26_2</code> | OK</p>
  133. </blockquote>
  134. </blockquote>
  135. <ul>
  136. <li>Merge changes from main trunk into the release candidate branch:</li>
  137. </ul>
  138. <blockquote>
  139. <blockquote>
  140. <p>Modify | Update selection... |
  141. Update settings | Merge options | Only this rev/tag: <code>
  142. <a href="#merged_to_RC_n_n_n">merged_to_RC_1_26_2</a></code>
  143. | Plus with this rev/tag: <code>HEAD</code> | OK</p>
  144. </blockquote>
  145. </blockquote>
  146. <ul>
  147. <li>Commit merge results:</li>
  148. </ul>
  149. <blockquote>
  150. <blockquote>
  151. <p>Modify | Commit... | Enter log message: ... | OK</p>
  152. </blockquote>
  153. </blockquote>
  154. <ul>
  155. <li>Go back to main trunk:</li>
  156. </ul>
  157. <blockquote>
  158. <blockquote>
  159. <p>Modify | Update selection... | Update settings | Reset any sticky
  160. date/tag/-k options | OK</p>
  161. </blockquote>
  162. </blockquote>
  163. <ul>
  164. <li>Tag as new merge point:</li>
  165. </ul>
  166. <blockquote>
  167. <blockquote>
  168. <p>Modify | Create tag on selection... | Create tag settings | Enter the tag
  169. name to create: <code>merged_to_RC_1_26_2</code>, Overwrite existing tags
  170. with same name | OK.</p>
  171. </blockquote>
  172. </blockquote>
  173. </blockquote>
  174. </blockquote>
  175. <h2>Release Procedures for the Release <a name="Manager">Manager</a></h2>
  176. <p>At time of branch-for-release:</p>
  177. <ul>
  178. <li>Tag the main trunk&nbsp; <code>merged_to_RC_n_n_n</code>.</li>
  179. <li>Branch the main trunk with the tag <code>RC_n_n_n</code>.</li>
  180. </ul>
  181. <p>See <a href="release_mgr_checklist.html">Release Manager's Checklist</a> for
  182. full details.</p>
  183. <h2><a name="FAQ">FAQ</a></h2>
  184. <p><b>What is the purpose of the <i><a name="merged_to_RC_n_n_n">
  185. merged_to_RC_n_n_n</a></i> tag?</b> This tag allows multiple merges from the
  186. main trunk to the release candidate branch. Without it, merging an initial main
  187. trunk fix&nbsp; into the release candidate branch would work, but merging a
  188. second fix from main trunk to release candidate branch would result in a merge
  189. conflict. Although this procedure seems convoluted, it works much better in
  190. practice than several prior procedures we tried.</p>
  191. <h2><a name="Acknowledgements">Acknowledgements</a></h2>
  192. <p>This web page was written by Beman Dawes, with helpful suggestions from Dave
  193. Abrahams and Steve Robbins. Jim Hyslop contributed the original CVS procedures.
  194. Updated by Jeff Garland after 1.29 release based on list discussions.</p>
  195. <hr>
  196. <p>Revised:
  197. <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->02 October, 2003<!--webbot bot="Timestamp" i-checksum="38549" endspan --></p>
  198. <p>© Copyright Beman Dawes 2002</p>
  199. <p> Use, modification, and distribution are subject to the Boost Software
  200. License, Version 1.0. (See accompanying file <a href="../LICENSE_1_0.txt">
  201. LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">
  202. www.boost.org/LICENSE_1_0.txt</a>)</p>
  203. </body>
  204. </html>
粤ICP备19079148号