/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
4439.1.5 by Martin Pool
Bug process docs
1
***********************
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
2
Tracking Bugs in Breezy
4439.1.5 by Martin Pool
Bug process docs
3
***********************
4439.1.4 by Martin Pool
Start cleaning up docs on bugs and release process
4
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
5
This document describes the bug-tracking processes for developing Breezy
6
itself.  Bugs in Breezy are recorded in Launchpad.
4439.1.5 by Martin Pool
Bug process docs
7
4439.1.4 by Martin Pool
Start cleaning up docs on bugs and release process
8
9
See also:
10
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
11
* `Breezy Developer Documents <index.html>`_.
12
13
* `The Breezy Development Cycle <cycle.html>`_.
14
15
* `The Breezy User Guide <../en/user-guide/index.html>`_ -- for
16
  information on integrating Breezy with other bug trackers.
4439.1.4 by Martin Pool
Start cleaning up docs on bugs and release process
17
4439.1.5 by Martin Pool
Bug process docs
18
19
Links
20
*****
21
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
22
* `Breezy bugs home page <https://bugs.launchpad.net/brz>`_.
23
24
* `Critical bugs <https://bugs.launchpad.net/brz/+bugs?search=Search&field.importance=Critical&field.status=New&field.status=Incomplete&field.status=Confirmed&field.status=Triaged&field.status=In+Progress&field.status=Fix+Committed>`_.
25
26
* `Open bugs by importance <https://bugs.launchpad.net/brz/+bugs>`_.
4439.1.5 by Martin Pool
Bug process docs
27
28
* `Open bugs most recently changed first
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
29
  <https://bugs.launchpad.net/brz/+bugs?field.searchtext=&orderby=-date_last_updated&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=>`_.
4439.1.5 by Martin Pool
Bug process docs
30
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
31
* `Most commonly duplicated bugs <http://tinyurl.com/brz-bugs-by-dupes>`_.
5037.2.2 by Martin Pool
Link to commonly-duped bugs
32
4439.1.5 by Martin Pool
Bug process docs
33
34
Generalities
35
************
36
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
37
Anyone involved with Breezy is welcome to contribute to managing our bug
4439.1.5 by Martin Pool
Bug process docs
38
reports.  **Edit boldly**: try to help users out, assess importance or improve
39
the bug description or status.  Other people will see the bugs: it's
40
better to have 20 of them processed and later change the status of a
41
couple than to leave them lie.
42
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
43
When you file a bug as a Breezy developer or active user, if you feel
4439.1.5 by Martin Pool
Bug process docs
44
confident in doing so, make an assessment of status and importance at the
45
time you file it, rather than leaving it for someone else.  It's more
5819.1.3 by Jonathan Riddell
incorrect apostrophe
46
efficient to change the importance if someone else feels it's higher or
4439.1.5 by Martin Pool
Bug process docs
47
lower, than to have someone else edit all bugs.
48
49
It's more useful to actually ship bug fixes than to garden the bug
50
database.  It's more useful to take one bug through to a shipped fix than
51
to partially investigate ten bugs.  You don't get credit for a bug until
52
the fix is shipped in a release.  Users like getting a response to their
53
report, but they generally care more about getting bugs fixed.
54
55
The aim of investigating bugs before starting concentrated work on them is
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
56
therefore only to:
4439.1.5 by Martin Pool
Bug process docs
57
58
* determine if they are critical or high priority (and
59
  should displace existing work)
60
61
* garden sufficiently to keep the database usable: meaningful summaries,
62
  and duplicates removed
63
64
It's OK to fix some bugs that just annoy you, even if they're not
65
rationally high.
66
67
You can use ``--fixes lp:12345678`` when committing to associate the
68
commit with a particular bug.
69
70
If there are multiple bugs with related fixes, putting "[master]" in the
71
title of one of them helps find it
72
73
It's often fastest to find bugs just using the regular Google search
74
engine, rather than Launchpad's search.
75
76
Martin Pitt says:
77
78
 | One of the things you should not do often is to start asking
79
 | questions/for more debug info and then forget about the bug. It's just
