Hi all
We're planning on migrating to trac from a (frankly awful) twiki-based
bug tracking system. Early tests have gone well; the installation was a
breeze and the subversion hookup was seemless. I've even written some
sed to convert Twiki markup to TracWiki.
What I'd like to do before we can start using it is add some custom
fields to the ticket table, altering the templates and reports to match.
Given that sqlite doesn't support ALTER TABLE, the best way I've found
is by performing a dump and editing the SQL by hand. (and amending any
existing data, should it be there.) So far, it doesn't look like I need
to touch a single line of python and any form fields I add to the
templates will be pushed into the db with the original stuff. Is this
correct?
Secondly; how to I edit or create reports? TracReports is very clear on
how to construct the query, but it neglects to mention where to put it.
I can, tantalisingly, _look_ at any existing report SQL, but I can't
find the "Edit me" button. Do I have to edit the dump again or am I just
being dense? :)
Cheers,
Terry.
PS. Kudos to whoever designed the CSS. Ticket #575 aside, it looks lovely.
We're planning on migrating to trac from a (frankly awful) twiki-based
bug tracking system. Early tests have gone well; the installation was a
breeze and the subversion hookup was seemless. I've even written some
sed to convert Twiki markup to TracWiki.
What I'd like to do before we can start using it is add some custom
fields to the ticket table, altering the templates and reports to match.
Given that sqlite doesn't support ALTER TABLE, the best way I've found
is by performing a dump and editing the SQL by hand. (and amending any
existing data, should it be there.) So far, it doesn't look like I need
to touch a single line of python and any form fields I add to the
templates will be pushed into the db with the original stuff. Is this
correct?
Secondly; how to I edit or create reports? TracReports is very clear on
how to construct the query, but it neglects to mention where to put it.
I can, tantalisingly, _look_ at any existing report SQL, but I can't
find the "Edit me" button. Do I have to edit the dump again or am I just
being dense? :)
Cheers,
Terry.
PS. Kudos to whoever designed the CSS. Ticket #575 aside, it looks lovely.