Ticket #1183 (assigned enhancement)

Opened 2 years ago

Last modified 5 months ago

Make Logs Searchable

Reported by: marcel@hsdev.com Assigned to: pacopablo (accepted)
Priority: normal Component: IrcLogsPlugin
Severity: normal Keywords: pyndexter search irc logs
Cc: mitsuhiko Trac Release: 0.11

Description

integrated like the other things i guess

Attachments

irclogsplugin-0.11-searching.patch (3.9 kB) - added by thomas.moschny@gmx.de on 05/21/08 10:00:13.
Search functionality for 0.11.

Change History

02/06/07 17:48:28 changed by pacopablo

  • cc set to mitsuhiko.
  • keywords set to pyndexter search irc logs.
  • status changed from new to assigned.
  • summary changed from make the logs searchable to Make Logs Searchable.

Already working on it ;)

I'm planning on using pyndexter for the searching. If you see this as a horrible impediment, let me know.

05/10/07 00:06:12 changed by marcel@hsdev.com

any news on this?

05/19/07 01:06:13 changed by pacopablo

OK, so this is done. Much thanks go to alect and his pyndexter stuff. However, I haven't actualyl committed or merged the code. It's working at http://pacopablo.com, but that's based ona slightly modified 0.10 version of the logs plugin. I hope to get it committed soon.

06/23/07 10:15:18 changed by marcel@hsdev.com

Anxious for something to test. ;-)

08/24/07 01:20:43 changed by pacopablo

source:irclogsplugin/0.10 should have the initial import. Some paths are hard coded still, but it's something to test.

05/21/08 09:56:11 changed by thomas.moschny@gmx.de

Here is my attempt to port the search functionality to 0.11. Tested with Trac 0.11dev-r7092 and pyndexter 0.2. The patch is against source:irclogsplugin/0.11@2591.

05/21/08 10:00:13 changed by thomas.moschny@gmx.de

  • attachment irclogsplugin-0.11-searching.patch added.

Search functionality for 0.11.

05/21/08 12:31:31 changed by marcel@hsdev.com

Excellent! Applied the patch and due to our setup of irc log the line

'file = hit.uri.path.lstrip(self.path)'

had to be replaced with

'file = os.path.basename(hit.uri.path)'

lstrip would not be correct here i think. After that change (and adjusting the indexer script a bit) it works.


Add/Change #1183 (Make Logs Searchable)




Change Properties
Action