unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Jack Hill <jackhill@jackhill.us>
Cc: guix-devel@gnu.org
Subject: Re: Mumi now uses raw emails and Mu
Date: Mon, 22 Jul 2019 11:53:11 +0200	[thread overview]
Message-ID: <87blxme6pk.fsf@elephly.net> (raw)
In-Reply-To: <alpine.DEB.2.20.1907212035220.9756@marsh.hcoop.net>


Hey Jack,

>> If you’d like to take part in this effort to make Mumi more useful to
>> all of us, please reply to this message.
>
> I'd like to try to take part. I'm still very much a novice
> programmer/Guiler, so I might require a fair amount of hand-holding,
> but if others are working on it too, that should be fine.

Very nice!  I’m working on it too and Arun is the author of Guile Email,
which does all the heavy lifting of parsing emails, so we’re three
already :)

Forking Mu requires a rough understanding how it currently works.
Obviously, it must parse emails and extract certain headers.  We only
need it to extract a few more headers such as “X-Debbugs-Envelope-To”,
which contains the Debbugs bug number.  (I don’t know if that header is
set for *all* emails that end up in the bug tracker, but that’s
something we have to figure out.)

Mu is written in C and the header extraction probably happens in the C
code as well.

> With the currently deployed mumi, it looks like my mails in
> https://issues.guix.gnu.org/issue/36207 are still mangling the '’'
> after Ludo, but in a different way than before. Perhaps this will be a
> good place for me to start trying to debug and learning the mail
> processing code paths in mumi.

Yes, I noticed that too.  Previously that was because of how mumi
interpreted the response from the SOAP service.  We no longer use the
SOAP service and instead ask Debbugs for the raw emails, which are then
passed to Guile Email’s “parse-email”.  So the problem now is in fact in
Guile Email.

--
Ricardo

  reply	other threads:[~2019-07-22  9:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-21 20:18 Mumi now uses raw emails and Mu Ricardo Wurmus
2019-07-22  0:41 ` Jack Hill
2019-07-22  9:53   ` Ricardo Wurmus [this message]
2019-07-23 11:01     ` Ricardo Wurmus
2019-07-23 13:49       ` Ricardo Wurmus
2019-07-24 17:07       ` Arun Isaac
2019-07-24 17:45         ` Ricardo Wurmus
2019-07-24 18:46           ` Arun Isaac
2019-07-22 17:54   ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87blxme6pk.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=jackhill@jackhill.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).