/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
1
Releasing Bazaar
2
================
3
4
This document describes the processes for making and announcing a Bazaar
3778.2.1 by Martin Pool
Updated release process documentation.
5
release, and managing the release process.  This is just one phase of the 
6
`overall development cycle <cycle.html>`_, but it's the most complex part.
7
This document gives a checklist you can follow from start to end in one
8
go.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
9
10
.. contents::
11
3383.2.4 by Martin Pool
Trim from the release instructions things that are now automated or unnecessary
12
Preparing the tree for release
13
------------------------------
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
14
15
.. Was previously at http://bazaar-vcs.org/ReleaseChecklist
16
3464.3.6 by Martin Pool
Release process updates
17
#. Make a local branch for preparing this release.  (Only for the first 
18
   release in a series, otherwise you should already have a branch.) ::
19
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
20
     bzr branch trunk prepare-1.14
21
22
#. Download the pqm plugin and install it into your ``~/.bazaar/plugins``::
23
4152.2.5 by Robert J. Tanner
Tweak request by mbp for releasing.txt
24
     bzr branch lp:bzr-pqm ~/.bazaar/plugins/pqm
3464.3.6 by Martin Pool
Release process updates
25
26
#. Configure pqm-submit for this branch, with a section like this in
27
   ``~/.bazaar/locations.conf``::
28
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
29
	[/home/mbp/bzr/prepare-1.14]
3464.3.6 by Martin Pool
Release process updates
30
	pqm_email = Canonical PQM <pqm@bazaar-vcs.org>
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
31
	submit_branch = http://bazaar-vcs.org/bzr/bzr.1.14
32
	public_branch = http://bazaar.your-domain.com/bzr
3464.3.6 by Martin Pool
Release process updates
33
	submit_to = bazaar@lists.canonical.com
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
34
	smtp_server = mail.your-domain.com:25
35
4070.10.13 by Martin Pool
Remove or correct broken links
36
    Please see <http://doc.bazaar-vcs.org/latest/developers/HACKING.html#an-overview-of-pqm>
37
    for more details on PQM
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
38
4152.2.7 by Robert J. Tanner
Added explicit instructions to check ./bzr _script_version ./bzrlib/__init__.py
39
#. In the release branch, update  ``version_info`` in ``./bzrlib/__init__.py``.
40
   Double check that ./bzr ``_script_version`` matches ``version_info``. Check
41
   the output of ``bzr --version``. 
3778.2.1 by Martin Pool
Updated release process documentation.
42
43
#. Add the date and release number to ``./NEWS``
44
3966.2.6 by Jelmer Vernooij
Mention check-newsbugs.py in the release document.
45
#. To check that all bugs mentioned in ``./NEWS`` are actually marked as
46
   closed in Launchpad, you can run ``tools/check-newsbugs.py``::
47
48
     ./tools/check-newsbugs.py NEWS
49
3778.2.1 by Martin Pool
Updated release process documentation.
50
#. Summarize into one or two paragraphs what's new in this release.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
51
52
#. Commit these changes to the release branch, using a command like::
53
    
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
54
     bzr commit -m "Release 1.14." 
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
55
   
56
   The diff before you commit will be something like::
57
3778.2.2 by John Arbash Meinel
Rewrap some doc text, update the diff hunk to be accurate for current NEWS.
58
     === modified file 'NEWS'
59
     --- NEWS        2008-09-17 23:09:18 +0000
60
     +++ NEWS        2008-09-23 16:14:54 +0000
61
     @@ -4,6 +4,23 @@
62
     
63
      .. contents::
64
     
65
     +bzr 1.7 2008-09-23
66
     +------------------
67
     +
68
     +This release includes many bug fixes and a few performance and feature
69
     +improvements.  ``bzr rm`` will now scan for missing files and remove them,
70
     +like how ``bzr add`` scans for unknown files and adds them. A bit more
71
     +polish has been applied to the stacking code. The b-tree indexing code has
72
     +been brought in, with an eye on using it in a future repository format.
73
     +There are only minor installer changes since bzr-1.7rc2.
74
     +
75
      bzr 1.7rc2 2008-09-17
