People,

I spent yesterday configuring my existing environment to a 0.11-dev one.

One thing I ran into is that a lot of documentation is outdated on
configuration issues. I am working on updating this, but one thing that I
walked into is the location of various resources.

I used to have a /usr/local/share/trac/htdocs and a
/usr/local/share/trac/cgi-bin for the chrome and the fast CGI script. With
0.11 this got all placed into site-packages/Trac. While I can understand the
desire to keep everything bundled it does make for some awful configurations.

Example for lighttpd:

alias.url = (
    "/trac/chrome/common" =>
    
"/usr/local/lib/python2.5/site-packages/Trac-0.11dev_r5182-py2.5.egg/trac/htdocs"
)

fastcgi.server = (
    "/" => (
        "trac.cgi" => (
            "bin-path" =>
                
"/usr/local/lib/python2.5/site-packages/Trac-0.11dev_r5182-py2.5.egg/trac/web/fcgi_frontend.py",

This has advantages and disadvantages as far as I can see.

Disadvantages:

1) Every time you install a new version from SVN you will have to change your
   configuration with the relevant SVN revision that got installed.
2) From an aesthetic point of view this just looks awful. Granted, it's solely
   aesthetic and not a technical point, but it does, in my opinion, look worse
   from what we had.

Advantages:

1) Everything is grouped nicely together and all relevant files are not spread
   all over the filesystem.
2) You are safe in the assumption that the (f)cgi files and htdocs are indeed
   the right ones coupled with a certain release since they reside in the same
   directory hierarchy. This would make switching between widely divergent
   version quite easy since everything is in essence self-contained.

I am sure I missed points in the (dis)advantages however. The question is what
do we want to do with this?

It does not make much sense for me to update the documentation until some
agreement is reached (at least from the core developers).

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Knock on the sky and listen to the sound! - Zen saying

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to