Modify

Opened 3 years ago

Closed 16 months ago

Last modified 16 months 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 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.

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by anonymous

  • Cc sue.sml2006@… added

comment:2 Changed 16 months 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 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 16 months 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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from cmc. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.