80
 | a waste of the reporter's and your time, and will create frustration
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
81
 | on the reporter side.
4439.1.5 by Martin Pool
Bug process docs
82
83
84
Priorities
85
**********
86
87
The suggested priorities for bug work are:
88
89
1. Fix critical bugs.
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
90
4439.1.5 by Martin Pool
Bug process docs
91
2. Get existing fixes through review and landed.
92
93
3. Fix bugs that are already in progress.
94
95
4. Look at bugs already assigned to you, and either start them, or change
96
   your mind and unassign them.
97
98
5. Take new bugs from the top of the stack.
99
100
6. Triage new bugs.
101
102
It's not strict and of course there is personal discretion but our work
103
should be biased to the top of this hierarchy.
104
105
106
Clear Bugs
107
**********
108
109
Bugs should have clear edges, so that you can make a clear statement about
110
whether a bug is fixed or not.  (Sometimes reality is complicated, but aim
111
for each bug to be clear.)
112
113
Bugs on documentation, performance, or UI are fine as long as they're
114
clear bugs.
115
116
Examples of good bugs:
117
118
* "ValueError in frob_foo when committing changed symlink" - although
119
  there may be many possible things that could cause a ValueError there,
120
  you should at least know when you've fixed the problem described in this
121
  bug.
122
123
* "Unclear message about incompatible repositories" - even though the user
124
  may not agree the new message is sufficiently clear, at least you know
125
  when you've tried to fix it.
126
127
Examples of bad bugs:
128
129
* "Commit is too slow" - how fast is fast enough to close it?  "Commit
130
  reads the working tree twice" is clearer.
131
132
133
Bug Status
134
**********
135
136
New
137
    The bug has just been filed and hasn't been examined by a developer
138
    yet.
139
Incomplete
140
    The bug requires more information from the reporter to make progress.
4948.1.1 by Martin Pool
Update bug handling doc to deprecate fixcommitted and to explain other states better
141
142
    Only set this state if it's impossible or uneconomical to make
143
    progress on the bug without that information.  The bug will expire if
144
    it remains in this state for two months.
4439.1.5 by Martin Pool
Bug process docs
145
Confirmed
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
146
    This bug has been confirmed by at least one other person (developer or otherwise).
147
Triaged
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
148
    The bug report has been seen by a developer and we agree it's a bug.
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
149
    You don't have to reproduce the bug to mark it Triaged.  (Generally
4439.1.5 by Martin Pool
Bug process docs
150
    it's not a good idea for a developer to spend time reproducing the bug
151
    until they're going to work on it.)
152
In Progress
4948.1.1 by Martin Pool
Update bug handling doc to deprecate fixcommitted and to explain other states better
153
    Someone has started working on this.  We can deliver the value of the
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
154
    work already done by finishing and shipping the fix.
155
4948.1.1 by Martin Pool
Update bug handling doc to deprecate fixcommitted and to explain other states better
156
    The bug keeps this state from the time someone does non-trivial
157
    analysis, until the fix is merged to a release or trunk branch (when
158
    it is Fix Released), or until they give up on it (back to New or
159
    Confirmed) or decide it is Invalid or Incomplete.
4439.1.5 by Martin Pool
Bug process docs
160
Won't Fix
161
    The behaviour complained about is intentional and we won't fix it.
162
    Needless to say, be thoughtful before using this status, and consider if
163
    the user experience can be improved in some other way.
164
Invalid
165
    The reporter was confused, and this is not actually a bug.
166
    Again, be sensitive in explaining this to the user.
167
Fix Committed
4948.1.1 by Martin Pool
Update bug handling doc to deprecate fixcommitted and to explain other states better
168
    Don't use this.  If set on old bug, it probably means In Progress,
169
    with the fix waiting for review.  See Launchpad `bug 163694`_.
4439.1.5 by Martin Pool
Bug process docs
170
Fix Released
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
171
    The fix for this bug is now in the Breezy branch that this task is for.
172
    The branch for the default task on a bug is trunk.
