/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
1
Releasing Breezy
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
2
################
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
3
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
4
This document describes the processes for making and announcing a Breezy
6011.3.1 by Vincent Ladeuil
releasing notes refresh
5
release, and managing the release process.  This is just one phase of the
6
`overall development cycle
7
<http://doc.bazaar.canonical.com/developers/cycle.html>`_, (go re-read this
8
document to ensure it hasn't been updated since you last read it) but it's
9
the most complex part.
10
11
If you're doing your first release you can follow this document and read
6011.3.6 by Vincent Ladeuil
Fix typos caught by Martin.
12
each step explanation. It's also a good practice to read it for any release
6011.3.1 by Vincent Ladeuil
releasing notes refresh
13
to ensure you don't miss a step and to update it as the release process
14
evolves.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
15
4634.13.4 by Vincent Ladeuil
More tweaks.
16
If you're helping the Release Manager (RM) for one reason or another, you
17
may notice that he didn't follow that document scrupulously. He may have
4634.13.6 by Vincent Ladeuil
Fixed as per Ian's review.
18
good reasons to do that but he may also have missed some parts.
4634.13.4 by Vincent Ladeuil
More tweaks.
19
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
20
.. contents::
21
4584.2.1 by Martin Pool
Update release cycle doc for 6m cycles
22
4632.2.1 by Martin Pool
Release docs: bzr-pqm is a precondition not part of the every-release process
23
Preconditions
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
24
=============
4632.2.1 by Martin Pool
Release docs: bzr-pqm is a precondition not part of the every-release process
25
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
26
#. Be a member of https://launchpad.net/~brz (or you won't be able to land
27
   any change)
6011.3.1 by Vincent Ladeuil
releasing notes refresh
28
29
What do we release
30
==================
31
32
In this document, we're talking about source releases only, packages and
33
installers are built from this but we won't talk about them here.
34
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
35
Every release is part of a series, ``brz-3.0.0`` is part of series ``3.0``.
6011.3.1 by Vincent Ladeuil
releasing notes refresh
36
37
We do two different kind of releases: the betas releases and the stable
38
releases for a given series.
39
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
40
For a given series, releases will be done to deliver new versions of brz to
6011.3.1 by Vincent Ladeuil
releasing notes refresh
41
different kinds of users:
42
43
#. beta releases: named ``x.ybn`` where ``x.y`` is the series and ``n``
6011.3.6 by Vincent Ladeuil
Fix typos caught by Martin.
44
   starts at 1 and is incremented. These releases are targeted to beta
6011.3.1 by Vincent Ladeuil
releasing notes refresh
45
   testers who don't want to run from source but are interested in features
46
   or improvements.
47
48
#. stable releases: name ``x.y.z`` where ``x.y.`` is the series and ``z``
6581.1.3 by Vincent Ladeuil
Release 2.6.0
49
   starts at 0 and is incremented. These releases are targeted at people
6011.3.1 by Vincent Ladeuil
releasing notes refresh
50
   that want bugfixes only and no new features.
51
52
6011.3.7 by Vincent Ladeuil
More spelling fixes.
53
Differences in the release process between beta and stable release will be
6011.3.1 by Vincent Ladeuil
releasing notes refresh
54
mentioned when needed.
5447.2.2 by Vincent Ladeuil
More updates following list discussion.
55
56
When do we relase ?
57
===================
58
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
59
As of September 2018, we maintain a single series: 3.0.
6011.3.1 by Vincent Ladeuil
releasing notes refresh
60
61
#. as much as possible releases should not disturb development, and
62
   ongoing development should not disturb releases,
63
64
#. the most recent development series should release once a month during
65
   the beta period (see `Development cycles <cycle.html>`_ for more
66
   details),
67
68
#. the most recent stable series should release every other month (based
69
   on the amount of bug fixes, this can be shorter or longer depending on
70
   the bugs importance),
71
6011.3.6 by Vincent Ladeuil
Fix typos caught by Martin.
72
#. previous series should release on a regular basis without interfering
6011.3.1 by Vincent Ladeuil
releasing notes refresh
73
   with the most recent series with a decreasing order of priority (again
74
   this should be based on bugs importance and user feedback),
75
76
#. the death of a series should be planned ahead of time. 6 months should
77
   give enough time to our users to migrate to a more recent series. This
78
   doesn't mean we will make a release at the end of the series, just that
79
   before the end date we *could* possibly put out another release if
80
   there was a sufficiently important fix.  Beyond that date, we won't
81
   even land changes on that branch (unless something causes a miraculous
82
   resurrection.)
83
84
#. there should not be more than 2 releases in the same week (but the
85
   Release Manager is free to ignore this (get in touch with packagers
86
   though),
87
88
At the start of a series cycle
89
==============================
90
91
To start a new series cycle:
92
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
93
#. Create a new series ``x.y`` at <https://launchpad.net/brz/+addseries>.
6011.3.1 by Vincent Ladeuil
releasing notes refresh
94
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
95
#. Add milestones at <https://launchpad.net/brz/x.y/+addmilestone> to that
6011.3.6 by Vincent Ladeuil
Fix typos caught by Martin.
96
   series for the beta releases and the stable series mentioning their
97
   expected dates. Only the milestone associated to the next release in
98
   this series should be left active to avoid clutter when targeting bugs.
6011.3.1 by Vincent Ladeuil
releasing notes refresh
99
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
100
#. If you made a new series, you will need to create a new branch for this
101
   release series. This branch will be used only from the first non-beta
102
   release onwards. It needs to be created by a https://launchpad.net/~brz
103
   member (ask the core devs for instructions or to do it for you).
