Help in installing the patch
I am a relative newbie when it comes to this type of system administration. I can install plugins no problem, and even patch plugin code and rebuild, but I cannot figure out how to install a Trac patch.
I have been searching high and low for definitive information on how to do this so that I can install this handy patch, but I cannot find what I need. I installed Trac using easy_install
, so I don't even know where the code is to be patched, and a find for api.py
yields zip. I think after I do find the source code that I presume i need to run patch multi-fields.diff
and patch tests.diff
Thanks for any help or pointers.
Change History (3)
Cc: |
sue.sml2006@… added; anonymous removed
|
Resolution: |
→ worksforme
|
Status: |
new →
closed
|
Description: |
modified (diff)
|
You'd need to check out the Trac source, such as the latest stable, and then use the patch command. Assuming you are on Linux, this would work as follows:
$ svn co http://trac.edgewall.org/browser/tags/trac-1.0.1 $ svn co http://trac-hacks.org/svn/multiselectcustomfieldspatch/0.12.1 multiselectcustomfieldspatch $ cd trac-1.0.1 $ patch -p0 < ../multiselectcustomfieldspatch/multi-fields.diff $ patch -p0 < ../multiselectcustomfieldspatch/tests.diff $ python setup.py install
To see where to go after the last step, have a look at t:TracInstall.