Opened 16 years ago

Closed 14 years ago

#1183 closed enhancement (fixed)

Make Logs Searchable

Reported by: marcel@… Owned by: John Hampton
Priority: normal Component: IrcLogsPlugin
Severity: normal Keywords: pyndexter search irc logs
Cc: mitsuhiko Trac Release: 0.11


integrated like the other things i guess

Attachments (1)

irclogsplugin-0.11-searching.patch (3.9 KB) - added by Thomas Moschny 15 years ago.
Search functionality for 0.11.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 16 years ago by John Hampton

Cc: mitsuhiko added; anonymous removed
Keywords: pyndexter search irc logs added
Status: newassigned
Summary: make the logs searchableMake 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.

comment:2 Changed 16 years ago by marcel@…

any news on this?

comment:3 Changed 16 years ago by John Hampton

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, but that's based ona slightly modified 0.10 version of the logs plugin. I hope to get it committed soon.

comment:4 Changed 16 years ago by marcel@…

Anxious for something to test. ;-)

comment:5 Changed 15 years ago by John Hampton

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

comment:6 Changed 15 years ago by Thomas Moschny

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.

Changed 15 years ago by Thomas Moschny

Search functionality for 0.11.

comment:7 Changed 15 years ago by marcel@…

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.

comment:8 Changed 14 years ago by Robert Corsaro

Resolution: fixed
Status: assignedclosed

This is done in irclogsplugin/0.11

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Hampton.
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.