6011.3.1 by Vincent Ladeuil
releasing notes refresh
104
105
#. Start a new release-notes file::
106
107
       cd doc/en/release-notes
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
108
       cp series-template.txt brz-x.y.txt  # e.g. brz-3.1.txt
109
       brz add brz-3.1.txt
6011.3.1 by Vincent Ladeuil
releasing notes refresh
110
111
#. Start a new whats-new file::
112
113
       cd doc/en/whats-new
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
114
       cp template.txt brz-x.y.txt  # e.g. brz-3.1.txt
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
115
       brz add brz-x.y.txt
5447.2.1 by Vincent Ladeuil
Fix some typos and propose a release planning.
116
6474.2.3 by Vincent Ladeuil
Update the top doc index as part of starting a new series.
117
#. Update ``doc/en/index.txt`` to point to the new whats-new file.
4634.13.1 by Vincent Ladeuil
Feedback on the 2.0rc1 release.
118
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
119
At the start of a release cycle
120
===============================
4634.13.1 by Vincent Ladeuil
Feedback on the 2.0rc1 release.
121
122
To start a new release cycle:
123
124
#. Send mail to the list with the key dates, who will be the release
125
   manager, and the main themes or targeted bugs.  Ask people to nominate
126
   objectives, or point out any high-risk things that are best done early,
4634.13.2 by Vincent Ladeuil
Fixed as per Martin's review.
127
   or that interact with other changes. This is called the metronome mail
4634.13.4 by Vincent Ladeuil
More tweaks.
128
   and is described in `Development cycles <cycle.html>`_.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
129
6011.3.1 by Vincent Ladeuil
releasing notes refresh
130
#. Make a local branch to prepare the release::
131
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
132
        brz branch lp:brz/x.y x.y-dev
6011.3.1 by Vincent Ladeuil
releasing notes refresh
133
134
   If you're doing your first beta release, branch from trunk::
135
6622.1.19 by Jelmer Vernooij
Rename brz.pot.
136
       brz branch lp:brz x.y-dev
6011.3.1 by Vincent Ladeuil
releasing notes refresh
137
138
   Note that you will generally reuse the same branch for all releases in a
139
   given series.
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
140
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
141
#. Add a landing job for the release branch at https://ci.breezy-vcs.org/
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
142
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
143
#. Update the version number in the ``brz`` script, and the
6622.1.34 by Jelmer Vernooij
Rename brzlib => breezy.
144
   ``breezy/__init__.py`` file::
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
145
   
146
       version_info = (x, y, z, 'dev', 0)
147
   
5462.5.7 by Andrew Bennetts
Update 'Releasing Bazaar' doc.
148
#. Add a new section at the top of the current release notes (in
149
   ``doc/en/release-notes``) about the new release, including its version
150
   number and the headings from ``release-template.txt``.
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
151
5050.19.1 by Martin Pool
Mention the need to maintain the 'what's new' document
152
#. Update the "What's New" documents in ``doc/en/whats-new``.
153
6011.3.4 by Vincent Ladeuil
More tweaks and typo fixes.
154
#. Make sure a milestone exists for your release and that it is active,
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
155
   <https://launchpad.net/brz/x.y> lists the existing milestones,
156
   <https://launchpad.net/brz/x.y/x.y.z/+edit> allows you to toggle the
6011.3.1 by Vincent Ladeuil
releasing notes refresh
157
   active flag.
158
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
159
#. Commit this and make a proposal against the release branch. Self approve
160
   it (you're the release manager).
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
161
162
163
Doing a particular release
164
==========================
165
166
Update the source code
167
----------------------
168
169
#. Check that there is a milestone for the release you're doing. If there
170
   is no milestone it indicates a process problem - make the milestone but
171
   also mail the list to raise this issue in our process. Milestones are
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
172
   found at <https://launchpad.net/brz/+milestone/x.y.z>.
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
173
6060.8.5 by Vincent Ladeuil
Mention some more cheks to be done before freezing a release.
174
#. Merge into your branch all previous stable series fixes that haven't been
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
175
   merged yet. For example, if you're releasing 3.2.x, make sure the fixes
176
   on 3.1, 3.0 have already been merged up::
6060.8.5 by Vincent Ladeuil
Mention some more cheks to be done before freezing a release.
177
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
178
     brz merge lp:brz/3.1
6060.8.5 by Vincent Ladeuil
Mention some more cheks to be done before freezing a release.
179
180
   and commit that merge in its own commit. This should happen only if the
181
   devs landing changes in previous releases forgot to merge them up. Since
182
   this can slow down the freeze, feel free to gently remind them about
183
   their duties ;) If you feel unsafe resolving the conflicts or it's too
184
   time consuming, contact the related devs and skip this merge.
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
185
     
186
   Alternatively, think about automating these merges.
187
    
6622.1.34 by Jelmer Vernooij
Rename brzlib => breezy.
188
#. In the release branch, update  ``version_info`` in ``./breezy/__init__.py``.
4634.13.4 by Vincent Ladeuil
More tweaks.
189
   Make sure the corresponding milestone exists.
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
190
   Double check that ./brz ``_script_version`` matches ``version_info``. Check
191
   the output of ``./brz --version``.
4634.13.1 by Vincent Ladeuil
Feedback on the 2.0rc1 release.
192
5609.1.1 by Vincent Ladeuil
Release 2.3b5
193
   For beta releases use::
4634.13.1 by Vincent Ladeuil
Feedback on the 2.0rc1 release.
194
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
195
       version_info = (3, 0, 0, 'beta', SERIAL)
196
197
   For instance 3.0b1::
198
199
       version_info = (3, 0, 0, 'beta', 1)
4634.13.1 by Vincent Ladeuil
Feedback on the 2.0rc1 release.
200
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
201
   For stable releases use::
