Modify ↓
#7340 closed defect (fixed)
[PATCH] bugzilla2trac.py: work with bugzilla 2.16.7, use bugzilla severities as trac priorities
Reported by: | Owned by: | Jeroen Ruigrok van der Werven | |
---|---|---|---|
Priority: | normal | Milestone: | 0.12 |
Component: | ticket system | Version: | 0.11b2 |
Severity: | normal | Keywords: | patch bugzilla |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Just managed to import my Bugzilla 2.16.7 bugs into the Trac ticket system. I had to patch bugzilla2trac.py:
- Defect: to work with the 2.16.7 bugzilla db layout, which seems to use
- product.product rather than product.name (table product)
- bugs.product rather that bugs.product_id (table bugs)
- bugs.component rather than bugs.component_id (table bugs)
- components.value rather than components.id (table components)
- Enhancement: to allow for importing the Bugzilla severities as Trac priorities, and forget about the Bugzilla priorities completely; just like the default out-of-the box trac ticket system "simple setup" these days (no severities, but priorities instead).
I added a new command line parameter ['-n', '—noseverities'] to switch on the latter.
Note1: The patch is based on bugzilla2trac.py in Revision 6820, as downloaded from trac.edgewall.org.
Note2: This has only been tested with my pretty simple setup (single bugzilla product, COMPONENTS_FROM_PRODUCTS = False, custom LOGIN_MAP), and only against Bugzilla 2.16.7
Holger
(Patch attached)
Attachments (1)
Change History (4)
by , 16 years ago
Attachment: | bugzilla2trac.py.patch added |
---|
comment:1 by , 16 years ago
Keywords: | patch bugzilla added |
---|---|
Milestone: | → 0.11.2 |
Summary: | bugzilla2trac.py: work with bugzilla 2.16.7, use bugzilla severities as trac priorities → [PATCH] bugzilla2trac.py: work with bugzilla 2.16.7, use bugzilla severities as trac priorities |
comment:3 by , 16 years ago
Milestone: | 0.11-retriage → 0.12 |
---|
Note:
See TracTickets
for help on using tickets.
bugzilla2trac.py patch to (enable bugzilla 2.16.7, —noseverities option)