wiki:DarcsPlugin

Version 2 (modified by Le, 7 years ago) (diff)

--

Darcs plugin for trac 0.10

The new plugin is taking shape at

 http://artiemestieri.tn.it/~lele/projects/trac-darcs

Beware, it's still incomplete and wrong: first, the setuptools config is currently wrong, second, DarcsRepository.get_changes(), a new API, is plain wrong, and I need to figure out what it should do.

If you want to try it out follow these directions:

  1. Get upstream trac, either current svn trunk or from my darcs repo at  http://darcs.arstecnica.it/trac
       a. $ darcs get --partial http://darcs.arstecnica.it/trac upstream-trac
    
  1. Get the plugin from the address above:
       a. $ cd upstream-trac/trac/versioncontrol
       b. $ get http://artiemestieri.tn.it/~lele/projects/trac-darcs darcs
    
  1. Apply the "trac-api-2866.patch", that fixes  #2731 and  #2733
       a. $ cd upstream-trac
       b. $ patch -d1 < trac/versioncontrol/darcs/trac-api-2866.patch
    
  1. Apply the "trac-setup-2866.patch"
       a. $ cd upstream-trac
       b. $ patch -d1 < trac/versioncontrol/darcs/trac-setup-2866.patch
    
  1. Install a private instance of trac:
       a. $ cd upstream-trac
       b. $ python setup.py install --prefix=~/.system
       c. $ export PYTHONPATH=~/.system/lib/python2.3/site-packages
       d. $ cd /tmp
       c. $ ~/.system/bin/trac-admin initenv