173
4948.1.1 by Martin Pool
Update bug handling doc to deprecate fixcommitted and to explain other states better
174
    We use this value even though the fix may not have been been included
175
    in a release yet because all the developer activity around it is
176
    complete and we want to both avoid bug spam when releases happen, and
177
    keep the list of bugs that developers see when they look at the bug
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
178
    tracker trimmed to those that require action.
179
4948.1.1 by Martin Pool
Update bug handling doc to deprecate fixcommitted and to explain other states better
180
    When setting a bug task to fix released, the bug target milestone
181
    should be set to the release the fix will be included in (or was
182
    included in, if you are updating an old bug). Don't spend too much
183
    time updating this if you don't immediately know: its not critical
184
    that it be set.
185
5819.1.2 by Jonathan Riddell
remove references to old codename Malone
186
.. _`bug 163694`: https://bugs.launchpad.net/launchpad/+bug/163694
4439.1.5 by Martin Pool
Bug process docs
187
188
189
Bug Importance
190
**************
191
192
Critical
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
193
    This is a serious bug that could cause data loss, stop Breezy being
4439.1.5 by Martin Pool
Bug process docs
194
    usable in an important case, or represents a regression in something
195
    previously working.  We should fix critical bugs before doing other
196
    work, or seriously consider whether the bug is really critical
197
    or whether the other change is more urgent.
198
High
199
    This is a bug that can seriously interfere with people's use of
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
200
    Breezy.  We should seriously consider fixing these bugs before
4439.1.5 by Martin Pool
Bug process docs
201
    working on new features.
202
Medium
203
    A regular bug.  We'd like to fix them, but there may be a long delay.
204
Low
205
    Something suboptimal that may affect an unimportant case or have a
206
    fairly easy workaround.
207
Wishlist
208
    These will basically never get done.
209
210
Bugs rated Medium or lower are unlikely to get fixed unless they either
211
pique the interest of a developer or are escalated due eg to many users
212
being affected.
213
214
Not every existing bug is correctly rated according to this scale, and we
215
don't always follow this process, but we'd like to do it more.  But
216
remember, fixing bugs is more helpful than gardening them.
217
218
219
Assignment
220
**********
221
222
Assigning a bug to yourself, or someone else, indicates a real intention
223
to work on that bug soon.
224
225
226
Targetting Bugs
227
***************
228
229
It's possible to target a bug to a milestone, eg
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
230
<https://bugs.launchpad.net/brz/+milestone/1.16>.  We use this to help the
4675.2.1 by Robert Collins
Milestones language tightning, internal consistency.
231
release manager know what **must** be merged to make the release.
4439.1.5 by Martin Pool
Bug process docs
232
233
Therefore, we don't target bugs that we'd like to have fixed or that could
234
be fixed in a particular release, we only target bugs that must be fixed
4675.2.1 by Robert Collins
Milestones language tightning, internal consistency.
235
and that will cause us to slip the release if they're not fixed.  At any time,
4675.2.3 by Robert Collins
Review feedback.
236
very few if any of the bugs targeted to a release should be still open.  By
4675.2.1 by Robert Collins
Milestones language tightning, internal consistency.
237
definition, these bugs should normally be Critical priority.
4439.1.5 by Martin Pool
Bug process docs
238
239
240
Backports
241
*********
242
243
Sometimes we'll want to make a special point-release update (eg 1.15.1)
244
off an already-released branch including a fix for a particular bug.  To
245
represent this, create a new bug task (ie link in the status table on the
246
bug page) by clicking the `poorly-named
247
<https://bugs.launchpad.net/bugs/132733>`_ "Target to Release" link.
4675.2.1 by Robert Collins
Milestones language tightning, internal consistency.
248
Target it to the appropriate series (ie 1.15). If the bug should also
249
prevent any point releases of that series then you should also target the
250
new task to the appropriate milestone within that release. (See Targeting Bugs
251
above)
4439.1.5 by Martin Pool
Bug process docs
252
253
This bug task then has a separate status and importance to indicate the
254
separate work to get it into that release.
255
256
5819.1.4 by Jonathan Riddell
NEWS file no longer user
257
Release Notes
4439.1.5 by Martin Pool
Bug process docs
258
*************
259
5819.1.4 by Jonathan Riddell
NEWS file no longer user
260
Most bugs that are fixed should be mentioned in the `Release Notes
261
<../en/release-notes/>`_ for the forthcoming version,
4439.1.5 by Martin Pool
Bug process docs
262
including the bug number.
263
(Exceptions might be bugs that are not at all user visible.)
264
265
266
Tags
267
****
268
5819.1.2 by Jonathan Riddell
remove references to old codename Malone
269
Here are some bug tags we use.  In Launchpad Bugs tags are currently of limited use, so don't feel obliged to tag bugs unless you're finding it useful.
4439.1.5 by Martin Pool
Bug process docs
270
271
272
authentication
273
    authenticating to servers
