comparison hgext/bugzilla.py @ 17534:c5f7c4b515a4

en-us: recognized
author timeless@mozdev.org
date Fri, 17 Aug 2012 13:58:19 -0700
parents 2255950e1f76
children 31f32a96e1e3
comparison
equal deleted inserted replaced
17533:927d704d7847 17534:c5f7c4b515a4
43 43
44 Access via XMLRPC/email uses XMLRPC to query Bugzilla, but sends 44 Access via XMLRPC/email uses XMLRPC to query Bugzilla, but sends
45 email to the Bugzilla email interface to submit comments to bugs. 45 email to the Bugzilla email interface to submit comments to bugs.
46 The From: address in the email is set to the email address of the Mercurial 46 The From: address in the email is set to the email address of the Mercurial
47 user, so the comment appears to come from the Mercurial user. In the event 47 user, so the comment appears to come from the Mercurial user. In the event
48 that the Mercurial user email is not recognised by Bugzilla as a Bugzilla 48 that the Mercurial user email is not recognized by Bugzilla as a Bugzilla
49 user, the email associated with the Bugzilla username used to log into 49 user, the email associated with the Bugzilla username used to log into
50 Bugzilla is used instead as the source of the comment. Marking bugs fixed 50 Bugzilla is used instead as the source of the comment. Marking bugs fixed
51 works on all supported Bugzilla versions. 51 works on all supported Bugzilla versions.
52 52
53 Configuration items common to all access modes: 53 Configuration items common to all access modes:
54 54
55 bugzilla.version 55 bugzilla.version
56 This access type to use. Values recognised are: 56 This access type to use. Values recognized are:
57 57
58 :``xmlrpc``: Bugzilla XMLRPC interface. 58 :``xmlrpc``: Bugzilla XMLRPC interface.
59 :``xmlrpc+email``: Bugzilla XMLRPC and email interfaces. 59 :``xmlrpc+email``: Bugzilla XMLRPC and email interfaces.
60 :``3.0``: MySQL access, Bugzilla 3.0 and later. 60 :``3.0``: MySQL access, Bugzilla 3.0 and later.
61 :``2.18``: MySQL access, Bugzilla 2.18 and up to but not 61 :``2.18``: MySQL access, Bugzilla 2.18 and up to but not
301 return user 301 return user
302 302
303 # Methods to be implemented by access classes. 303 # Methods to be implemented by access classes.
304 # 304 #
305 # 'bugs' is a dict keyed on bug id, where values are a dict holding 305 # 'bugs' is a dict keyed on bug id, where values are a dict holding
306 # updates to bug state. Recognised dict keys are: 306 # updates to bug state. Recognized dict keys are:
307 # 307 #
308 # 'hours': Value, float containing work hours to be updated. 308 # 'hours': Value, float containing work hours to be updated.
309 # 'fix': If key present, bug is to be marked fixed. Value ignored. 309 # 'fix': If key present, bug is to be marked fixed. Value ignored.
310 310
311 def filter_real_bug_ids(self, bugs): 311 def filter_real_bug_ids(self, bugs):