[Trac-tickets] [The Trac Project] #2362: Support template version of site_xxx.cs files for new projects

The Trac Project noreply at edgewall.com
Wed Nov 16 02:53:28 CST 2005


#2362: Support template version of site_xxx.cs files for new projects
---------------------------------+------------------------------------------
 Reporter:  jouvin at lal.in2p3.fr  |       Owner:  daniel
     Type:  enhancement          |      Status:  new   
 Priority:  normal               |   Milestone:  0.9.1 
Component:  trac-admin           |     Version:  0.9   
 Severity:  minor                |   Keywords:                       |  
---------------------------------+------------------------------------------
 At LAL, we are using a customized version of site_xxx.cs files for every
 project to include support for some local configuration options (like
 loading TracNav.css in every project from site_css.cs).

 Unfortunatly current version of trac-admin create those files from
 hardcoded values in module trac.web.chrome. It would be nice to have this
 module check for existence of a template version of these files and use
 them if they are available. And keep hardcoded values as a fallback in
 case there is no template version available.

 I would be even nicer if location of these template site_xxx.cs files
 could be defined in the global trac.ini file.

 Along the same lines, when creating the project trac.ini, current version
 of trac-admin uses the option values defined in global trac.ini. IMO, it
 should not defined them at all (to allow for global changes) or defined
 them commented out.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2362>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list