274
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
275
backport
4439.1.5 by Martin Pool
Bug process docs
276
    candidate for backporting to an update of the previous release
277
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
278
dirstate
4439.1.5 by Martin Pool
Bug process docs
279
    WorkingTree4
280
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
281
easy
4439.1.5 by Martin Pool
Bug process docs
282
    should be possible to finish in an hour or two
283
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
284
hpss
4439.1.5 by Martin Pool
Bug process docs
285
    bugs about the High-Performance Smart Server, i.e. bzr+ssh://, etc.
286
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
287
hpssvfs
4543.1.1 by Andrew Bennetts
Document hpssvfs tag.
288
    bugs for causes of VFS methods of the smart server
289
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
290
launchpad
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
291
    bugs about interactions with launchpad (typically this means breezy.plugins.launchpad).
4439.1.5 by Martin Pool
Bug process docs
292
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
293
locale
4439.1.5 by Martin Pool
Bug process docs
294
    problems using locales other than English
295
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
296
memory
4439.1.5 by Martin Pool
Bug process docs
297
    problems where we use too much memory for some reason
298
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
299
newformat
4439.1.5 by Martin Pool
Bug process docs
300
    fixing this would need a new disk format
301
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
302
performance
4439.1.5 by Martin Pool
Bug process docs
303
    bugs about performance problems.
304
5264.2.2 by Robert Collins
Added ``regression`` tag to our tags list. (Robert Collins)
305
regression
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
306
    bugs which represent an aspect of Breezy becoming accidentally less good than it was.
5264.2.2 by Robert Collins
Added ``regression`` tag to our tags list. (Robert Collins)
307
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
308
test
4439.1.5 by Martin Pool
Bug process docs
309
    needs changes to the test framework
310
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
311
transport
5538.2.1 by Zearin
Fixed capitalization of XML and HTTP. Fixed by hand and only where appropriate (e.g., left http://some/url lowercase, but capitalized "When making an HTTP request…").
312
    virtual filesystem for HTTP, SFTP, etc.
4439.1.5 by Martin Pool
Bug process docs
313
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
314
trivial
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
315
    should be very easy to fix (10-20 minutes) and easily landed: typically
4797.76.10 by Vincent Ladeuil
Fix the edge references in the doc
316
    just spelling errors and the like
4439.1.5 by Martin Pool
Bug process docs
317
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
318
ui
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
319
    bugs relating to the Breezy user interface, e.g. confusing error messages.
4439.1.5 by Martin Pool
Bug process docs
320
4853.1.1 by Patrick Regan
Removed trailing whitespace from files in doc directory
321
win32
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
322
    bugs that mainly affects Windows. Also there is cygwin and win98 tags for
4797.76.10 by Vincent Ladeuil
Fix the edge references in the doc
323
    marking specific bugs.
4439.1.5 by Martin Pool
Bug process docs
324
325
You can see the full list of tags in use at
6803.1.1 by Jelmer Vernooij
Bunch of developer docs changes:
326
<https://bugs.launchpad.net/brz/+bugs>.  As of September 2008 the
327
list is on the right.
4439.1.5 by Martin Pool
Bug process docs
328
4439.1.4 by Martin Pool
Start cleaning up docs on bugs and release process
329
.. vim: ft=rst