
trs at bestpractical
Feb 21, 2012, 6:58 AM
Post #3 of 3
(434 views)
Permalink
|
On 02/21/2012 07:55 AM, Ruslan Zakirov wrote: > On Sun, Feb 19, 2012 at 21:37, Paul Tomblin <ptomblin [at] xcski> wrote: >> I am just getting started a project to do some customization of RT, and I'm >> finding the documentation confusing and the book a little bit out of date. >> I'm wondering if there is a standard way to deliver your customizations >> (dashboards, scrips, saved queries etc) to the production database? Do you >> just write database scripts, or what? Do you copy over a database dump >> file? > > Use extensions with initialdata files. Extensions can have tests (just > borrow Test.pm file from modern extension) and at least this would > simplify greatly dropping DB and re-inserting your initialdata file > for testing. Note that initialdata files can not only contain the basic object definitions allowed, but you can put arbitrary code in subrefs pushed into @Final. Thomas -------- RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 & 6, 2012 List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
|