Tag: Trac

  • Trac Workflow

    This is my Trac Ticket Workflow. I will work on making a visualization to explain what is happening here (the complexity was too much for Trac’s workflow visualizer), but I will go ahead and post in the hopes that it is useful. {{{ awaiting_evidence = reviewing,reopened,new,failed_testing,in_dev -> awaiting_evidence awaiting_evidence.name = Awaiting Evidence awaiting_evidence.operations = leave_status…

  • Syncing a remote SVN repository with svnsync

    * Create a blank repository on the destination server {{{ mkdir /var/svn/my_project svnadmin create /var/svn/my_project }}} * Create (and make executable) the svn pre-revprop-change hook. You can do whatever you would like with this script, but that will not be covered here. {{{ echo ‘#!/bin/sh’ > /var/svn/my_project/hooks/pre-revprop-change chmod +x /var/svn/my_project/hooks/pre-revprop-change }}} * Initialize the source…

  • Adding HTML Emails To Trac 1.0.1

    [[[TOC]]] ——- =Intro= Below is a patch to add HTML Emails to Trac and below that is a sample template to generate a nice looking email. The completed file can be located [[file:notification.zip|Here]] and should be placed in `trac/ticket/notification.py`. This patch has been tested with [[http://trac.edgewall.org/|Trac 1.0.1dev-r11400]]. Because we will be mucking with Trac’s source,…

  • Setup Trac w/ multiple projects, mod_wsgi, LDAP & MySQL – Ubuntu 12.10

    [[[TOC]]] —– = Installation = {{{ sudo apt-get install -y apache2 libapache2-mod-python python-setuptools python-genshi mysql-server python-mysqldb easy_install a2enmod #< Base Packages sudo apt-get install -y libapache2-mod-wsgi #< WSGI support sudo apt-get install -y subversion #< Subversion (not covering the config) sudo easy_install trac #< Trac }}} ------------ = Prep MySQL = * Log in {{{…