/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/developers/releasing.txt

  • Committer: Robert Collins
  • Date: 2009-05-23 20:57:12 UTC
  • mfrom: (4371 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4441.
  • Revision ID: robertc@robertcollins.net-20090523205712-lcwbfqk6vwavinuv
MergeĀ .dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#. Make a local branch for preparing this release.  (Only for the first 
18
18
   release in a series, otherwise you should already have a branch.) ::
19
19
 
20
 
     bzr branch trunk prepare-1.6
 
20
     bzr branch trunk prepare-1.14
 
21
 
 
22
#. Download the pqm plugin and install it into your ``~/.bazaar/plugins``::
 
23
 
 
24
     bzr branch lp:bzr-pqm ~/.bazaar/plugins/pqm
21
25
 
22
26
#. Configure pqm-submit for this branch, with a section like this in
23
27
   ``~/.bazaar/locations.conf``::
24
28
 
25
 
        [/home/mbp/bzr/prepare-1.4]
 
29
        [/home/mbp/bzr/prepare-1.14]
26
30
        pqm_email = Canonical PQM <pqm@bazaar-vcs.org>
27
 
        submit_branch = http://bazaar-vcs.org/bzr/bzr.1.4
 
31
        submit_branch = http://bazaar-vcs.org/bzr/bzr.1.14
 
32
        public_branch = http://bazaar.your-domain.com/bzr
28
33
        submit_to = bazaar@lists.canonical.com
29
 
 
30
 
#. In the release branch, update  ``version_info`` in
31
 
   ``./bzrlib/__init__.py``.  Check the output of ``bzr --version``.
 
34
        smtp_server = mail.your-domain.com:25
 
35
 
 
36
    Please see <http://doc.bazaar-vcs.org/latest/developers/HACKING.html#an-overview-of-pqm>
 
37
    for more details on PQM
 
38
 
 
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``. 
32
42
 
33
43
#. Add the date and release number to ``./NEWS``
34
44
 
41
51
 
42
52
#. Commit these changes to the release branch, using a command like::
43
53
    
44
 
     bzr commit -m "Release 0.12rc1." 
 
54
     bzr commit -m "Release 1.14." 
45
55
   
46
56
   The diff before you commit will be something like::
47
57
 
81
91
      
82
92
#. Tag the new release::
83
93
 
84
 
     bzr tag bzr-1.12rc1 
 
94
     bzr tag bzr-1.14
85
95
 
86
 
#. Submit those changes to PQM for merge into the appropriate release
87
 
   branch::
 
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::
88
100
 
89
101
     bzr push
90
 
     bzr pqm-submit -m "(mbp) prepare 1.6"
 
102
     bzr pqm-submit -m "(mbp) prepare 1.14"
91
103
 
92
104
#. When PQM succeeds, pull down the master release branch.
93
105
 
115
127
available to the world.
116
128
 
117
129
#. In <https://launchpad.net/bzr/> click the "Release series" for this
118
 
   series, to take you to e.g. <https://launchpad.net/bzr/1.1>.  Then
 
130
   series, to take you to e.g. <https://launchpad.net/bzr/1.14>.  Then
119
131
   click "Register a release", and add information about this release.
120
132
 
121
133
#. Within that release, upload the source tarball and zipfile and the GPG
175
187
   you do not have a Freshmeat account yet, ask one of the existing
176
188
   admins.
177
189
 
178
 
#. Update http://en.wikipedia.org/wiki/Bzr -- this should be done for
179
 
   final releases but not for Release Candidates.
 
190
#. Update `<http://en.wikipedia.org/wiki/Bazaar_(software)>`_ -- this should be done
 
191
for final releases but not for Release Candidates.
180
192
 
181
193
#. Update the python package index: <http://pypi.python.org/pypi/bzr> - best
182
194
   done by running ::
198
210
the version number in ``bzr`` and ``bzrlib/__init__.py``.  Submit this
199
211
back into pqm for bzr.dev.
200
212
 
 
213
You should also merge (not pull) the release branch into
 
214
``lp:~bzr/bzr/current``, so that branch contains the current released code
 
215
at any time.
 
216
 
201
217
 
202
218
See also
203
219
--------
204
220
 
205
 
 * `Packaging into the bzr PPA <ppa.html>`_ to make and publish Ubuntu
206
 
   packages.
207
 
 * `Bazaar Developer Document Catalog <index.html>`_
208
 
 * `Development cycles <cycle.html>`_: things that happen during the cycle
209
 
   before the actual release.
210
 
 
 
221
* `Packaging into the bzr PPA <ppa.html>`_ to make and publish Ubuntu
 
222
  packages.
 
223
* `Bazaar Developer Document Catalog <index.html>`_
 
224
* `Development cycles <cycle.html>`_: things that happen during the cycle
 
225
  before the actual release.
211
226
 
212
227
..
213
228
   vim: filetype=rst textwidth=74 ai shiftwidth=4