Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#9230 closed task (worksforme)

Help in installing the patch

Reported by: anonymous Owned by: cmc
Priority: normal Component: MultiSelectCustomFieldsPatch
Severity: normal Keywords:
Cc: sue.sml2006@… Trac Release: 0.12

Description (last modified by rjollos)

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 5 years ago by anonymous

  • Cc sue.sml2006@… added; anonymous removed

comment:2 Changed 4 years ago by rjollos

  • Resolution set to worksforme
  • Status changed from new to 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
$ 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 4 years ago by rjollos

  • 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.

Add Comment

Modify Ticket

as closed The owner will remain cmc.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.