By Date: <-- -->
By Thread: <-- -->

Default Macro Location?



Interesting....we were under the impression that trac does not support multiple packages, and so we installed trac multiple times.

Your directory structure looks pleasing.

How can you tell trac that there are 'multiple project' folders?...

--
Matt Callaghan
Junior Program Officer
Systems Operations Division
Major Project Design & Development Directorate
Innovation, Science & Technology Branch
Canada Border Services Agency

Telephone: (613) 952-1939
Fax: (613) 952-6814


-----Original Message-----
From: trac-bounces (at) lists.edgewall.com
[mailto:trac-bounces (at) lists.edgewall.com]
Sent: February 28, 2006 1:27 PM
To: trac (at) lists.edgewall.com
Subject: Re: [Trac] Default Macro Location?


Callaghan, Matt wrote:
> currently, the directory structure is:
> /usr/trac/project1/wiki-macros, /usr/trac/project2/wiki-macros, etc.
> 
> Since that /usr/trac/wiki-marcros directory does not exist...can i create it..and it would work?..../usr/trac/wiki-macros ?

Are you using multiple instances of trac? ie, have you installed the 
trac package multiple times?  If you only have one installation of the 
trac package, and then multiple projects, then you can use the global 
wiki-macros directory.  My setup looks like the following:

/usr/lib/python2.4/site-packages/trac <- actual python code
/usr/share/trac <- global templates, images, etc.
/usr/share/trac/wiki-macros <- global macro dir

/var/projects/project1 <- individual trac projects
/var/projects/project2
etc.

Any macros that I install in /usr/share/trac/wiki-macros are available 
to all of my projects.  If I only want a specific project to have a 
macro, I then put it in: /var/projects/project1/wiki-macros, etc.

-John
_______________________________________________
Trac mailing list
Trac (at) lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac
_______________________________________________
Trac mailing list
Trac (at) lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac