From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Help wanted for mumi (issues.guix.gnu.org) Date: Thu, 28 Nov 2019 19:05:46 +0100 Message-ID: References: <87o8ycjv7l.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59622) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaOCW-0008Js-SF for guix-devel@gnu.org; Thu, 28 Nov 2019 13:07:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaOB8-00079f-AY for guix-devel@gnu.org; Thu, 28 Nov 2019 13:06:12 -0500 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]:37548) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaOB5-0006tM-1v for guix-devel@gnu.org; Thu, 28 Nov 2019 13:06:07 -0500 Received: by mail-qv1-xf2a.google.com with SMTP id s18so10653263qvr.4 for ; Thu, 28 Nov 2019 10:05:59 -0800 (PST) In-Reply-To: <87o8ycjv7l.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: Guix Devel Hi Ricardo, Thank you for initiating this project. On Sat, 19 Oct 2019 at 23:13, Ricardo Wurmus wrote: > our bug tracker web interface at issues.guix.gnu.org could really > benefit from a more reliable, faster search. Yes, it already improves the situation. I feel grumpy when I use debbugs.gnu.org or even emacs-debbugs. It is so slow and you need Internet connection: query, wait, query again, ... argh! :-) Operate on a *local* copy is not easy, IMO. Even if the Gnus guru is doing [1], it needs some tricks [2] or [3]. [1] https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg00663.html [2] https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg00666.html [3] https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg00671.html > 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 =E2=80=9Cmu=E2=80=9D, the mail indexe= r and search > tool, to continuously index the contents of all messages. (=E2=80=9Cmu= =E2=80=9D is > modified only so that the issue number is indexed alongside the message > contents.) This should be nice to be able to work search/query offline. (Even if I am more from the notmuch side. ;-)) > Unfortunately, that=E2=80=99s as far as I got before life intervened. Th= e 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 Cron task every hour is not enough? > 2) using the mu Guile bindings to search messages via mu instead of > using the slow Debbugs API. This should be really nice! One direction I am more interested is a CLI to work offline, say mumi pull mumi search and I am sure that our Emacs magicians could write a nice frontend. ;-) > Does anyone here have an interest in playing with and improving mumi? > It=E2=80=99s a very simple code base and it=E2=80=99s very easy to get st= arted. I am not enough skilled but I am currently using enough the Debbugs to be bitten. :-) Cheers, simon