RSS

(root)/bmo/4.0-dev : 7271 : contrib/jb2bz.py

To get this branch, use:
bzr branch /bmo/4.0-dev

« back to all changes in this revision

Viewing changes to contrib/jb2bz.py

Max Kanat-Alexander
2010-07-05 17:42:57
Revision ID: mkanat@bugzilla.org-20100706004257-9wg4e8f3s52lbqhi
Bug 486292: Change the default workflow to UNCONFIRMED, CONFIRMED,
IN_PROGRESS, RESOLVED, VERIFIED.
r=LpSolit, a=mkanat

Show diffs side-by-side

added added

removed removed

28
28
if not mimetypes.encodings_map.has_key('.bz2'):
29
29
    mimetypes.encodings_map['.bz2'] = "bzip2"
30
30
 
31
 
bug_status='NEW'
 
31
bug_status='CONFIRMED'
32
32
component="default"
33
33
version=""
34
34
product="" # this is required, the rest of these are defaulted as above
265
265
Where OPTIONS are one or more of the following:
266
266
 
267
267
  -h                This help information.
268
 
  -s STATUS         One of UNCONFIRMED, NEW, ASSIGNED, REOPENED, RESOLVED, VERIFIED, CLOSED
269
 
                    (default is NEW)
 
268
  -s STATUS         One of UNCONFIRMED, CONFIRMED, IN_PROGRESS, RESOLVED, VERIFIED
 
269
                    (default is CONFIRMED)
270
270
  -c COMPONENT      The component to attach to each bug as it is important. This should be
271
271
                    valid component for the Product.
272
272
  -v VERSION        Version to assign to these defects.
285
285
 
286
286
    for o,a in opts:
287
287
        if o == "-s":
288
 
            if a in ('UNCONFIRMED','NEW','ASSIGNED','REOPENED','RESOLVED','VERIFIED','CLOSED'):
 
288
            if a in ('UNCONFIRMED','CONFIRMED','IN_PROGRESS','RESOLVED','VERIFIED'):
289
289
                bug_status = a
290
290
        elif o == '-c':
291
291
            component = a

Loggerhead 1.18.1 is a web-based interface for Bazaar branches