76
      ---------------------
77
     
78
     
79
     === modified file 'bzrlib/__init__.py'
80
     --- bzrlib/__init__.py  2008-09-16 21:39:28 +0000
81
     +++ bzrlib/__init__.py  2008-09-23 16:14:54 +0000
82
     @@ -41,7 +41,7 @@
83
      # Python version 2.0 is (2, 0, 0, 'final', 0)."  Additionally we use a
84
      # releaselevel of 'dev' for unreleased under-development code.
85
     
86
     -version_info = (1, 7, 0, 'candidate', 2)
87
     +version_info = (1, 7, 0, 'final', 0)
88
     
89
     
90
      # API compatibility version: bzrlib is currently API compatible with 1.7.
91
      
3997.2.1 by Jelmer Vernooij
Add tagging to the release process.
92
#. Tag the new release::
93
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
94
     bzr tag bzr-1.14
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
95
4152.2.2 by Robert J. Tanner
Updated to releasing.txt based on my experiences as the release manager for
96
#. Push those changes to a bzr reposistory that is public and accessible on
97
   the Internet. PQM will pull from this repository when it attempts to merge
98
   your changes. Then submit those changes to PQM for merge into the
99
   appropriate release branch::
3464.3.6 by Martin Pool
Release process updates
100
 
101
     bzr push
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
102
     bzr pqm-submit -m "(mbp) prepare 1.14"
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
103
104
#. When PQM succeeds, pull down the master release branch.
105
3464.3.6 by Martin Pool
Release process updates
106
3383.2.4 by Martin Pool
Trim from the release instructions things that are now automated or unnecessary
107
Making the source tarball
108
-------------------------
109
3408.1.3 by Martin Pool
More release process updates
110
#. Change into the source directory and run ::
3383.2.4 by Martin Pool
Trim from the release instructions things that are now automated or unnecessary
111
  
112
     make dist
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
113
3778.3.3 by Martin Pool
Build zip file from 'make dist' and document this; also tweak standard announcement mail
114
   This also makes a zip file, which is easier to access on Microsoft
115
   Windows.
116
3408.1.3 by Martin Pool
More release process updates
117
#. Now we'll try expanding this tarball and running the test suite
118
   to check for packaging problems::
119
 
120
     make check-dist-tarball
3383.2.5 by Martin Pool
merge trunk
121
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
122
123
Publishing the release
124
----------------------
125
126
Now you have the releasable product.  The next step is making it
127
available to the world.
128
129
#. In <https://launchpad.net/bzr/> click the "Release series" for this
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
130
   series, to take you to e.g. <https://launchpad.net/bzr/1.14>.  Then
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
131
   click "Register a release", and add information about this release.
132
3778.3.3 by Martin Pool
Build zip file from 'make dist' and document this; also tweak standard announcement mail
133
#. Within that release, upload the source tarball and zipfile and the GPG
134
   signature.  Or, if you prefer, use the
135
   ``tools/packaging/lp-upload-release`` script to do this.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
136
137
#. Link from http://bazaar-vcs.org/Download to the tarball and signature.
138
3778.2.1 by Martin Pool
Updated release process documentation.
139
#. Announce on the `Bazaar home page <http://bazaar-vcs.org/>`_.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
140
3778.2.1 by Martin Pool
Updated release process documentation.
141
#. Check that the documentation for this release is available in 
142
   <http://doc.bazaar-vcs.org>.  It should be automatically build when the 
143
   branch is created, by a cron script ``update-bzr-docs`` on
144
   ``escudero``.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
145
146
147
Announcing the release
148
----------------------
149
150
Now that the release is publicly available, tell people about it.
151
3778.2.1 by Martin Pool
Updated release process documentation.
152
#. Make an announcement mail.
153
154
   For release candidates, this is sent to the ``bazaar-announce`` and
155
   ``bazaar`` lists.  For final releases, it should also be cc'd to 
156
   ``info-gnu@gnu.org``, ``python-announce-list@python.org``, 
3778.2.2 by John Arbash Meinel
Rewrap some doc text, update the diff hunk to be accurate for current NEWS.
157
   ``bug-directory@gnu.org``.  In both cases, it is good to set
