]> code.delx.au - gnu-emacs-elpa/blob - packages/debbugs/debbugs-ug.info
1529d64b0ab153284bee82c5f503475182a9f693
[gnu-emacs-elpa] / packages / debbugs / debbugs-ug.info
1 This is debbugs-ug.info, produced by makeinfo version 5.0 from
2 debbugs-ug.texi.
3
4 Copyright (C) 2015 Free Software Foundation, Inc.
5
6 Permission is granted to copy, distribute and/or modify this
7 document under the terms of the GNU Free Documentation License,
8 Version 1.2 or any later version published by the Free Software
9 Foundation; with no Invariant Sections, with the Front-Cover, or
10 Back-Cover Texts. A copy of the license is included in the section
11 entitled "GNU Free Documentation License" in the Emacs manual.
12
13 This document is part of a collection distributed under the GNU
14 Free Documentation License. If you want to distribute this
15 document separately from the collection, you can do so by adding a
16 copy of the license to the document, as described in section 6 of
17 the license.
18
19 All Emacs Lisp code contained in this document may be used,
20 distributed, and modified without restriction.
21 INFO-DIR-SECTION Emacs
22 START-INFO-DIR-ENTRY
23 * Debbugs UG: (debbugs-ug). Debbugs User Interface in Emacs.
24 END-INFO-DIR-ENTRY
25
26 \1f
27 File: debbugs-ug.info, Node: Top, Next: Retrieving Bugs, Up: (dir)
28
29 Debbugs User Guide
30 ******************
31
32 Debbugs is a bugtracking system (BTS) that was initially written for the
33 Debian project but currently used also by the GNU project. The main
34 distinctive feature of Debbugs is that it's mostly email-based. All
35 actions on bug reports: opening, closing, changing the status,
36 commenting, forwarding are performed via email by sending specially
37 composed letters to the particular mail addresses. However, searching
38 the bug reports, querying bug report status and viewing comments have
39 been web-based for a long time. To overcome this inconvenience the
40 Debbugs/SOAP service was introduced.
41
42 Based on the Debbugs/SOAP service, frontends are written which offer
43 handling of bugs inside Emacs. These frontends are restricted to the
44 GNU Debbugs server. Bugs are presented either as tabulated list
45 ('debbugs-gnu') or as 'org-mode' TODO list ('debbugs-org', *note Org
46 Mode: (org)Top.). As backend they use the 'debbugs' Emacs library
47 (*note Debbugs Programmer's Manual: (debbugs)Top.).
48
49 * Menu:
50
51 * Retrieving Bugs:: How to retrieve bugs.
52 * Searching Bugs:: How to search in the debbugs database.
53 * Layout:: How to results are presented.
54
55 * Command Index:: Debbugs commands.
56 * Variable Index:: User options and variables.
57 * Key Index:: Keyboard strokes on bug report buffers.
58
59 \1f
60 File: debbugs-ug.info, Node: Retrieving Bugs, Next: Searching Bugs, Prev: Top, Up: Top
61
62 1 Retrieving Bugs
63 *****************
64
65 Bugs are retrieved by the 'debbugs-gnu' or 'debbugs-org' commands. In
66 their simple version, they retrieve just bugs for the '"emacs"' package
67 on the GNU Debbugs server, filtered by bug severities. Further
68 filtering is possible when the commands are called with a prefix.
69
70 When the bug numbers to be retrieved are known, the commands
71 'debbugs-gnu-bugs' or 'debbugs-org-bugs' are applicable.
72
73 -- Command: debbugs-gnu severities &optional packages archivedp
74 suppress tags
75 -- Command: debbugs-org severities &optional packages archivedp
76 suppress tags
77
78 These commands retrieve bug reports from the GNU Debbugs server.
79 'debbugs-gnu' returns a tabulated list, and 'debbugs-org' returns a
80 list of TODO items in 'org-mode'. If there were more than
81 'debbugs-gnu-default-hits-per-page' bug results from the query,
82 there are widgets ('debbugs-gnu') or links ('debbugs-org') in the
83 result buffer for retrieving the other results.
84
85 SEVERITIES is a list of strings which filter for the severities of
86 the bugs to be retrieved. Valid severities are '"serious"',
87 '"important"', '"normal"', '"minor"' and '"wishlist"' (see also the
88 constant 'debbugs-gnu-all-severities'). If the list is empty,
89 there is no filtering with respect to severities. The keyword
90 '"tagged"', which is also possible, is not a severity in the GNU
91 Debbugs server but allows to restrict the result to bugs with a
92 given user tag.
93
94 PACKAGES, also a list of strings, point to the defined software
95 packages on the GNU Debbugs server which shall be taken into
96 account. The existing package names are compiled into the constant
97 'debbugs-gnu-all-packages'.
98
99 ARCHIVEDP, if non-'nil', extends the result also on archived bugs
100 on the GNU Debbugs server.
101
102 SUPPRESS shall also distinct between 'nil' and non-'nil'. When
103 non-'nil', closed bugs are suppressed from the results.
104
105 When SEVERITIES contains the severity '"tagged"', TAGS is consulted
106 in order to restrict the result on bugs which are tagged with one
107 of the strings of the list TAGS. This list can also be empty; in
108 this case locally tagged bugs are included into the results.
109
110 Called interactively, the commands require just the SEVERITIES and
111 the TAGS (if SEVERITIES includes '"tagged"'). In order to provide
112 the other arguments interactively, the commands must be called with
113 a prefix, like 'C-u M-x debbugs-gnu'. In the minibuffer, lists
114 must be entered comma-separated.
115
116 Default values for interactive use could be configured in the
117 customer options 'debbugs-gnu-default-severities' and
118 'debbugs-gnu-default-packages'.
119
120 When the result would exceed more than 500 bugs, the user is asked
121 how many bugs to retrieve at once. This value can be configured in
122 the customer option 'debbugs-gnu-default-hits-per-page'. However,
123 it is not recommended to exceeds the default value.
124
125 *note Layout:: for the presentation of the results.
126
127 -- Command: debbugs-gnu-bugs &rest bugs
128 -- Command: debbugs-org-bugs &rest bugs
129
130 The commands 'debbugs-gnu-bugs' and 'debbugs-org-bugs' show bugs
131 specified by their bug number. Interactively, the bug numbers must
132 be entered as comma-separated list.
133
134 *note Layout:: for the presentation of the results.
135
136 \1f
137 File: debbugs-ug.info, Node: Searching Bugs, Next: Layout, Prev: Retrieving Bugs, Up: Top
138
139 2 Searching in the Debbugs Database.
140 ************************************
141
142 The GNU Debbugs server allows full text search in the database. It uses
143 a HyperEstraier based search engine
144 (http://fallabs.com/hyperestraier/uguide-en.html#searchcond)(1).
145
146 -- Command: debbugs-gnu-search
147 -- Command: debbugs-org-search
148
149 These both commands are completely interactive. They ask for a
150 '"search phrase"' for the full text search. It is just a string
151 which contains the words to be searched for, combined by operators
152 like AND, ANDNOT and OR. If there is no operator between the words,
153 AND is used by default.
154
155 Wild card searches are also supported. It can be used for forward
156 match search and backward match search. For example, "[BW] euro"
157 matches words which begin with "euro". "[EW] shere" matches words
158 which end with "sphere". Moreover, regular expressions are also
159 supported. For example, "[RX] ^inter.*al$" matches words which
160 begin with "inter" and end with "al".(2)
161
162 While the words to be searched for are case insensitive, the
163 operators must be specified case sensitive.
164
165 While the search for the phrase is performed only in the bodies of
166 the messages belonging to a bug report, it is also possible to
167 discriminate the search to further bug attributes. The commands
168 ask for such key-value pairs, until an empty key is returned.
169 Possible attributes are
170
171 'severity'
172 A comma-separated list of bug severities, *Note Retrieving
173 Bugs::.
174
175 'package'
176 A comma-separated list of defined software packages on the GNU
177 Debbugs server, *Note Retrieving Bugs::.
178
179 'tags'
180 A comma-separated list of defined user tags.
181
182 'submitter'
183 The address of the bug submitter.
184
185 'date'
186 A time period the bug has been in which the bug has been
187 submitted or modified.
188
189 'subject'
190 Word(s) the subject of the bug report contains.
191
192 'status'
193 The status of the bug report. Valid values are "done",
194 "forwarded" and "open".
195
196 It is also possible to apply these commands with an empty search
197 phrase. In this case, the GNU Debbugs server is searched only for
198 bugs which fulfill the given attributes. The attributes to be
199 applied are the same as already described, plus
200
201 'archive'
202 Whether archived bugs shall be searched (no value to be
203 entered).
204
205 'src'
206 Bugs which belong to a given source, if that attribute has
207 set.
208
209 'tag'
210 An arbitrary string the bug is annotated with. Usually, this
211 is the same as the status mentioned above.
212
213 'owner'
214 'maint'
215 'correspondent'
216 The email address of the bug's owner, maintainer, or
217 correspondent (somebody who has participated in bug messages).
218
219 'log_modified'
220 'last_modified'
221 'found_date'
222 'fixed_date'
223 The date of the last update, or the date of the bug report /
224 bug fix.
225
226 'unarchived'
227 The date the bug has been unarchived, if ever.
228
229 'done'
230 The email address of the worker who has closed the bug (if
231 done).
232
233 'forwarded'
234 A URL or an email address.
235
236 'msgid'
237 The message id of the initial bug report.
238
239 'summary'
240 The summary of the bug report.
241
242 Not all of these attributes could be queried on the GNU Debbugs
243 server via the Debbugs/SOAP backend. In this case, the results of
244 a query are discriminated on the client side, which is indicated by
245 the string "(client-side filter)" in the minibuffer after the
246 attribute name.
247
248 ---------- Footnotes ----------
249
250 (1) This has been added to the Debbugs/SOAP backend of the GNU
251 Debbugs server only.
252
253 (2) Simplified forms, as described in the Hyperestraier User Guide,
254 are not supported.
255
256 \1f
257 File: debbugs-ug.info, Node: Layout, Next: Command Index, Prev: Searching Bugs, Up: Top
258
259 3 Layout
260 ********
261
262 The commands described in the previous chapters generate (a) report
263 buffer(s) applicable for navigation. 'debbugs-gnu-*' return a tabulated
264 list, and 'debbugs-org-*' return a list of TODO items in 'org-mode'.
265
266 * Menu:
267
268 * Tabulated Lists:: Tabulated Lists.
269 * TODO Items:: TODO Items.
270 * Control Messages:: Control Messages.
271
272 \1f
273 File: debbugs-ug.info, Node: Tabulated Lists, Next: TODO Items, Up: Layout
274
275 3.1 Tabulated Lists
276 ===================
277
278 A tabulated list of bug reports consist of four columns for every bug
279 entry: 'Id' (the bug number), 'State' (some bug attributes), 'Submitter'
280 (the name of the bug submitter), and 'Title' (the bug subject). Per
281 default the bugs are sorted by 'Id'; this could be changed by clicking
282 in the headline.
283
284 Per bug retrieval only up to 500
285 ('debbugs-gnu-default-hits-per-page') bugs are retrieved and presented
286 in a buffer. If there shall be presented more bugs, widgets are placed
287 on the top and bottom of the buffer for navigation to further report
288 buffers.
289
290 Different foreground colours present further information on the bug
291 report. If the bug number uses a red colour ('debbugs-gnu-tagged'), the
292 bug has been tagged locally. The same face is used to mark bugs in the
293 submitter or title column, when the bug has been reported / is
294 maintained by the user.
295
296 The bug state could appear in different colours: red
297 ('debbugs-gnu-new', nobody has answered yet to this bug), ForestGreen
298 ('debbugs-gnu-handled', the bug has been modified recently),
299 MidnightBlue ('debbugs-gnu-pending', the bug is pending), orange
300 ('debbugs-gnu-stale', the bug has not been touched for a while), and
301 DarkGrey ('debbugs-gnu-done', the bug is closed).
302
303 The bug report buffers have enabled the minor 'debbugs-gnu-mode'.
304 This enables the following key strokes:
305
306 '<RET>' 'debbugs-gnu-select-report'
307 '<mouse-1>' Open a GNUS ephemeral group for that bug.
308 '<mouse-2>'
309
310 'd' 'debbugs-gnu-display-status'
311 Show all bug attributes.
312
313 'g' 'debbugs-gnu-rescan'
314 Reload all bugs from the GNU Debbugs server.
315
316 'B' 'debbugs-gnu-show-blocking-reports'
317 'b' 'debbugs-gnu-show-blocked-by-reports'
318 Show all bug reports which are blocking / blocked by this bug.
319
320 's' 'debbugs-gnu-toggle-sort'
321 Toggle sorting order of bugs.
322
323 't' 'debbugs-gnu-toggle-tag'
324 Toggle local tag of bugs.
325
326 'x' 'debbugs-gnu-toggle-suppress'
327 Toggle showing of closed bugs.
328
329 'C' 'debbugs-gnu-send-control-message'
330 Send a control message for this bug, *note Control Messages::.
331
332
333 \1f
334 File: debbugs-ug.info, Node: TODO Items, Next: Control Messages, Prev: Tabulated Lists, Up: Layout
335
336 3.2 TODO Items
337 ==============
338
339 TODO items are offered as usual in 'org-mode'. The bug attributes are
340 mapped onto properties of these items. They can be shown by the usual
341 navigation in 'org-mode'.
342
343 Per bug retrieval only up to 500
344 ('debbugs-gnu-default-hits-per-page') bugs are retrieved and presented
345 in a buffer. At the end of the buffer there is a link, which allows to
346 append the next 500 bugs to the list.
347
348 Bug severities are mapped onto org severities, see
349 'debbugs-org-severity-priority'.
350
351 The bug report buffers have enabled the minor 'debbugs-gnu-mode'.
352 This enables the following key strokes:
353
354 '<TAB>' 'org-cycle'
355 Outline the bug report attributes in 'org-mode'.
356
357 'C-c # d' 'debbugs-gnu-display-status'
358 Show all bug attributes.
359
360 'C-c # t' 'debbugs-gnu-toggle-tag'
361 Toggle local tag of bugs.
362
363 'C-c # C' 'debbugs-gnu-send-control-message'
364 Send a control message for this bug, *note Control Messages::.
365
366
367 When the bug attributes are shown by 'org-cycle', there is a link
368 'Messages' which opens a GNUS ephemeral group for that bug.
369
370 \1f
371 File: debbugs-ug.info, Node: Control Messages, Prev: TODO Items, Up: Layout
372
373 3.3 Control Messages
374 ====================
375
376 Debbugs control messages are sent by email to the GNU Debbugs control
377 server. Their format is described in
378 <http://debbugs.gnu.org/server-control.html>.
379
380 A control message can be initiated in the tabulated list of bugs, in
381 the list of org TODO items, or in the GNUS ephemeral group opened for
382 the messages belonging to a given bug. In the minibuffer, the following
383 control messages can be requested (assuming that 12345 is the bug the
384 control message is intended for). The strings show the exact format of
385 the control messages.
386
387 'block'
388 'unblock'
389 "block|unblock 12345 by 54321"
390
391 The second bug number is read interactively. It could be also a
392 list of comma-separated bug numbers.
393
394 'close'
395 "close 12345 25.1"
396
397 The second argument, the Emacs version, is read interactively.
398
399 'confirmed'
400 'fixed'
401 'help'
402 'moreinfo'
403 'notabug'
404 'patch'
405 'pending'
406 'security'
407 'unreproducible'
408 'wontfix'
409 "tags 12345 confirmed|fixed|help|moreinfo|notabug"
410
411 "tags 12345 patch|pending|security|unreproducible|wontfix"
412
413 'done'
414 'donenotabug'
415 'doneunreproducible'
416 'donewontfix'
417 "tags 12345 fixed|notabug|unreproducible|wontfix"
418 "close 12345 25.1"
419
420 The second argument in the close message, the Emacs version, is
421 read interactively.
422
423 'forcemerge'
424 'merge'
425 "forcemerge|merge 12345 54321"
426
427 The second bug number is read interactively.
428
429 'important'
430 'minor'
431 'normal'
432 'serious'
433 'wishlist'
434 "severity 12345 important|minor|normal|serious|wishlist"
435
436 'invalid'
437 "tags 12345 notabug"
438 "tags 12345 wontfix"
439 "close 12345"
440
441 'noowner'
442 "noowner 12345"
443
444 'owner'
445 "owner 12345 !"
446
447 'reassign'
448 "reassign 12345 PACKAGE"
449
450 The package name on the GNU Debbugs server is read interactively.
451
452 'reopen'
453 "reopen 12345"
454
455 'unarchive'
456 "unarchive 12345"
457
458 'unmerge'
459 "unmerge 12345"
460
461 'usertag'
462 "user USERNAME"
463 "usertag 12345 TAG"
464
465 The username, read interactively, is either a package name or an
466 email address. The tag to be set is also read interactively.
467
468 \1f
469 File: debbugs-ug.info, Node: Command Index, Next: Variable Index, Prev: Layout, Up: Top
470
471 Command Index
472 *************
473
474