[rt-users] Re: local customizations: debian packaging?

Jesse Vincent jesse at bestpractical.com
Fri Apr 29 05:11:52 EDT 2005


> On Fri, Apr 29, 2005 at 06:08:04PM +1000,
>  Adam Clarke <adam.clarke at strategicdata.com.au> wrote 
>  a message of 52 lines which said:
> 
> > The problem is things like scrips and custom fields. These exist
> > inside RT's database and are difficult to version control / package.
> 
> Yes, the problem is much more general than packaging. I want to manage
> my email templates in our version control system (Subversion) and the
> only solution I find is to have a "install" target in the Makefile
> which calls SQL UPDATE in the database.

So. there are a couple things here.

1. Module::Install::RTx is a nice packaging tool to let you build and
install custom RT extensions as perl modules

2. Those templates are Text::Template perl objects. Whcih means that you
should be able to embed in them calls to, say, a perl module or to read
a file from disk. Which should get you your versioning ;)


>  
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 

-- 



More information about the rt-users mailing list