158
   ``Reply-To: bazaar@lists.canonical.com``, so that people who reply to
159
   the announcement don't spam other lists.
3778.2.1 by Martin Pool
Updated release process documentation.
160
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.
161
   The announce mail will look something like this::
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
162
   
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.
163
      Subject: bzr x.yy released!
164
      
165
      <<Summary paragraph from news>>
166
     
167
      The Bazaar team is happy to announce availability of a new 
168
      release of the bzr adaptive version control system.
4439.1.6 by Martin Pool
Tweak text about GNU in release template
169
      Bazaar is part of the GNU system <http://gnu.org/>.
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.
170
     
171
      Thanks to everyone who contributed patches, suggestions, and
172
      feedback.
173
      
174
      Bazaar is now available for download from 
175
      http://bazaar-vcs.org/Download as a source tarball; packages 
176
      for various systems will be available soon.
177
      
178
      <<NEWS section from this release back to the last major release>>
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
179
4439.1.1 by Martin Pool
Release mails should mention bzr's a GNU project
180
   Feel free to tweak this to your taste.
181
3815.1.1 by Martin Pool
Add Launchpad announcement to the release process
182
#. Make an announcement through <https://launchpad.net/bzr/+announce>
183
3778.2.2 by John Arbash Meinel
Rewrap some doc text, update the diff hunk to be accurate for current NEWS.
184
#. Update the IRC channel topic. Use the ``/topic`` command to do this,
185
   ensuring the new topic text keeps the project name, web site link, etc.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
186
187
#. Announce on http://freshmeat.net/projects/bzr/
188
   
3778.2.2 by John Arbash Meinel
Rewrap some doc text, update the diff hunk to be accurate for current NEWS.
189
   This should be done for both release candidates and final releases. If
190
   you do not have a Freshmeat account yet, ask one of the existing
191
   admins.
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
192
4144.5.8 by Eric Siegerman
Broken-link fix. (The ")" wasn't being treated as part of the link.)
193
#. Update `<http://en.wikipedia.org/wiki/Bazaar_(software)>`_ -- this should be done
4104.7.1 by Robert J. Tanner
Updated the releasing.html document, adding some documentation on things I had
194
for final releases but not for Release Candidates.
3497.3.1 by Martin Pool
Add note to update GNU directory
195
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
196
#. Update the python package index: <http://pypi.python.org/pypi/bzr> - best
197
   done by running ::
198
199
       python setup.py register
200
201
   Remember to check the results afterwards.
202
3408.1.3 by Martin Pool
More release process updates
203
   To be able to register the release you must create an account on
204
   <http://pypi.python.org/pypi> and have one of the existing owners of
205
   the project add you to the group.
206
3383.2.3 by Martin Pool
Separate out and update the release manager instructions
207
3383.2.5 by Martin Pool
merge trunk
208
Merging the released code back to trunk
209
---------------------------------------
210
211
Merge the release branch back into the trunk.  Check that changes in NEWS
212
were merged into the right sections.  If it's not already done, advance
213
the version number in ``bzr`` and ``bzrlib/__init__.py``.  Submit this
214
back into pqm for bzr.dev.
215
4070.10.2 by Martin Pool
doc to maintain bzr/current branch
216
You should also merge (not pull) the release branch into
217
``lp:~bzr/bzr/current``, so that branch contains the current released code
218
at any time.
219
3383.2.5 by Martin Pool
merge trunk
220
3549.3.1 by Martin Pool
Updated instructions in packaging into the PPA
221
See also
222
--------
223
4070.10.3 by Martin Pool
Small ReST syntax fix
224
* `Packaging into the bzr PPA <ppa.html>`_ to make and publish Ubuntu
225
  packages.
226
* `Bazaar Developer Document Catalog <index.html>`_
227
* `Development cycles <cycle.html>`_: things that happen during the cycle
228
  before the actual release.
3464.3.6 by Martin Pool
Release process updates
229
230
..
3464.3.8 by Martin Pool
Doc updates re PPAs
231
   vim: filetype=rst textwidth=74 ai shiftwidth=4