[rt-users] Unable to create scrips in RT 4.2.12

Christian Loos cloos at netcologne.de
Wed Nov 11 01:33:16 EST 2015


Hi Brent,

you should give Callbacks [1] a chance.
We use this for years. Minor (4.2.11 > 4.2.12) version updates are done
without any modification. Sometimes even major (4.2.12 > 4.4.0) updates
can be make without changing a callback file.

Chris

[1]
https://www.bestpractical.com/docs/rt/4.2/writing_extensions.html#Callbacks

Am 11.11.2015 um 03:53 schrieb Parish, Brent:
> Good catch!
> 
>  
> 
> I’m sure other people have better ways to do this, but this is what
> works for me in our environment:
> 
>  
> 
> First I copy the original RT file into the local/  directory tree (per
> standard RT modification practices).
> 
> But I make two copies there – one is named with a “.orig” file extension.
> 
>   e.g.
> 
>     Tabs
> 
>      Tabs.orig
> 
>  
> 
> The .orig file is a copy of the original Tabs file (at the time I
> modified it, lets say version 4.0.9.
> 
> After I run an upgrade (e,g, to 4.2.12), I first do a ‘diff’ on the
> Tabs.orig (remember, that is 4.0.9) against the new Tabs (4.2.12).
> 
> If the files are the same (no changes in the new version of RT), I keep
> my changed Tabs file as-is.
> 
> If there are changes in the new rev, I must manually merge my changes
> into it.
> 
> (and then copy the new version (original) as the new Tabs.orig, ready
> for the next upgrade).
> 
>  
> 
> A nice side effect of this is that I can run a ‘find’ command after each
> upgrade for *.orig, to ensure I am merging all code changes.
> 
>  
> 
> Just my 2 cents.
> 
> -          Brent
> 




More information about the rt-users mailing list