Posted in Apache Debian/Ubuntu Howto Versioning
Howto : installing TRAC on Debian Etch
Howto available here : http://www.wains.be/pub/howto/trac-debian.txt
This howto explains the steps from creating the SVN project to publishing it with TRAC.
Along with this howto, you can download a script that automates the process of creating the SVN repository and TRAC environment.
This script was made according to this howto and works under Debian. YOU SHOULD FIRST GO THROUGH THE HOWTO BEFORE USING THIS SCRIPT.
http://www.wains.be/pub/create_svntrac_project
Usage :
# create_svntrac_project.sh project_name (0|1)
project_name = NO space or special char
0 = SVN repository creation
1 = TRAC environment creation, SVN repository must exist and project must ALREADY BE imported
I like TRAC because it provides a nice diff viewer (among other things).
I tried ViewCVS from the stable repo but I had several issues (broken images, no color in the diff viewer, etc.)
I noticed in the code it was calling images from incorrect paths, etc.
Maybe I did something wrong, I don’t know..
Anyway, TRAC is far better !
Comments
dagobart
Thanks for your Howto.
Here are some suggestions of mine to push the script a bit further:
* Fix the TRAC permissions before you restarts apache (otherwise you’ll be exposed to the net with pants down for a few seconds).
* Why not cd first to the project directory, chmod -R from there, then?
* As parts of the script remain the same (e.g. find commands), one could set up a separate function for them.
Lillo
I think there is a bug in your script. The line
echo ” SetEnv TRAC_ENV “/home/trac/${PROJECT}”" >> ${APACHECONFIG}
should say:
echo ” SetEnv TRAC_ENV “${TRACDIR}/${PROJECT}”" >> ${APACHECONFIG}
Leave Comment
Please consider visiting the partners below if you enjoyed this article :If this post saved you time and money, please consider checking my Amazon wishlist.







Daniel Sturm
Thanks for providing this howto. After several tries this finally brought me to the point where everything works!
Thanks a lot!