196
196
./tools/check-newsbugs.py doc/en/release-notes/bzr-x.y.txt
198
(But note there will be many false positives, and this script may be
199
flaky <https://bugs.edge.launchpad.net/bzr/+bug/354985>. Don't let
200
this slow you down too much.)
198
(As of 2011-03-10, only a few false positives remain. Don't let this slow
202
201
#. Commit these changes to the release branch, using a command like::
204
bzr commit -m "Release 1.14."
203
bzr commit -m "Release 2.3.1"
206
205
The diff before you commit will be something like::
208
=== modified file 'NEWS'
209
--- NEWS 2008-09-17 23:09:18 +0000
210
+++ NEWS 2008-09-23 16:14:54 +0000
218
+This release includes many bug fixes and a few performance and feature
219
+improvements. ``bzr rm`` will now scan for missing files and remove them,
220
+like how ``bzr add`` scans for unknown files and adds them. A bit more
221
+polish has been applied to the stacking code. The b-tree indexing code has
222
+been brought in, with an eye on using it in a future repository format.
223
+There are only minor installer changes since bzr-1.7rc2.
225
bzr 1.7rc2 2008-09-17
226
---------------------
229
=== modified file 'bzrlib/__init__.py'
230
--- bzrlib/__init__.py 2008-09-16 21:39:28 +0000
231
+++ bzrlib/__init__.py 2008-09-23 16:14:54 +0000
233
# Python version 2.0 is (2, 0, 0, 'final', 0)." Additionally we use a
234
# releaselevel of 'dev' for unreleased under-development code.
236
-version_info = (1, 7, 0, 'candidate', 2)
237
+version_info = (1, 7, 0, 'final', 0)
240
# API compatibility version: bzrlib is currently API compatible with 1.7.
242
Note that the NEWS file formatting has evolved, this example needs to
207
=== modified file 'bzrlib/__init__.py'
208
--- bzrlib/__init__.py 2011-02-09 06:35:00 +0000
209
+++ bzrlib/__init__.py 2011-03-10 10:24:47 +0000
211
# Python version 2.0 is (2, 0, 0, 'final', 0)." Additionally we use a
212
# releaselevel of 'dev' for unreleased under-development code.
214
-version_info = (2, 3, 1, 'dev', 0)
215
+version_info = (2, 3, 1, 'final', 0)
217
# API compatibility version
218
api_minimum_version = (2, 3, 0)
220
=== modified file 'doc/en/release-notes/bzr-2.3.txt'
221
--- doc/en/release-notes/bzr-2.3.txt 2011-03-09 08:30:16 +0000
222
+++ doc/en/release-notes/bzr-2.3.txt 2011-03-10 10:40:47 +0000
227
-:2.3.1: NOT RELEASED YET
229
-External Compatibility Breaks
230
-*****************************
232
-.. These may require users to change the way they use Bazaar.
237
-.. New commands, options, etc that users may wish to try out.
242
-.. Improvements to existing commands, especially improved performance
243
- or memory usage, or better results.
246
+This is a bugfix release. Upgrading is recommended for all users of earlier
252
=== modified file 'doc/en/whats-new/whats-new-in-2.3.txt'
253
--- doc/en/whats-new/whats-new-in-2.3.txt 2011-02-03 16:29:18 +0000
254
+++ doc/en/whats-new/whats-new-in-2.3.txt 2011-03-10 11:10:36 +0000
256
improvements made to the core product, it highlights enhancements within the
257
broader Bazaar world of potential interest to those upgrading.
259
-Bazaar 2.3.0 is fully compatible both locally and on the network with 2.0 2.1,
260
-and 2.2, and can read and write repositories generated by all previous
261
+Bazaar 2.3.1 includes all the fixes in the un-released 2.0.7, 2.1.4 and 2.2.5
262
+versions that weren't included in 2.3.0 and fixes some bugs on its own.
264
+See the :doc:`../release-notes/index` for details.
266
+Bazaar 2.3 is fully compatible both locally and on the network with 2.0, 2.1,
267
+and 2.2. It can read and write repositories generated by all previous
245
273
#. Tag the new release::
249
277
#. Push those changes to a bzr repository that is public and accessible on
250
278
the Internet. PQM will pull from this repository when it attempts to merge
272
300
#. Now we'll try expanding this tarball and running the test suite
273
301
to check for packaging problems::
275
make check-dist-tarball
303
make check-dist-tarball | subunit2pyunit
277
You may encounter failures while running the test suite caused
278
by your locally installed plugins. Use your own judgment to
279
decide if you can release with these failures. When in doubt,
280
disable the faulty plugins one by one until you get no more
305
You may encounter failures while running the test suite caused by your
306
locally installed plugins. Use your own judgment to decide if you can
307
release with these failures. When in doubt, disable the faulty plugins
308
one by one until you get no more failures. Alternatively, you can use
309
``BZR_DISABLE_PLUGINS`` or ``BZR_PLUGIN_PATH=-site`` to disable one or
283
312
Remember that PQM has just tested everything too, this step is
284
313
particularly testing that the pyrex extensions, which are updated
392
420
releases. If you do not have a Freshmeat account yet, ask one of the
423
The purpose here is to point users to the latest stable release while still
424
publishing announcements for development releases.
426
There are several kinds of modifications that could be done there via the
427
``Administration`` box in the lower right area of the page:
429
* Edit the project: This is where most of the URLs proposed in the
430
``Links`` box are edited. This should rarely change except for the URLs
431
related to the latest stable release.
433
* New announcement: When doing a release (beta, candidates, final), put the
434
summary of the release (you can't embed URLs there, the moderation staff
435
remove them). Users can still access the releases notes via the ``Release
436
Notes`` URL in the ``Links`` box in the upper right area of the
437
page. When doing the first stable release in a series, delete the
438
``Unstable installers`` <https://launchpad.net/bzr/x.y/x.ybn> and
439
``Unstable source tarball``
440
<http://launchpad.net/bzr/x.y/x.ybn/+download/bzr-x.ybn.tar.gz>
441
links. Conversely, when creating the first beta in a development series,
442
create these links again. Check all links when doing other kinds of
445
* Set direct download: When releasing a new stable release, this should
446
point to the corresponding launchpad page:
447
<https://launchpad.net/bzr/x.y/x.y.z/>
395
449
#. Update `<http://en.wikipedia.org/wiki/Bazaar_(software)>`_ -- this should
396
450
be done for final releases but not for beta releases or Release Candidates.