[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-devel
Subject:    Re: [rt-devel] Just getting started
From:       Thomas Sibley <trs () bestpractical ! com>
Date:       2012-02-21 14:58:40
Message-ID: 4F43B120.1050906 () bestpractical ! com
[Download RAW message or body]

On 02/21/2012 07:55 AM, Ruslan Zakirov wrote:
> On Sun, Feb 19, 2012 at 21:37, Paul Tomblin <ptomblin@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
--------
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic