[rt-devel] Just getting started

Thomas Sibley trs at bestpractical.com
Tue Feb 21 09:58:40 EST 2012


On 02/21/2012 07:55 AM, Ruslan Zakirov wrote:
> On Sun, Feb 19, 2012 at 21:37, Paul Tomblin <ptomblin at xcski.com> 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


More information about the rt-devel mailing list