Hi Luis,

Am 19.10.2006 um 01:28 schrieb Luis Matos:
> i am using the debian package and i see that /etc/trac is empty.
>
> I want to full customise the interface for my company, but there is no
> place where we can change all we want.
>
> I filled a bug in debian about this, against the trac package[1] and i
> am in the will to provide some advice, or opinion if the project is
> interested in it.
>
> Debian maintainers have no will to diverge much from your upstream
> version, so i subscribed to the list to try to propose this in the  
> riht
> place.
>
> My point is to create a /etc/trac with
>
> custom css ( to overlap trac css)
> /htdocs (pictures, etc)
> /roadmap default options
> default trac.ini
> default wiki pages.
>
> some of this is available in /usr/share/trac but they are in the wrong
> place.
>
> What do you say about this?
>
> For some things i think that is possible changing only the  
> siteconfig.py
> (or setup.py in the package), do you confirm (for htdocs)?
>
> what abou the rest?

Good timing for your message, as we're going to change these things  
for 0.11 when moving to setuptools for installation.

siteconfig.py is going to be removed, and Trac will no longer install  
data files in /usr/share/trac. Instead, the default set of templates,  
wiki pages and wiki macros will be stored inside the Trac package in  
site-packages, and will no longer be intended to be overwritten by  
admins/users.

However, you will still be able to configure things like shared  
templates and wiki pages directories. This would be done as options  
to the "trac-admin initenv" command, for example:

   trac-admin /var/trac/proj initenv \
       --templates /etc/trac/templates \
       --wiki-pages /etc/trac/wiki-pages

These command-line options are stored as regular config options in  
the projects trac.ini. Note that Trac would not automatically create  
those directories on installation, that'd be the responsibility of  
either the admin or the distro package.

Now, to make handling of multi-environment installs somewhat easier,  
I would suggest we inspect a number of environment variables that can  
be used to provide defaults. So for example, you could define:

   TRAC_TEMPLATES_DIR = /etc/trac/templates
   TRAC_WIKI_PAGES_DIR = /etc/trac/wiki-pages

and you'd no longer have to specify those when invoking "trac-admin  
initenv".

Does that sound reasonable?

Cheers,
Chris
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to