Opened 6 years ago

Closed 4 years ago

# Help in installing the patch

Reported by: Owned by: anonymous CM Lubinski normal MultiSelectCustomFieldsPatch normal sue.sml2006@… 0.12

### Description (last modified by Ryan J Ollos)

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.

### comment:1 Changed 6 years ago by anonymous

Cc: sue.sml2006@… added; anonymous removed

### comment:2 Changed 4 years ago by Ryan J Ollos

Resolution: → worksforme new → closed

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.

### comment:3 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)

I'll do some testing against Trac 1.0.1 in #11021 and CC you on that this in case any more useful information is found.

### Modify Ticket

Change Properties