Ticket #647 (reopened enhancement)

Opened 3 years ago

Last modified 8 months ago

Beagle and Tracker plugins for Gajim

Reported by: nk Owned by: asterix
Priority: normal Milestone:
Component: history Version: 0.10
Severity: minor Keywords:
Cc: jon@… OS: All

Description


Attachments

Change History

Changed 3 years ago by sam@…

I have started to write a backend for Beagle to index Gajim's logs. It is available from http://bugzilla.gnome.org/show_bug.cgi?id=322540. If you are interested, please try it out!

Changed 3 years ago by nk

I took a quick look in your code.

you operate on logs_dir but svn has migrated to using sqlite logs.db (it also provides a script to migrate old logs)

moreover I failed to find some parsing logic of the files in that dir

NOTE: I cannot say if sqlite will in the end stay in 0.9, it seems to work okay and gives the advantages for which I chose to replace the old style logs, but suffers from concurrency problems which I 'll try to solve.

more: http://trac.gajim.org/wiki/MigrateLogToDot9DB http://trac.gajim.org/wiki/LogsDatabase http://www.phpguru.org/static/SQLite.NET.html

even if sqlite is abandoned, I'm sure some time has to be spent on making the design of the textfile (the metadata) somehow not so low-level

come in the room etc ;)

Changed 3 years ago by multani

Beagle use SQLite as a backend when extented_attribut are not present on the filesystem. I see that there is already a SQLite driver in Mono (at least in Beagle source code), in the Mono.Data.SQLite namespace.

Changed 3 years ago by nk

great!

Changed 3 years ago by sam@…

I don't know if Beagle will actually index the sqlite database, or whether it only indexes the information fed to it from the GajimLog? class. I suppose if the worst comes to the worst, the Beagle backend can add a beagle_last_indexed (jid, timestamp) table to the database, and periodically dump out the chat history to its own set of text files.

Changed 3 years ago by D Bera

Beagle will not _automatically_ parse the sqlite file. The gajim backend has to fetch information from the gajim sqlite db and send it to beagle. Mono.Data.SQLite is already there - so there wont be any problem in opening and reading sqlite files in the gajim backend.

Changed 3 years ago by nk

  • cc sam@… added

now that Gajim .9.1 is out, any news on this?

Changed 3 years ago by anonymous

Someone with irc name multani started and succeeded in writing a basic gajim backend. This is the link to the discussion in beagle irc channel: (near the end) http://www.gympoh.edu.sk/~lipka/irclogs/dashboard.log.21Dec2005 (continued here) http://www.gympoh.edu.sk/~lipka/irclogs/dashboard.log.22Dec2005

Changed 3 years ago by multani

  • cc sam@… added; sam@… removed

Damn, i'm spotted ;)

I started written a backend, but I didn't finish it yet (no much time currenty) ...

As far as I remember, it's quite dirty : gajim log isn't really indexed, but Best search in the logs.db each time we query it.

Changed 2 years ago by jim++

  • type changed from defect to enhancement

Changed 2 years ago by nk

  • status changed from new to closed

ask in Beagle?

Changed 17 months ago by Gego

Gajim s devs shood take a look at http://video.google.com/videoplay?docid=973151644136154342&q=beagle+search

every program shood be able to be search every program... I want to be able to search my logs..

Changed 14 months ago by anonymous

  • status changed from closed to reopened
  • resolution invalid deleted
  • os set to All
  • type changed from defect to enhancement

Changed 14 months ago by anonymous

is there a reason to close this?

Changed 12 months ago by anonymous

  • milestone changed from 0.9.1 to 0.12

Changed 12 months ago by anonymous

Please consider implementing a Tracker search plugin before Beagle. Since it looks like Tracker is going to be the default "search" tool in Gnome.

Changed 8 months ago by steve-e

  • summary changed from write a Beagle plugin for Gajim to Beagle and Tracker plugins for Gajim
  • milestone 0.12 deleted

I would like to have this feature, but it is not a priority for now. At least not for us.

Changed 8 months ago by anonymous

  • cc jon@… added; sam@… removed

Add/Change #647 (Beagle and Tracker plugins for Gajim)

Author



Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.