202
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
203
       version_info = (3, 0, 0, 'final', 0)
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
204
5462.5.7 by Andrew Bennetts
Update 'Releasing Bazaar' doc.
205
#. Update the ``./doc/en/release-notes/`` section for this release.
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
206
6060.8.5 by Vincent Ladeuil
Mention some more cheks to be done before freezing a release.
207
   Check that all news entries related to this release have been added in
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
208
   the right section. For example, if you're releasing 3.0b3, the following
209
   command should display a a single chuk diff for the 3.0b3 release::
6060.8.5 by Vincent Ladeuil
Mention some more cheks to be done before freezing a release.
210
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
211
     brz diff -rbrz-3.0b2.. doc/en/release-notes/brz-3.0.txt
6060.8.5 by Vincent Ladeuil
Mention some more cheks to be done before freezing a release.
212
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
213
   Fill out the date and a description of the release under the existing
6060.8.5 by Vincent Ladeuil
Mention some more cheks to be done before freezing a release.
214
   header (the diff above will help you summarizing). If there isn't one,
215
   follow the instructions above for using the ``release-template.txt`` file
216
   and remind people that they should document their changes there ;)
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
217
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
218
   See *3.0b1* or similar for an example of what this looks like.
4634.13.4 by Vincent Ladeuil
More tweaks.
219
6011.3.1 by Vincent Ladeuil
releasing notes refresh
220
#. Add or check the summary of the release into the "What's New" document.
5050.19.1 by Martin Pool
Mention the need to maintain the 'what's new' document
221
6474.2.6 by Vincent Ladeuil
Review feedback.
222
  If this is the first release in a new series make sure to update the
223
  introduction mentioning:
224
225
  * the date of this first release,
226
  * until when the series is expected to be supported.
227
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
228
  Looking at ``brz annotate`` for previous series should give you the right
6474.2.6 by Vincent Ladeuil
Review feedback.
229
  hints. The ``doc/en/_templates/index.html`` file should also be updated.
6474.2.4 by Vincent Ladeuil
The what's new file should be updated to mention the release and expected
230
5462.5.7 by Andrew Bennetts
Update 'Releasing Bazaar' doc.
231
#. To check that all bugs mentioned in the release notes are actually
232
   marked as closed in Launchpad, you can run
233
   ``tools/check-newsbugs.py``::
3966.2.6 by Jelmer Vernooij
Mention check-newsbugs.py in the release document.
234
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
235
     ./tools/check-newsbugs.py doc/en/release-notes/brz-x.y.txt
3966.2.6 by Jelmer Vernooij
Mention check-newsbugs.py in the release document.
236
6011.3.7 by Vincent Ladeuil
More spelling fixes.
237
   As of 2011-07-18, all bugs mentioned in the output of the script requires
6011.3.6 by Vincent Ladeuil
Fix typos caught by Martin.
238
   some sort of intervention (either changing the status if it's not 'Fix
6011.3.1 by Vincent Ladeuil
releasing notes refresh
239
   Released' or setting a different milestone if the bug hasn't been
240
   fixed). A few false positives may remain in the older series, don't let
241
   this slow you down too much. This script accepts options you may find
6060.8.4 by Vincent Ladeuil
Mentions Canonical as the lead sponsor and other tweaks.
242
   useful, use ``./tools/check-newsbugs.py`` to display its usage (``-w``
243
   will open each bug in your browser for example).
4595.6.2 by Martin Pool
Guidance on using check-newsbugs when releasing
244
6133.2.1 by Jonathan Riddell
add translations to release process
245
#. For beta releases update the translation template::
246
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
247
     BRZ_PLUGIN_PATH=-site make po/brz.pot
6133.2.1 by Jonathan Riddell
add translations to release process
248
6439.1.1 by Vincent Ladeuil
Mentioning the milestone URL in annoucements gives an easy access to the detailed description of the release
249
   This is especially important for the final beta release which is when
250
   translations are frozen and translators are requested (see `The final
251
   beta - branching and translations`_) to make the translations.
6133.2.1 by Jonathan Riddell
add translations to release process
252
253
#. For stable releases update the translations::
254
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
255
     brz merge lp:~brz-core/brz/brz-translations-export-x.y
6133.2.1 by Jonathan Riddell
add translations to release process
256
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
257
#. Commit these changes to the release branch, using a command like::
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
258
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
259
     brz commit -m "Release 2.3.1"
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
260
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
261
   The diff before you commit will be something like::
262
6622.1.34 by Jelmer Vernooij
Rename brzlib => breezy.
263
      === modified file 'breezy/__init__.py'
264
      --- breezy/__init__.py	2011-02-09 06:35:00 +0000
265
      +++ breezy/__init__.py	2011-03-10 10:24:47 +0000
5712.1.1 by Vincent Ladeuil
Tweak release instructions.
266
      @@ -52,7 +52,7 @@
267
       # Python version 2.0 is (2, 0, 0, 'final', 0)."  Additionally we use a
268
       # releaselevel of 'dev' for unreleased under-development code.
269
       
270
      -version_info = (2, 3, 1, 'dev', 0)
271
      +version_info = (2, 3, 1, 'final', 0)
272
       
273
       # API compatibility version
274
       api_minimum_version = (2, 3, 0)
275
      
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
276
      === modified file 'doc/en/release-notes/brz-2.3.txt'
277
      --- doc/en/release-notes/brz-2.3.txt	2011-03-09 08:30:16 +0000
278
      +++ doc/en/release-notes/brz-2.3.txt	2011-03-10 10:40:47 +0000
5712.1.1 by Vincent Ladeuil
Tweak release instructions.
279
      @@ -8,23 +8,10 @@
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
280
       brz 2.3.1
5712.1.1 by Vincent Ladeuil
Tweak release instructions.
281
       #########
