Merge lp:~vila/bzr/rm-tweaks into lp:bzr

Proposed by Vincent Ladeuil
Status: Merged
Approved by: Martin Packman
Approved revision: no longer in the source branch.
Merged at revision: 6492
Proposed branch: lp:~vila/bzr/rm-tweaks
Merge into: lp:bzr
Diff against target: 148 lines (+42/-24)
1 file modified
doc/developers/releasing.txt (+42/-24)
To merge this branch: bzr merge lp:~vila/bzr/rm-tweaks
Reviewer Review Type Date Requested Status
Martin Packman (community) Approve
Review via email: mp+96557@code.launchpad.net

Commit message

More releasing instructions updates from 2.5.0 release.

Description of the change

Update releasing instructions including more details about doc.bazaar.canonical.com when doing the first stable release in a new series.

To post a comment you must log in.
Revision history for this message
Martin Packman (gz) wrote :

Updates look good.

+ introduction and mentions the date of this first release and until when

That should be 'mention', and having two ands is a sign the sentence needs splitting to be readable.

review: Approve
Revision history for this message
Vincent Ladeuil (vila) wrote :

@gz: Thanks, I became a bit ... annoyed at piling up forgotten details ;)

Fixed.

Revision history for this message
Vincent Ladeuil (vila) wrote :

sent to pqm by email

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/developers/releasing.txt'
2--- doc/developers/releasing.txt 2012-01-18 10:29:50 +0000
3+++ doc/developers/releasing.txt 2012-03-12 08:17:19 +0000
4@@ -138,6 +138,7 @@
5 cp template.txt bzr-x.y.txt # e.g. bzr-2.6.txt
6 bzr add bzr-x.y.txt
7
8+#. Update ``doc/en/index.txt`` to point to the new whats-new file.
9
10 At the start of a release cycle
11 ===============================
12@@ -207,8 +208,8 @@
13 found at <https://launchpad.net/bzr/+milestone/x.y.z>.
14
15 #. Merge into your branch all previous stable series fixes that haven't been
16- merged yet. For example, if you're releasing 2.5.x, make sure the fixes
17- on 2.4, 2.3, etc have already been merged up::
18+ merged yet. For example, if you're releasing 2.6.x, make sure the fixes
19+ on 2.5, 2.4, 2.3, etc have already been merged up::
20
21 bzr merge lp:bzr/2.4
22
23@@ -225,33 +226,42 @@
24
25 For beta releases use::
26
27- version_info = (2, 5, 0, 'beta', SERIAL)
28-
29- For instance 2.5b5::
30-
31- version_info = (2, 5, 0, 'beta', 5)
32+ version_info = (2, 6, 0, 'beta', SERIAL)
33+
34+ For instance 2.6b1::
35+
36+ version_info = (2, 6, 0, 'beta', 1)
37
38 For stable releases use::
39
40- version_info = (2, 5, 0, 'final', 0)
41+ version_info = (2, 6, 0, 'final', 0)
42
43 #. Update the ``./doc/en/release-notes/`` section for this release.
44
45 Check that all news entries related to this release have been added in
46- the right section. For example, if you're releasing 2.5b5, the following
47- command should display a a single chuk diff for the 2.5b5 release::
48+ the right section. For example, if you're releasing 2.6b1, the following
49+ command should display a a single chuk diff for the 2.6b1 release::
50
51- bzr diff -rbzr-2.5b4.. doc/en/release-notes/bzr-2.5.txt
52+ bzr diff -rbzr-2.6b1.. doc/en/release-notes/bzr-2.6.txt
53
54 Fill out the date and a description of the release under the existing
55 header (the diff above will help you summarizing). If there isn't one,
56 follow the instructions above for using the ``release-template.txt`` file
57 and remind people that they should document their changes there ;)
58
59- See *2.5b5* or similar for an example of what this looks like.
60+ See *2.6b1* or similar for an example of what this looks like.
61
62 #. Add or check the summary of the release into the "What's New" document.
63
64+ If this is the first release in a new series make sure to update the
65+ introduction mentioning:
66+
67+ * the date of this first release,
68+ * until when the series is expected to be supported.
69+
70+ Looking at ``bzr annotate`` for previous series should give you the right
71+ hints. The ``doc/en/_templates/index.html`` file should also be updated.
72+
73 #. To check that all bugs mentioned in the release notes are actually
74 marked as closed in Launchpad, you can run
75 ``tools/check-newsbugs.py``::
76@@ -352,7 +362,7 @@
77
78 #. Tag the new release::
79
80- bzr tag bzr-2.3.1
81+ bzr tag bzr-2.6.0
82
83 #. Push those changes to a bzr branch that is public and accessible on the
84 Internet. PQM will pull from this branch when it attempts to merge your
85@@ -360,7 +370,7 @@
86 release branch::
87
88 bzr push
89- bzr pqm-submit -m "(vila) Release 2.3.1 (Vincent Ladeuil)"
90+ bzr pqm-submit -m "(vila) Release 2.6.0 (Vincent Ladeuil)"
91
92 Note that ``bzr push`` should mention updating one tag (which you just
93 created). If it doesn't, double-check that you created (and pushed) this
94@@ -517,7 +527,7 @@
95 control the process as tightly so guessing the date is not appropriate.
96
97 For the final beta release include in your announcement a notice of
98- API and translation freezes nothing that public methods should not
99+ API and translation freezes noting that public methods should not
100 be removed or changed and strings should not be added or changed.
101
102 #. Pause for a few days.
103@@ -527,7 +537,7 @@
104 ----------------------
105
106 There is normally a delay of a few days after the source freeze to allow
107-for binaries to be built on various platforms. Once they have been built,
108+for binaries to be built for various platforms. Once they have been built,
109 we have a releasable product. The next step is to make it generally
110 available to the world.
111
112@@ -538,10 +548,22 @@
113 pushed to this branch are refreshed by a cron job on escudero.)
114
115 #. Check that the documentation for this release is available in
116- <http://doc.bazaar.canonical.com>. It should be automatically build when the
117- branch is created, by a cron script ``update-bzr-docs`` on
118- ``escudero``.
119-
120+ <http://doc.bazaar.canonical.com>. It should be automatically build when
121+ the branch is created, by a cron script ``update-bzr-docs`` on
122+ ``escudero``. When the first release is created in a new series, a branch
123+ needs to be created on escudero::
124+
125+ ssh escudero.canonical.com
126+ sudo -u bzr-web -s
127+ cd /srv/doc.bazaar.canonical.com/
128+ bzr branch http://bazaar.launchpad.net/~bzr-pqm/bzr/2.5 bzr.2.5
129+
130+ And the ``update-bzr-docs`` needs to refer to it.
131+
132+ The ``lp:bzr-alldocs`` branch also needs to be updated when a new series
133+ is introduced, see the ``README`` file there for more instructions
134+ (looking at the branch history is also a good way to understand what
135+ needs to be done and to document any policy changes).
136
137 Announcing the release
138 ----------------------
139@@ -615,10 +637,6 @@
140 series, create these links again. Check all links when doing other
141 kinds of release.
142
143- * Set direct download: When releasing a new stable release, this should
144- point to the corresponding launchpad page:
145- <https://launchpad.net/bzr/x.y/x.y.z/>
146-
147 #. Update `<http://en.wikipedia.org/wiki/Bazaar_(software)>`_ -- this should
148 be done for the stable and beta releases.
149