[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/40: doc: Document mumi command-line interface.
From: |
guix-commits |
Subject: |
07/40: doc: Document mumi command-line interface. |
Date: |
Tue, 5 Sep 2023 20:02:16 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit e0397faf6ff02842f70ee660981a8311774103af
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Sep 4 22:31:57 2023 +0100
doc: Document mumi command-line interface.
* doc/contributing.texi (Debbugs User Interfaces)[Command-line interface]:
New
subsubsection. Update menus.
* doc/guix.texi: Bump copyright year.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
doc/contributing.texi | 98 ++++++++++++++++++++++++++++++++++++++++++++++++---
doc/guix.texi | 2 +-
2 files changed, 95 insertions(+), 5 deletions(-)
diff --git a/doc/contributing.texi b/doc/contributing.texi
index 69f0327afb..fa9238fde8 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -1345,6 +1345,12 @@ should not be delayed.
When a bug is resolved, please close the thread by sending an email to
@email{@var{ISSUE_NUMBER}-done@@debbugs.gnu.org}.
+@menu
+* Configuring Git::
+* Sending a Patch Series::
+* Teams::
+@end menu
+
@node Configuring Git
@subsection Configuring Git
@cindex git configuration
@@ -1542,10 +1548,10 @@ This section describes how the Guix project tracks its
bug reports,
patch submissions and topic branches.
@menu
-* The Issue Tracker:: The official bug and patch tracker.
-* Managing Patches and Branches:: How changes to Guix are managed.
-* Debbugs User Interfaces:: Ways to interact with Debbugs.
-* Debbugs Usertags:: Tag reports with custom labels.
+* The Issue Tracker:: The official bug and patch tracker.
+* Managing Patches and Branches:: How changes to Guix are managed.
+* Debbugs User Interfaces:: Ways to interact with Debbugs.
+* Debbugs Usertags:: Tag reports with custom labels.
@end menu
@node The Issue Tracker
@@ -1625,6 +1631,8 @@ information on some builds and substitute availability.
@node Debbugs User Interfaces
@subsection Debbugs User Interfaces
+@subsubsection Web interface
+
A web interface (actually @emph{two} web interfaces!) are available to
browse issues:
@@ -1646,6 +1654,88 @@ To view discussions related to issue number @var{n}, go
to
@indicateurl{https://issues.guix.gnu.org/@var{n}} or
@indicateurl{https://bugs.gnu.org/@var{n}}.
+@subsubsection Command-line interface
+
+Mumi also comes with a command-line interface that can be used to search
+existing issues, open new issues and send patches. You do not need to
+use Emacs to use the mumi command-line client. You interact with it
+only on the command-line.
+
+To use the mumi command-line interface, navigate to a local clone of the
+Guix git repository, and drop into a shell with mumi, git and
+git:send-email installed.
+
+@example
+$ cd guix
+~/guix$ guix shell mumi git git:send-email
+@end example
+
+To search for issues, say all open issues about "zig", run
+
+@example
+~/guix [env]$ mumi search zig is:open
+
+#60889 Add zig-build-system
+opened on 17 Jan 17:37 Z by Ekaitz Zarraga
+#61036 [PATCH 0/3] Update zig to 0.10.1
+opened on 24 Jan 09:42 Z by Efraim Flashner
+#39136 [PATCH] gnu: services: Add endlessh.
+opened on 14 Jan 2020 21:21 by Nicol? Balzarotti
+#60424 [PATCH] gnu: Add python-online-judge-tools
+opened on 30 Dec 2022 07:03 by gemmaro
+#45601 [PATCH 0/6] vlang 0.2 update
+opened on 1 Jan 2021 19:23 by Ryan Prior
+@end example
+
+Pick an issue and make it the "current" issue.
+
+@example
+~/guix [env]$ mumi current 61036
+
+#61036 [PATCH 0/3] Update zig to 0.10.1
+opened on 24 Jan 09:42 Z by Efraim Flashner
+@end example
+
+Once an issue is the current issue, you can easily create and send
+patches to it using
+
+@example
+~/guix [env]$ git format-patch origin/master
+~/guix [env]$ mumi send-email foo.patch bar.patch
+@end example
+
+Note that you do not have to pass in @samp{--to} or @samp{--cc}
+arguments to @command{git format-patch}. @command{mumi send-email} will
+put them in correctly when sending the patches.
+
+To open a new issue, run
+
+@example
+~/guix [env]$ mumi new
+@end example
+
+and send patches
+
+@example
+~/guix [env]$ mumi send-email foo.patch bar.patch
+@end example
+
+@command{mumi send-email} is really a wrapper around @command{git
+send-email} that automates away all the nitty-gritty of sending patches.
+It uses the current issue state to automatically figure out the correct
+@samp{To} address to send to, other participants to @samp{Cc}, headers
+to add, etc.
+
+Also note that, unlike @command{git send-email}, @command{mumi
+send-email} works perfectly well with single and multiple patches alike.
+It automates away the debbugs dance of sending the first patch, waiting
+for a response from debbugs and sending the remaining patches. It does
+so by sending the first patch, polling the server for a response, and
+then sending the remaining patches. This polling can unfortunately take
+a few minutes. So, please be patient.
+
+@subsubsection Emacs interface
+
If you use Emacs, you may find it more convenient to interact with
issues using @file{debbugs.el}, which you can install with:
diff --git a/doc/guix.texi b/doc/guix.texi
index a6b74ce9c7..fa4faf4165 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -53,7 +53,7 @@ Copyright @copyright{} 2017, 2019, 2020, 2021, 2022, 2023
Maxim Cournoyer@*
Copyright @copyright{} 2017–2022 Tobias Geerinckx-Rice@*
Copyright @copyright{} 2017 George Clemmer@*
Copyright @copyright{} 2017 Andy Wingo@*
-Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@*
+Copyright @copyright{} 2017, 2018, 2019, 2020, 2023 Arun Isaac@*
Copyright @copyright{} 2017 nee@*
Copyright @copyright{} 2018 Rutger Helling@*
Copyright @copyright{} 2018, 2021 Oleg Pykhalov@*
- branch master updated (6548efcd73 -> c3d48d024b), guix-commits, 2023/09/05
- 37/40: gnu: skia: Update to 112.0.6d0b938., guix-commits, 2023/09/05
- 22/40: gnu: Add libmodbus., guix-commits, 2023/09/05
- 31/40: gnu: arcan: Use new style arguments., guix-commits, 2023/09/05
- 12/40: gnu: granite: Upgrade to 7.3.0., guix-commits, 2023/09/05
- 03/40: gnu: mympd: Update to 11.0.5., guix-commits, 2023/09/05
- 07/40: doc: Document mumi command-line interface.,
guix-commits <=
- 23/40: gnu: Add book-sparc., guix-commits, 2023/09/05
- 09/40: gnu: emacs-magit: Update to 3.3.0-5.186414a., guix-commits, 2023/09/05
- 17/40: gnu: thunar: Update to 4.18.7., guix-commits, 2023/09/05
- 20/40: gnu: Add font-junicode., guix-commits, 2023/09/05
- 24/40: gnu: kdenlive: Add missing kirigami input., guix-commits, 2023/09/05
- 33/40: gnu: arcan-wayland: Deprecate in favor of arcan., guix-commits, 2023/09/05
- 10/40: gnu: ibus: Disable registry cache., guix-commits, 2023/09/05
- 08/40: gnu: emacs-transient: Update to 0.4.3-0.cc0fa80., guix-commits, 2023/09/05
- 05/40: gnu: highlight: Update to 4.8., guix-commits, 2023/09/05
- 01/40: gnu: ungoogled-chromium-wayland: Use gexp., guix-commits, 2023/09/05