282
       
283
      -:2.3.1: NOT RELEASED YET
284
      -
285
      -External Compatibility Breaks
286
      -*****************************
287
      -
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
288
      -.. These may require users to change the way they use Breezy.
5712.1.1 by Vincent Ladeuil
Tweak release instructions.
289
      -
290
      -New Features
291
      -************
292
      -
293
      -.. New commands, options, etc that users may wish to try out.
294
      -
295
      -Improvements
296
      -************
297
      -
298
      -.. Improvements to existing commands, especially improved performance 
299
      -   or memory usage, or better results.
300
      +:2.3.1: 2011-03-10
301
      +
302
      +This is a bugfix release. Upgrading is recommended for all users of earlier
303
      +2.3 releases.
304
       
305
       Bug Fixes
306
       *********
307
      
308
      === modified file 'doc/en/whats-new/whats-new-in-2.3.txt'
309
      --- doc/en/whats-new/whats-new-in-2.3.txt	2011-02-03 16:29:18 +0000
310
      +++ doc/en/whats-new/whats-new-in-2.3.txt	2011-03-10 11:10:36 +0000
311
      @@ -17,8 +17,13 @@
312
       improvements made to the core product, it highlights enhancements within the
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
313
       broader Breezy world of potential interest to those upgrading.
5712.1.1 by Vincent Ladeuil
Tweak release instructions.
314
       
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
315
      -Breezy 2.3.0 is fully compatible both locally and on the network with 2.0 2.1,
5712.1.1 by Vincent Ladeuil
Tweak release instructions.
316
      -and 2.2, and can read and write repositories generated by all previous
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
317
      +Breezy 2.3.1 includes all the fixes in the un-released 2.0.7, 2.1.4 and 2.2.5
5712.1.1 by Vincent Ladeuil
Tweak release instructions.
318
      +versions that weren't included in 2.3.0 and fixes some bugs on its own.
319
      +
320
      +See the :doc:`../release-notes/index` for details.
321
      +
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
322
      +Breezy 2.3 is fully compatible both locally and on the network with 2.0, 2.1,
5712.1.1 by Vincent Ladeuil
Tweak release instructions.
323
      +and 2.2. It can read and write repositories generated by all previous
324
       versions.
325
       
326
       Changed Behaviour
327
      
5447.2.1 by Vincent Ladeuil
Fix some typos and propose a release planning.
328
4634.13.3 by Vincent Ladeuil
Fix rst formatting issues.
329
#. Tag the new release::
3997.2.1 by Jelmer Vernooij
Add tagging to the release process.
330
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
331
     brz tag brz-3.0.0
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
332
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
333
#. Push those changes to a brz branch and make a merge proposal::
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
334
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
335
     brz push
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
336
337
   Use a commit message formatted like::
338
  
339
     (vila) Release 3.0.0 (Vincent Ladeuil)
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
340
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
341
   Note that ``brz push`` should mention updating one tag (which you just
6234.4.2 by Vincent Ladeuil
Fix typo.
342
   created). If it doesn't, double-check that you created (and pushed) this
6234.4.1 by Vincent Ladeuil
Updated the instructions to prepare the translations template, freshmeat became freecode, freeze announces should be sent to bzr-packagers too.
343
   tag.
344
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
345
#. Once the merge proposal has landed, pull down the master release branch.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
346
3464.3.6 by Martin Pool
Release process updates
347
3383.2.4 by Martin Pool
Trim from the release instructions things that are now automated or unnecessary
348
Making the source tarball
349
-------------------------
350
3408.1.3 by Martin Pool
More release process updates
351
#. Change into the source directory and run ::
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
352
3383.2.4 by Martin Pool
Trim from the release instructions things that are now automated or unnecessary
353
     make dist
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
354
3408.1.3 by Martin Pool
More release process updates
355
#. Now we'll try expanding this tarball and running the test suite
356
   to check for packaging problems::
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
357
5555.2.1 by Vincent Ladeuil
Mention some tricks about running check-dist-tarball.
358
     make check-dist-tarball | subunit2pyunit
3383.2.5 by Martin Pool
merge trunk
359
5555.2.1 by Vincent Ladeuil
Mention some tricks about running check-dist-tarball.
360
   You may encounter failures while running the test suite caused by your
361
   locally installed plugins. Use your own judgment to decide if you can
362
   release with these failures. When in doubt, disable the faulty plugins
363
   one by one until you get no more failures. Alternatively, you can use
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
364
   ``BRZ_DISABLE_PLUGINS`` or ``BRZ_PLUGIN_PATH=-site`` to disable one or
5555.2.1 by Vincent Ladeuil
Mention some tricks about running check-dist-tarball.
365
   all plugins.
4634.13.1 by Vincent Ladeuil
Feedback on the 2.0rc1 release.
366
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
367
   Remember that this branch has already been tested on
368
   https://ci.breezy-vcs.org, this step is particularly testing that the
369
   cython extensions, which are updated by your local cython version when
370
   you run make dist, are in good shape.
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
371
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
372
4676.6.1 by mbp at sourcefrog
Updates to release process docs.
373
Publishing the source tarball
374
-----------------------------
375
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
376
#. Go to the relevant <https://launchpad.net/brz/x.y> series page in Launchpad.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
377
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
378
#. Create a release of the milestone, and upload the source tarball and
379
   the GPG signature.  Or, if you prefer, use the
380
   ``tools/packaging/lp-upload-release`` script to do this. Note that
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
381
   this changes what the download widget on the Launchpad brz home
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
382
   page shows, so don't stop the release process yet, or platform binary
383
   installers won't be made and the download list will stay very small!
