Merge lp:~jameinel/bzr/2.0-full-version into lp:~bzr-pqm/bzr/2.0.0

Proposed by John A Meinel
Status: Merged
Approved by: Martin Pool
Approved revision: no longer in the source branch.
Merged at revision: not available
Proposed branch: lp:~jameinel/bzr/2.0-full-version
Merge into: lp:~bzr-pqm/bzr/2.0.0
Diff against target: None lines
To merge this branch: bzr merge lp:~jameinel/bzr/2.0-full-version
Reviewer Review Type Date Requested Status
Martin Pool Approve
Review via email: mp+11679@code.launchpad.net
To post a comment you must log in.
Revision history for this message
John A Meinel (jameinel) wrote :

https://code.edge.launchpad.net/~jameinel/bzr/2.0-full-version/+merge/11617

That may be deleted, but the code review summary definitely did *not* have the latest version of my changes.

The basic summary is that it changes

 bzr 2.0

into

 bzr 2.0.0

Which effects things like

 bzr 2.1b1 => 2.1.0b1

It also updates cycle.txt and NEWS, etc for these changes.

This is supposed to land in the 2.0.0 release, so that doing:
  bzr --version

Properly reports 2.0.0 rather than just 2.0.

(And now that we don't have the simple 'Resubmit' option, I really have no clue what the proper hoops I'm supposed to jump through to get the diff to update... :(

Revision history for this message
John A Meinel (jameinel) wrote :

> https://code.edge.launchpad.net/~jameinel/bzr/2.0-full-version/+merge/11617
>
> That may be deleted, but the code review summary definitely did *not* have the
> latest version of my changes.

I guess I should have just rejected it, rather than deleting it, as it seems 'gone for good' now... :(

Sorry for the confusion.

Revision history for this message
Martin Pool (mbp) wrote :

+1, for 2.0.0, 2.0 and trunk. (Or just merge to 2.0.0 and it can get swept into the others later on.)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NEWS'
2--- NEWS 2009-09-10 06:47:42 +0000
3+++ NEWS 2009-09-11 18:28:19 +0000
4@@ -3,10 +3,18 @@
5 ####################
6
7
8-bzr 2.0rc2
9-##########
10-
11-:2.0rc2: 2009-09-10
12+bzr 2.0.0 (Not Released Yet)
13+############################
14+
15+* Officially branded as 2.0.0 rather than 2.0 to clarify between things
16+ that "want to happen on the 2.0.x stable series" versus things that want
17+ to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
18+ micro = 0.) (John Arbash Meinel)
19+
20+bzr 2.0.0rc2
21+############
22+
23+:2.0.0rc2: 2009-09-10
24
25 New Features
26 ************
27@@ -101,11 +109,11 @@
28 and Plugins Guide. (Ian Clatworthy)
29
30
31-bzr 2.0rc1
32-##########
33+bzr 2.0.0rc1
34+############
35
36 :Codename: no worries
37-:2.0rc1: 2009-08-26
38+:2.0.0rc1: 2009-08-26
39
40 This release of Bazaar makes 2a 'brisbane-core' format the
41 default. Most of the work in this release now focuses on bug
42
43=== modified file 'bzrlib/__init__.py'
44--- bzrlib/__init__.py 2009-09-10 06:47:42 +0000
45+++ bzrlib/__init__.py 2009-09-11 18:25:45 +0000
46@@ -65,23 +65,29 @@
47 zero for final releases.
48
49 >>> print _format_version_tuple((1, 0, 0, 'final', 0))
50- 1.0
51+ 1.0.0
52 >>> print _format_version_tuple((1, 2, 0, 'dev', 0))
53- 1.2dev
54+ 1.2.0dev
55+ >>> print bzrlib._format_version_tuple((1, 2, 0, 'dev', 1))
56+ 1.2.0dev1
57 >>> print _format_version_tuple((1, 1, 1, 'candidate', 2))
58 1.1.1rc2
59 >>> print bzrlib._format_version_tuple((2, 1, 0, 'beta', 1))
60- 2.1b1
61+ 2.1.0b1
62 >>> print _format_version_tuple((1, 4, 0))
63- 1.4
64+ 1.4.0
65 >>> print _format_version_tuple((1, 4))
66 1.4
67+ >>> print bzrlib._format_version_tuple((2, 1, 0, 'final', 1))
68+ Traceback (most recent call last):
69+ ...
70+ ValueError: version_info (2, 1, 0, 'final', 1) not valid
71 >>> print _format_version_tuple((1, 4, 0, 'wibble', 0))
72 Traceback (most recent call last):
73 ...
74 ValueError: version_info (1, 4, 0, 'wibble', 0) not valid
75 """
76- if len(version_info) == 2 or version_info[2] == 0:
77+ if len(version_info) == 2:
78 main_version = '%d.%d' % version_info[:2]
79 else:
80 main_version = '%d.%d.%d' % version_info[:3]
81@@ -96,6 +102,8 @@
82 sub_string = ''
83 elif release_type == 'dev' and sub == 0:
84 sub_string = 'dev'
85+ elif release_type == 'dev':
86+ sub_string = 'dev' + str(sub)
87 elif release_type in ('alpha', 'beta'):
88 sub_string = release_type[0] + str(sub)
89 elif release_type == 'candidate':
90@@ -103,7 +111,6 @@
91 else:
92 raise ValueError("version_info %r not valid" % (version_info,))
93
94- version_string = '%d.%d.%d.%s.%d' % tuple(version_info)
95 return main_version + sub_string
96
97
98
99=== modified file 'doc/developers/cycle.txt'
100--- doc/developers/cycle.txt 2009-08-12 06:43:36 +0000
101+++ doc/developers/cycle.txt 2009-09-11 18:25:08 +0000
102@@ -97,12 +97,12 @@
103
104 ::
105
106- 2.0 --- 2.0.1 -- 2.0.2 -- ...
107+ 2.0.0 --- 2.0.1 -- 2.0.2 -- ...
108 \
109- +--2.1beta1 -- 2.1beta2 -- ... -- 2.1rc1 -- 2.1 -- 2.1.1 -- ...
110- \
111- \
112- +-- 3.0beta1 ...
113+ +--2.1.0beta1 -- 2.1.0beta2 -- ... -- 2.1.0rc1 -- 2.1.0 -- 2.1.1 -- ...
114+ \
115+ \
116+ +-- 3.0.0beta1 ...
117
118
119 Starting from the date of a major release:
120@@ -144,26 +144,32 @@
121 ---------
122
123 The number for a six-month cycle is chosen at the start, with an increment
124-to either the first field (3.0) or second field (3.1) depending on what we
125-expect to be the user impact of the release. We expect releases that
126-culminate in a new disk format or that require changes in how people use
127-the tool will get a new major number. We can change (forward only) if it
128-turns out that we land larger changes than were expected.
129+to either the first field (3.0.0) or second field (3.1.0) depending on
130+what we expect to be the user impact of the release. We expect releases
131+that culminate in a new disk format or that require changes in how people
132+use the tool will get a new major number. We can change (forward only) if
133+it turns out that we land larger changes than were expected.
134+
135+We will always use the 3-digit form (major.minor.micro) even when
136+referring to the initial major release. This should help clarify where a
137+patch is intended to land. (eg, "I propose this for 2.0.0" is clear, while
138+"I propose this for 2.0" could mean you want to make the 2.0.0 release, or
139+that you just want to land on the 2.0.x stable release series.)
140
141
142 Terminology
143 -----------
144
145-Major releases (2.0 or 2.1)
146+Major releases (2.0.0 or 2.1.0)
147 The big ones, every six months, intended to ship in distributions and
148 to be used by stability-oriented users.
149
150-Release candidate (2.0rc1)
151+Release candidate (2.0.0rc1)
152 A preview of a major release, made one or a few weeks beforehand at
153 the time the release branch is created. There should be few if any
154 changes from the rc to the stable release. We should avoid the
155- confusing phrasing "release candidate 2.0rc1 is released"; instead use
156- "available."
157+ confusing phrasing "release candidate 2.0.0rc1 is released"; instead
158+ use "available."
159
160 Bugfix releases (2.0.1)
161 Based on the previous major release or bugfix; contains only bugfixes
162@@ -175,7 +181,7 @@
163 Stable release
164 Either a major release or a bugfix release.
165
166-Beta release (3.0beta1)
167+Beta release (3.0.0beta1)
168 Made from trunk every month, except for the month there's a major
169 release. Stable and suitable for users who want the latest code and
170 can live with some changes from month to month.
171@@ -260,7 +266,7 @@
172 Each major release will have one recommended data format which will be the
173 default. The name of the format will indicate which release series (not
174 specific release) it comes from: '2a' is the first supported format for
175-the 2.0 series, '2b' the second, etc. We don't mention the particular
176+the 2.0.x series, '2b' the second, etc. We don't mention the particular
177 release that introduced it so as to avoid problems predicting precisely
178 when it will land.
179
180@@ -321,9 +327,10 @@
181 only the stable releases. This is probably better than having them only
182 intermittently or slowly ship the monthly releases.
183
184-Binary installers should use a version number like '2.0-1' or '2.0beta1-1'
185-so that the last component just reflects the packaging version, and can be
186-incremented if a new installer is made with no upstream source changes.
187+Binary installers should use a version number like '2.0.0-1' or
188+'2.0.0beta1-1' so that the last component just reflects the packaging
189+version, and can be incremented if a new installer is made with no
190+upstream source changes.
191
192
193 Code Freeze vs Announcement

Subscribers

People subscribed via source and target branches

to all changes: