Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#9230 closed task (worksforme)

Help in installing the patch

Reported by: anonymous Owned by: CM Lubinski
Priority: normal Component: MultiSelectCustomFieldsPatch
Severity: normal Keywords:
Cc: sue.sml2006@… Trac Release: 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 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.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by anonymous

Cc: sue.sml2006@… added; anonymous removed

comment:2 Changed 7 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

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
$ svn co multiselectcustomfieldspatch
$ cd trac-1.0.1
$ patch -p0 < ../multiselectcustomfieldspatch/multi-fields.diff
$ patch -p0 < ../multiselectcustomfieldspatch/tests.diff
$ python install

To see where to go after the last step, have a look at t:TracInstall.

comment:3 Changed 7 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
Set your email in Preferences
as closed The owner will remain CM Lubinski.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.