Re: [rt-users] which variable controls where local customizations are?

2009-04-21 Thread Matthew Seaman

Jo Rhett wrote:

On Apr 20, 2009, at 6:51 PM, Jerrad Pierce wrote:

My understanding right now is
  RT::MasonLocalComponentRoot  /usr/local/www/rt38

No. Compiled Mason lives in RT::MasonDataDir



I'm talking about local overrides, for installing your own CallBacks  
and such.




/usr/local/www/rt38 works for me.  Note that there's a 'html' missing
from those paths, compared to the standard distribution stuff under 
/usr/local/share/rt38/. So


  /usr/local/www/rt38/Ticket/Create.html

is the equivalent of and overlays:

  /usr/local/share/rt38/html/Ticket/Create.html

Doing 'cd /usr/local/www/rt38 ; ln -s html . ' makes it all look
a bit more symmetric.

Cheers,

Matthew

--
Dr Matthew Seaman The Bunker, Ash Radar Station
PGP: 0x60AE908C on serversMarshborough Rd
Tel: +44 1304 814890  Sandwich
Fax: +44 1304 814899  Kent, CT13 0PL, UK



signature.asc
Description: OpenPGP digital signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] which variable controls where local customizations are?

2009-04-21 Thread Jo Rhett
On Apr 20, 2009, at 10:26 PM, Matthew Seaman wrote:
 I'm talking about local overrides, for installing your own  
 CallBacks  and such.

 /usr/local/www/rt38 works for me.  Note that there's a 'html' missing
 from those paths, compared to the standard distribution stuff under / 
 usr/local/share/rt38/. So

  /usr/local/www/rt38/Ticket/Create.html

 is the equivalent of and overlays:

  /usr/local/share/rt38/html/Ticket/Create.html


Ah, that's probably the problem.  Thanks!

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness



___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] which variable controls where local customizations are?

2009-04-21 Thread Jerrad Pierce
No, it's not a missing html (in the path).

It's a base directory. plugins and local libs live under your local folder too.

-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] which variable controls where local customizations are?

2009-04-21 Thread Jo Rhett
On Apr 21, 2009, at 9:33 AM, Jerrad Pierce wrote:
 No, it's not a missing html (in the path).

 It's a base directory. plugins and local libs live under your local  
 folder too.


Then it is missing a /html/ in the path, because mv html/* . ; rmdir  
html solved the problem for me.  If Libraries are going to be at the  
same level, then it's going to be a problem.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness



___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] which variable controls where local customizations are?

2009-04-21 Thread Jerrad Pierce
 Then it is missing a /html/ in the path, because mv html/* . ; rmdir html
 solved the problem for me.  If Libraries are going to be at the same level,
 then it's going to be a problem.

You/BSD seem to have a rather odd config...

Local install from source, without any futzing about of paths, just a
single prefix:

  $PREFIX/rt/bin
  $PREFIX/rt/etc
  $PREFIX/rt/lib
  $PREFIX/rt/sbin
  $PREFIX/rt/share
  $PREFIX/rt/local/html
  $PREFIX/rt/local/lib
  $PREFIX/rt/local/plugins

See the head of lib/RT.pm. The longer variable names and comments there
better explain where things are if your installation is not centralized.
-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] which variable controls where local customizations are?

2009-04-20 Thread Jo Rhett
A freebsd package install sets up the following paths:

RT::BasePath/usr/local
RT::BinPath /usr/local/bin
RT::EtcPath /usr/local/etc/rt38
RT::LocalEtcPath/usr/local/share/rt38/etc
RT::LocalHtmlPath   /usr/local/share/rt38/html
RT::LocalLexiconPath/usr/local/share/rt38/po
RT::LocalLibPath/usr/local/share/rt38/lib
RT::LocalPath   /usr/local
RT::LocalPluginPath /usr/local/share/rt38/plugins
RT::MasonComponentRoot  /usr/local/share/rt38/html
RT::MasonDataDir/var/run/rt38/mason_data
RT::MasonLocalComponentRoot /usr/local/www/rt38
RT::MasonSessionDir /var/run/rt38/session_data
RT::SbinPath/usr/local/sbin
RT::VERSION 3.8.2
RT::VarPath /var/run/rt38

Which of these paths tells me where it's going to look for local/ 
Callbacks/(myname)/

My understanding right now is
   RT::MasonLocalComponentRoot  /usr/local/www/rt38

However, stopping apache and clearing the mason cache and restarting I  
don't see any of these changes.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness



___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] which variable controls where local customizations are?

2009-04-20 Thread Jerrad Pierce
 My understanding right now is
   RT::MasonLocalComponentRoot  /usr/local/www/rt38
No. Compiled Mason lives in RT::MasonDataDir
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] which variable controls where local customizations are?

2009-04-20 Thread Jo Rhett
On Apr 20, 2009, at 6:51 PM, Jerrad Pierce wrote:
 My understanding right now is
   RT::MasonLocalComponentRoot  /usr/local/www/rt38
 No. Compiled Mason lives in RT::MasonDataDir


I'm talking about local overrides, for installing your own CallBacks  
and such.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness



___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com