Re: mumi issue tracker interface for Guile

Maxim Cournoyer <[email protected]>
Newsgroups gmane.lisp.guile.devel,gmane.lisp.guile.user
Message-ID <[email protected]>
Hi Arne,

"Dr. Arne Babenhauserheide" <[email protected]> writes:

> Hi Arun,
>
> Arun Isaac <[email protected]> writes:
>> Recently, the mumi instance run by the Guix project also started
>> indexing Guile issues. Please try out mumi for guile at
>> https://issues.guix.gnu.org/guile . I hope the Guile project can benefit
>
> This looks neat — thank you!
>
> In general for mumi I tried to use it, but failed at the initial steps:
> if I do not have it set up yet (nothing set up), what do I need to do to
> use it for Guile?

Without any thing done locally, the web interface can be used at the
above URL.

Otherwise for interacting from a command line application, you can
install 'mumi', which also ships an eponymous mumi client that can be
used to search issues using the same syntax as the web client; see
https://issues.guix.gnu.org/help#search for the currently available
filters.

Here's an example to search issues you've created and which are still
open:

$ mumi search submitter:arne is:open

--8<---------------cut here---------------start------------->8---
mumi search submitter:arne is:open
72208 [PATCH] doc: tour: note the top-level modules ice-9, scheme, and srfi
opened 9 months ago by Dr. Arne Babenhauserheide, last updated 5 months ago
73300 [PATCH] fix: maven-surefire-plugin version parsing error team-java unanswered
opened 7 months ago by Dr. Arne Babenhauserheide, last updated 7 months ago
72984 wine64 fails to build: guix/build/utils.scm:761:4: In procedure alist-cons-after: Throw to key `match-error' with args `("match" "no matching pattern" ())'.
opened 7 months ago by Dr. Arne Babenhauserheide, last updated 7 months ago
71816 Emacs as build tool fails to launch after update
opened 9 months ago by Dr. Arne Babenhauserheide, last updated 9 months
ago
[...]
--8<---------------cut here---------------end--------------->8---

I think you'd have to add the .mumi/config file in Guile to be able to
do more:

$ cat .mumi/config 
((debbugs-host . "debbugs.gnu.org")
 (patch-email-address . "[email protected]")
 (mumi-host . "issues.guix.gnu.org"))

Other useful examples:

1. Applying a patch series locally

--8<---------------cut here---------------start------------->8---
$ cd src/guile   # your guile checkout
$ mumi current 74696
74696 [PATCH 1/1] srfi-1: map!: Re-use cons cells of first argument.
opened 4 months ago by Juliana Sims, last updated 1 months ago
$ mumi am 
Application de  srfi-1: map!: Re-use cons cells of first argument.
--8<---------------cut here---------------end--------------->8---

2. Send a multiple messages series
--8<---------------cut here---------------start------------->8---
$ git format-patch --cover-letter origin/master -o my-patches
# manually fixup my-patches/0000-cover-letter.patch
$ mumi send-email my-patches/*.patch
--8<---------------cut here---------------end--------------->8---

It will send the first patch (cover letter), poll until the new issue #
is created, and then prompt to send the rest.  The UI interaction with
git is a bit rough but it works.

Happy hacking!

-- 
Thanks,
Maxim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.