5447.2.1 by Vincent Ladeuil
Fix some typos and propose a release planning.
384
   <https://bugs.launchpad.net/launchpad/+bug/586445>
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
385
4676.6.1 by mbp at sourcefrog
Updates to release process docs.
386
6011.3.1 by Vincent Ladeuil
releasing notes refresh
387
Kick off the next cycle
388
-----------------------
389
390
From that point, there is no possible return, the tarball has been uploaded
391
so you can relax a bit.
392
393
You're still holding a "social" lock on the launchpad branch though. Until
394
your start the next cycle, nobody should land anything on this branch. If
395
they do, they either targeted the wrong branch or didn't update the news
396
file correctly, so the sooner the branch is opened again, the better.
397
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
398
This matters more for ``lp:brz`` than for ``lp:brz/x.y``, ``lp:brz`` should
6011.3.1 by Vincent Ladeuil
releasing notes refresh
399
always be open for landing, so you should do `At the start of a release
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
400
cycle`_ as soon as possible (i.e. update the version number in ``brz`` and
6622.1.34 by Jelmer Vernooij
Rename brzlib => breezy.
401
``breezy/__init__``, create/update the news files and create/update the
6011.3.1 by Vincent Ladeuil
releasing notes refresh
402
milestone for the next relase).
403
404
You may also need to do `At the start of a series cycle`_ if you're starting
405
a new series.
406
6133.2.1 by Jonathan Riddell
add translations to release process
407
The final beta - branching and translations
408
-------------------------------------------
409
6011.3.1 by Vincent Ladeuil
releasing notes refresh
410
A word of caution: the instructions above works well for all releases but
411
there is one special case that requires a bit more care: when you release
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
412
the *last* beta for a given ``x.y`` series (from trunk aka lp:brz), you need
6011.3.1 by Vincent Ladeuil
releasing notes refresh
413
to setup *two* branches for the next cycle:
414
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
415
#. ``lp:brz`` needs to be opened for the next *series* ``x.(y+1)``.
6011.3.1 by Vincent Ladeuil
releasing notes refresh
416
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
417
#. ``lp:brz/x.y`` needs to be opened for the next *release* ``x.y.0`` in the
418
   series. Since this is first real use of ``lp:brz/x.y``, this is also the
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
419
   deadline for the https://ci.breezy-vcs.org/ landing job to be created.
6011.3.1 by Vincent Ladeuil
releasing notes refresh
420
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
421
Both are important as ``lp:brz`` should remain open so any change can be
422
landed, ``lp:brz/x.y`` on the other hand should be ready to receive bug
6011.3.4 by Vincent Ladeuil
More tweaks and typo fixes.
423
fixes.
6011.3.1 by Vincent Ladeuil
releasing notes refresh
424
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
425
``lp:brz`` is generally more important as the bug fixes on ``lp:brz/x.y``
6011.3.1 by Vincent Ladeuil
releasing notes refresh
426
won't be released sooner than a month from now whereas people may already
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
427
been waiting to land on ``lp:brz``.
6011.3.1 by Vincent Ladeuil
releasing notes refresh
428
6011.3.8 by Vincent Ladeuil
Add a step-by-step for x.y.0 to minimize the window where trunk is "closed".
429
In a nutshell:
430
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
431
#. Open ``lp:brz`` for ``x.(y+1)``
6011.3.8 by Vincent Ladeuil
Add a step-by-step for x.y.0 to minimize the window where trunk is "closed".
432
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
433
#. Create https://ci.breezy-vcs.org/ landing job and/or update the
434
   ``lp:brz/x.y`` branch based on whatever revision you want to release.
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
435
436
#. Release ``x.y.0`` from ``lp:brz/x.y``
437
438
#. Open ``lp:brz/x.y`` for bug fixes
6011.3.8 by Vincent Ladeuil
Add a step-by-step for x.y.0 to minimize the window where trunk is "closed".
439
6437.1.2 by Vincent Ladeuil
RM tweaks while freezing 2.5b5.
440
You also need to ensure Launchpad is set up to import/export translations
441
for the new branch and inform translators.
6133.2.1 by Jonathan Riddell
add translations to release process
442
6437.1.2 by Vincent Ladeuil
RM tweaks while freezing 2.5b5.
443
#. Push the last beta release to a new branch::
6133.2.1 by Jonathan Riddell
add translations to release process
444
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
445
     brz push lp:~brz-core/brz/brz-translations-export-x.y
6133.2.1 by Jonathan Riddell
add translations to release process
446
447
#. On the translations series synchronization settings page
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
448
   <https://translations.launchpad.net/brz/x.y/+translations-settings>
6133.2.1 by Jonathan Riddell
add translations to release process
449
   turn on ``Import template files`` then for exports click ``Choose a
450
   target branch`` and point it at the branch you just pushed.
451
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
452
#. E-mail translators to announce that the forthcoming stable release of brz
6437.4.1 by Vincent Ladeuil
Open 2.5.0 for bug fixes
453
   is ready for translations.  Send to
454
   ``launchpad-translators@lists.launchpad.net`` and
6133.2.2 by Jonathan Riddell
fix formatting on e-mails
455
   ``ubuntu-translators@lists.ubuntu.com``.
6133.2.1 by Jonathan Riddell
add translations to release process
456
457
#. The series is now frozen for strings and API, see below for adding
458
   that to the announcement.
459
4676.6.1 by mbp at sourcefrog
Updates to release process docs.
460
Announcing the source freeze
461
----------------------------
462
6234.4.1 by Vincent Ladeuil
Updated the instructions to prepare the translations template, freshmeat became freecode, freeze announces should be sent to bzr-packagers too.
463
#. Post to the ``bazaar@lists.canonical.com`` and
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
464
   ``brz-packagers@lists.launchpad.net`` lists, saying that the source has
