unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Help wanted for mumi (issues.guix.gnu.org)
@ 2019-10-19 21:12 Ricardo Wurmus
  2019-10-22 14:04 ` Ludovic Courtès
  2019-11-28 18:05 ` zimoun
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2019-10-19 21:12 UTC (permalink / raw)
  To: Guix Devel

Hello Guix,

our bug tracker web interface at issues.guix.gnu.org could really
benefit from a more reliable, faster search.

Currently, mumi (the application behind issues.guix.gnu.org) uses a slow
interface to Debbugs, the bug tracker service that runs at
debbugs.gnu.org.  The search isn’t great as it returns duplicates and is
paginated, which makes it unsuitable for processing.  Mumi may need to
further filter the search results by status or activity, or any other
metric that the Debbugs search API doesn’t let us do.

So I decided to switch away from using the Debbugs API and instead
operate on a *local* copy of all messages that reach Debbugs.  Debbugs
operates on email messages, and luckily it allows us to download these
original messages.  Whenever someone visits an issue page, all related
messages are downloaded by mumi, so it amasses a sizeable stash of
emails over time.

Mumi is using a modified version of “mu”, the mail indexer and search
tool, to continuously index the contents of all messages.  (“mu” is
modified only so that the issue number is indexed alongside the message
contents.)

Unfortunately, that’s as far as I got before life intervened.  The next
step is really close, but getting there requires more contiguous
segments of time than I can free at the moment.  We really only need to
do the following things next:

1) keep updating the mu database as new messages are stored
2) using the mu Guile bindings to search messages via mu instead of
using the slow Debbugs API.

While working on 2 we may find that more properties should be stored in
the mu database, and that’s fine.  Our variant of mu is easily patched
to accomodate our needs.

Does anyone here have an interest in playing with and improving mumi?
It’s a very simple code base and it’s very easy to get started.

The code is here:

    https://git.elephly.net/software/mumi.git

--
Ricardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-28 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-19 21:12 Help wanted for mumi (issues.guix.gnu.org) Ricardo Wurmus
2019-10-22 14:04 ` Ludovic Courtès
2019-11-28 18:05 ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).