6260.1.1 by Vincent Ladeuil
No more gold for source freezes, too many people have wrong expectations otherwise.
465
   been frozen. Be extra clear that this is only a *source* release targeted
466
   at packagers and installer builders (see
6060.8.4 by Vincent Ladeuil
Mentions Canonical as the lead sponsor and other tweaks.
467
   <https://bugs.launchpad.net/launchpad/+bug/645084>).  This is the cue for
468
   platform maintainers and plugin authors to update their code.  This is
469
   done before the general public announcement of the release.
6060.8.2 by Vincent Ladeuil
Clarify SRUs handling for the RM.
470
471
   The freeze announcement generally guess the date of the official public
472
   announcement, for the most recent stable series (the one supported by the
473
   installers and most of the distributions) it's generally a few days after
474
   the freeze. For older series supported only via SRUs for Ubuntu, we don't
475
   control the process as tightly so guessing the date is not appropriate.
476
6133.2.1 by Jonathan Riddell
add translations to release process
477
   For the final beta release include in your announcement a notice of
6474.2.1 by Vincent Ladeuil
Update releasing instructions including more details about doc.bazaar.canonical.com when doing the first stable release in a new series.
478
   API and translation freezes noting that public methods should not
6133.2.1 by Jonathan Riddell
add translations to release process
479
   be removed or changed and strings should not be added or changed.
480
6060.8.2 by Vincent Ladeuil
Clarify SRUs handling for the RM.
481
#. Pause for a few days. 
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
482
483
4676.6.1 by mbp at sourcefrog
Updates to release process docs.
484
Publishing the release
485
----------------------
486
487
There is normally a delay of a few days after the source freeze to allow
6474.2.1 by Vincent Ladeuil
Update releasing instructions including more details about doc.bazaar.canonical.com when doing the first stable release in a new series.
488
for binaries to be built for various platforms. Once they have been built,
4676.6.1 by mbp at sourcefrog
Updates to release process docs.
489
we have a releasable product.  The next step is to make it generally
6011.3.5 by Vincent Ladeuil
Some more tweaks.
490
available to the world.
4676.6.1 by mbp at sourcefrog
Updates to release process docs.
491
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
492
#. Go to the release web page at <https://launchpad.net/brz/x.y/x.y.z>
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
493
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
494
#. Announce on the Breezy website.
4634.67.1 by Ian Clatworthy
update release documentation to mention the new website
495
4634.13.1 by Vincent Ladeuil
Feedback on the 2.0rc1 release.
496
#. Check that the documentation for this release is available in
6474.2.1 by Vincent Ladeuil
Update releasing instructions including more details about doc.bazaar.canonical.com when doing the first stable release in a new series.
497
   <http://doc.bazaar.canonical.com>.  It should be automatically build when
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
498
   the branch is created, by a cron script ``update-brz-docs`` on
6474.2.1 by Vincent Ladeuil
Update releasing instructions including more details about doc.bazaar.canonical.com when doing the first stable release in a new series.
499
   ``escudero``. When the first release is created in a new series, a branch
6615.6.1 by Vincent Ladeuil
Open 2.7.1 for bug fixes
500
   needs to be created on ``escudero``::
6474.2.1 by Vincent Ladeuil
Update releasing instructions including more details about doc.bazaar.canonical.com when doing the first stable release in a new series.
501
6615.6.1 by Vincent Ladeuil
Open 2.7.1 for bug fixes
502
     ssh escudero.canonical.com
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
503
     sudo -u brz-web -s
6474.2.1 by Vincent Ladeuil
Update releasing instructions including more details about doc.bazaar.canonical.com when doing the first stable release in a new series.
504
     cd /srv/doc.bazaar.canonical.com/
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
505
     brz branch lp:brz/2.7 brz/brz.2.7
506
507
   And the ``brz/bin/update-brz-docs`` script needs to refer to it.
508
509
   The ``lp:brz-alldocs`` branch also needs to be updated when a new series
6474.2.2 by Vincent Ladeuil
Also mention lp:bzr-alldocs that needs to be updated for news series.
510
   is introduced, see the ``README`` file there for more instructions
511
   (looking at the branch history is also a good way to understand what
512
   needs to be done and to document any policy changes).
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
513
514
Announcing the release
515
----------------------
516
517
Now that the release is publicly available, tell people about it.
518
3778.2.1 by Martin Pool
Updated release process documentation.
519
#. Make an announcement mail.
520
6060.8.4 by Vincent Ladeuil
Mentions Canonical as the lead sponsor and other tweaks.
521
   For beta releases, this is sent to the ``bazaar@lists.canonical.com`` and
522
   ``bazaar-announce@lists.canonical.com`` lists.
4634.13.1 by Vincent Ladeuil
Feedback on the 2.0rc1 release.
523
6060.8.2 by Vincent Ladeuil
Clarify SRUs handling for the RM.
524
   For stable releases (excluding SRUs which are for older stable releases),
525
   it should also be cc'd to ``info-gnu@gnu.org``,
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
526
   ``python-announce-list@python.org``, ``bug-directory@gnu.org``.
4634.13.1 by Vincent Ladeuil
Feedback on the 2.0rc1 release.
527
528
   In all cases, it is good to set ``Reply-To: bazaar@lists.canonical.com``,
529
   so that people who reply to the announcement don't spam other lists.
3778.2.1 by Martin Pool
Updated release process documentation.
530
4439.1.2 by Martin Pool
Change release message template to a preformatted block so you can more easily copy and paste it into a mail.
531
   The announce mail will look something like this::
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
532
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
533
      Subject: brz x.y.z released!
534
535
      The Breezy team is happy to announce availability of a new
536
      release of the brz adaptive version control system.
537
538
      Breezy is a fork of the Bazaar version control system.
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
539
5447.2.1 by Vincent Ladeuil
Fix some typos and propose a release planning.
540
      <<Summary paragraph from news>>
541
4439.1.2 by Martin Pool
Change release message template to a preformatted block so you can more easily copy and paste it into a mail.
542
      Thanks to everyone who contributed patches, suggestions, and
543
      feedback.
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
544
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
545
      Breezy is now available for download from
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
546
      https://launchpad.net/brz/x.y/x.y.z/ as a source tarball; packages
4439.1.2 by Martin Pool
Change release message template to a preformatted block so you can more easily copy and paste it into a mail.
547
      for various systems will be available soon.
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
548
5462.5.7 by Andrew Bennetts
Update 'Releasing Bazaar' doc.
549
      <<release notes from this release back to the last major release>>
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
550
4439.1.1 by Martin Pool
Release mails should mention bzr's a GNU project
551
   Feel free to tweak this to your taste.
552
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
553
#. Make an announcement through <https://launchpad.net/brz/+announce>
554
   mentioning the milestone URL <https://launchpad.net/brz/+milestone/x.y.z>
6439.1.1 by Vincent Ladeuil
Mentioning the milestone URL in annoucements gives an easy access to the detailed description of the release
555
   so people get an easy access to details.
3815.1.1 by Martin Pool
Add Launchpad announcement to the release process
556
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
557
#. Update `<http://en.wikipedia.org/wiki/Breezy_(software)>`_ -- this should
6011.3.5 by Vincent Ladeuil
Some more tweaks.
558
   be done for the stable and beta releases.
3497.3.1 by Martin Pool
Add note to update GNU directory
559
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
560
#. Update the python package index: <http://pypi.python.org/pypi/breezy>
6615.2.1 by Vincent Ladeuil
Ensure http://pad.lv/1323805 won't come back.
561
562
   From the tarball created and tested earlier ::
563
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
564
     twine upload -s ../breezy-3.0.0.tar.gz
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
565
6011.3.7 by Vincent Ladeuil
More spelling fixes.
566
   Remember to check the results afterward -- this should be done for
6060.8.2 by Vincent Ladeuil
Clarify SRUs handling for the RM.
567
   stable releases but not for beta releases nor SRUs.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
568
6615.6.1 by Vincent Ladeuil
Open 2.7.1 for bug fixes
569
   The ``twine`` command is provided by the ``twine`` package on Debian and
570
   Ubuntu.
571
6615.2.1 by Vincent Ladeuil
Ensure http://pad.lv/1323805 won't come back.
572
   If in doubt, you can test with <https://testpypi.python.org/pypi> where
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
573
   you can register yourself, register the brz project and upload (and then
6615.2.1 by Vincent Ladeuil
Ensure http://pad.lv/1323805 won't come back.
574
   remove the upload and delete the project so a new release manager can
575
   enjoy the same facilities). If the project already exists, have one of
576
   the existing owners of the project add you to the group.
577
578
   To use the pypi test site, you need to record your credentials for an
579
   existing user (the registration process is manual and starts at
580
   <https://testpypi.python.org/pypi?%3Aaction=register_form>.
581
582
   Once registered, you can record your crdentials in your ``~/pypirc`` file
583
   with ::
584
585
     [testpypi]
586
     username:<login on testpypi>
587
     password:<password on testpypi>
588
     repository = https://testpypi.python.org/pypi
589
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
590
   Registering the breezy project if doesn't exist is achieved with::
6615.2.1 by Vincent Ladeuil
Ensure http://pad.lv/1323805 won't come back.
591
592
     python setup.py -r https://testpypi.python.org/pypi register
593
594
  Uploading is done with::
595
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
596
    twine upload -r testpypi -s ../breezy-3.0.0.tar.gz
6615.2.1 by Vincent Ladeuil
Ensure http://pad.lv/1323805 won't come back.
597
598
   To be able to upload the release you must create an account on
599
   <http://pypi.python.org/pypi> and have one of the existing owners of the
600
   project add you to the group and update your ``[pypi]`` section in your
601
   ``~/pypirc`` file.
3408.1.3 by Martin Pool
More release process updates
602
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
603
3383.2.5 by Martin Pool
merge trunk
604
Merging the released code back to trunk
605
---------------------------------------
606
6011.3.3 by Vincent Ladeuil
Some more tweaks and a news entry.
607
Merge the release branch back into the trunk.  The ``doc/en/release-notes``
608
changes should be merged into the right place because each release series
609
has its own release-notes file, but double-check.
5264.2.1 by Robert Collins
Improved our release checklist to have a bit less churn and leave things
610
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
611
If it's not already done, advance the version number in ``brz`` and
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
612
``breezy/__init__.py``. File a merge proposal against ``lp:brz``.
3383.2.5 by Martin Pool
merge trunk
613
4634.13.4 by Vincent Ladeuil
More tweaks.
614
As soon as you change the version number in trunk, make sure you have
615
created the corresponding milestone to ensure the continuity in bug
4634.13.5 by Vincent Ladeuil
Mention creating the news series when changing the major or minor part of
616
targeting or nominating. Depending on the change, you may even have to
617
create a new series (if your change the major or minor release number), in
6011.3.3 by Vincent Ladeuil
Some more tweaks and a news entry.
618
that case go to `At the start of a series cycle`_ and follow the
619
instructions from there.
4634.13.4 by Vincent Ladeuil
More tweaks.
620
4070.10.2 by Martin Pool
doc to maintain bzr/current branch
621
4634.13.4 by Vincent Ladeuil
More tweaks.
622
Releases until the final one
623
----------------------------
624
6011.3.1 by Vincent Ladeuil
releasing notes refresh
625
Congratulations - you have made your first release.  Have a beer or fruit
626
juice - it's on the house! If it was a beta, you're not finished
627
yet. Another beta or hopefully a stable release is still to come.
4634.13.6 by Vincent Ladeuil
Fixed as per Ian's review.
628
6011.3.1 by Vincent Ladeuil
releasing notes refresh
629
The process is the same as for the first release. Goto `Doing a particular
630
release`_ and follow the instructions again. Some details change between
631
beta and stable releases, but they should be documented. If the instructions
632
aren't clear enough, please fix them.
4634.13.4 by Vincent Ladeuil
More tweaks.
633
3383.2.5 by Martin Pool
merge trunk
634
5430.5.1 by Martin Pool
Developer docs about SRUs of stable releases
635
Getting the release into Ubuntu
636
-------------------------------
637
7109.1.1 by Vincent Ladeuil
First rough shot at updating the release process for breezy.
638
/!\ Nothing in this section has been validated for breezy yet.
639
5430.5.1 by Martin Pool
Developer docs about SRUs of stable releases
640
(Feel free to propose or add new sections here about what we should do to
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
641
get brz into other places.)
5430.5.1 by Martin Pool
Developer docs about SRUs of stable releases
642
643
For the currently-under-development release of Ubuntu, no special action
644
is needed: the release should be picked by Debian and synced from there into
645
Ubuntu.
646
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
647
Releases off stable brz branches should go in to the ``-updates`` of the
5430.5.1 by Martin Pool
Developer docs about SRUs of stable releases
648
Ubuntu release that originally contained that branch.  (Ubuntu Lucid had
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
649
brz 2.2.0, so should get every 2.2.x update.)  This means going through
5430.5.1 by Martin Pool
Developer docs about SRUs of stable releases
650
the `SRU (Stable Release Updates)
651
<https://wiki.ubuntu.com/StableReleaseUpdates>`__ process.   
652
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
653
Since September 2010, brz has received approval by the technical
6011.3.9 by Vincent Ladeuil
Mention the SRU wiki page.
654
board for the `MicroReleaseExceptions
5430.5.1 by Martin Pool
Developer docs about SRUs of stable releases
655
<https://wiki.ubuntu.com/StableReleaseUpdates/MicroReleaseExceptions>`__
6011.3.9 by Vincent Ladeuil
Mention the SRU wiki page.
656
category so that whole bugfix releases can more easily be
657
approved.
658
6011.3.11 by Vincent Ladeuil
Fix typo.
659
Progress on these realeases is tracked on the `SRU wiki
6011.3.9 by Vincent Ladeuil
Mention the SRU wiki page.
660
<http://wiki.bazaar.canonical.com/UbuntuStableReleaseUpdates>`_
661
page.
5430.5.1 by Martin Pool
Developer docs about SRUs of stable releases
662
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
663
**After making a brz stable-release release, nominate the most serious bug
5430.5.1 by Martin Pool
Developer docs about SRUs of stable releases
664
for the appropriate Ubuntu release and subscribe the `ubuntu-sru` team.**
665
5430.4.5 by Vincent Ladeuil
Clarify SRU bug nomination.
666
This requires a couple of tricks (please reconsider and tweak as things
667
evolves from one release to the other):
668
669
 * create a distro task with the ``Also affects distribution`` button and
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
670
   select ``brz (Ubuntu)``.
5430.4.5 by Vincent Ladeuil
Clarify SRU bug nomination.
671
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
672
 * change the *URL* to point to ``ubuntu/+source/brz`` instead of ``brz``
5430.4.5 by Vincent Ladeuil
Clarify SRU bug nomination.
673
   (this is needed if you create the distro task but not if it exists
674
   already). You should now be able to click the ``Nominate for release``
675
   button and select the right Ubuntu release. As of September 2010, this
676
   means:
677
6524.3.1 by Vincent Ladeuil
Minor RM tweaks
678
  * ``quantal`` for the 2.6 series,
679
  * ``precise`` for the 2.5 series,
6011.3.10 by Vincent Ladeuil
Mention oneiric.
680
  * ``oneiric`` for the 2.4 series,
6011.3.5 by Vincent Ladeuil
Some more tweaks.
681
  * ``natty`` for the 2.3 series,
5430.4.5 by Vincent Ladeuil
Clarify SRU bug nomination.
682
  * ``maverick`` for the 2.2 series,
683
  * ``lucid`` for the 2.1 series,
684
685
 * Subscribe the ``~ubuntu-sru`` team to the bug.
686
687
 * Add a comment targeted to ``~ubuntu-sru`` explaining the expectations
688
   (we are targeting running the test suite during the build which, as of
689
   September 2010, fails for known reasons that are currently addressed).
690
   Search for bugs tagged with ``sru`` for examples and don't forget to tag
691
   the bug you selected.
692
5430.5.1 by Martin Pool
Developer docs about SRUs of stable releases
693
3549.3.1 by Martin Pool
Updated instructions in packaging into the PPA
694
See also
695
--------
696
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
697
* `Packaging into the brz PPA <ppa.html>`_ to make and publish Ubuntu
4070.10.3 by Martin Pool
Small ReST syntax fix
698
  packages.
6622.2.1 by Jelmer Vernooij
bzr => brz in docs, explain fork.
699
* `Breezy Developer Document Catalog <index.html>`_
4070.10.3 by Martin Pool
Small ReST syntax fix
700
* `Development cycles <cycle.html>`_: things that happen during the cycle
701
  before the actual release.
3464.3.6 by Martin Pool
Release process updates
702
703
..
3464.3.8 by Martin Pool
Doc updates re PPAs
704
   vim: filetype=rst textwidth=74 ai shiftwidth=4