public inbox for tools@linux.kernel.org
 help / color / mirror / Atom feed
From: Quentin Schulz <foss+kernel@0leil.net>
To: "Kernel.org Tools" <tools@kernel.org>
Cc: Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
	 Quentin Schulz <quentin.schulz@cherry.de>
Subject: [PATCH b4 19/21] docs: config: sort glossaries
Date: Tue, 03 Feb 2026 14:31:18 +0100	[thread overview]
Message-ID: <20260203-misc-docs-v1-19-fddb72511357@cherry.de> (raw)
In-Reply-To: <20260203-misc-docs-v1-0-fddb72511357@cherry.de>

From: Quentin Schulz <quentin.schulz@cherry.de>

This sorts the term defined in glossaries such that they appear
alphabetically in the docs.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
 docs/config.rst | 324 +++++++++++++++++++++++++++++---------------------------
 1 file changed, 166 insertions(+), 158 deletions(-)

diff --git a/docs/config.rst b/docs/config.rst
index cd205fd..f2ed519 100644
--- a/docs/config.rst
+++ b/docs/config.rst
@@ -39,12 +39,14 @@ Core options
 These options control many of the core features of b4.
 
 .. glossary::
+   :sorted:
 
-   :term:`b4.midmask`
-     Specifies the server from where to retrieve the messages specified by
-     their message-id.
+   :term:`b4.cache-expire`
+     B4 caches retrieved threads for 10 minutes. This option allows
+     tweaking the time that the cache remains valid. Many commands also
+     allow a ``--no-cache`` flag to force b4 to perform remote lookups.
 
-     Default: ``https://lore.kernel.org/%s``
+     Default: ``10``
 
    :term:`b4.linkmask`
      B4 uses this setting to construct the URL in the ``Link:`` trailers.
@@ -53,13 +55,6 @@ These options control many of the core features of b4.
 
      Default: ``https://lore.kernel.org/%s``
 
-   :term:`b4.searchmask`
-     B4 uses this setting to query and retrieve threads matching specific
-     search terms. For example, it can retrieve trailer updates using the
-     series ``change-id`` identifier.
-
-     Default: ``https://lore.kernel.org/all/?x=m&t=1&q=%s``
-
    :term:`b4.linktrailermask`
      Overrides the format of the ``Link:`` trailer, in case you want to
      call it something other than "Link". For example, some projects
@@ -87,6 +82,12 @@ These options control many of the core features of b4.
 
      Default: ``*.feeds.kernel.org, *.linux.dev,*.kernel.org,*``
 
+   :term:`b4.midmask`
+     Specifies the server from where to retrieve the messages specified by
+     their message-id.
+
+     Default: ``https://lore.kernel.org/%s``
+
    :term:`b4.save-maildirs`
      The "mbox" file format is actually several incompatible standards,
      such as "mboxo" vs. "mboxrd". Setting this option can avoid potential
@@ -94,6 +95,13 @@ These options control many of the core features of b4.
 
      Default: ``no``
 
+   :term:`b4.searchmask`
+     B4 uses this setting to query and retrieve threads matching specific
+     search terms. For example, it can retrieve trailer updates using the
+     series ``change-id`` identifier.
+
+     Default: ``https://lore.kernel.org/all/?x=m&t=1&q=%s``
+
    :term:`b4.trailer-order`
      This lets you control the order of trailers that get added to your own
      custody section of the commit message. By default, b4 applies these
@@ -135,13 +143,6 @@ These options control many of the core features of b4.
 
      Default: ``None``
 
-   :term:`b4.cache-expire`
-     B4 caches retrieved threads for 10 minutes. This option allows
-     tweaking the time that the cache remains valid. Many commands also
-     allow a ``--no-cache`` flag to force b4 to perform remote lookups.
-
-     Default: ``10``
-
 .. _shazam_settings:
 
 ``am`` and ``shazam`` settings
@@ -149,6 +150,18 @@ These options control many of the core features of b4.
 These settings control ``b4 am`` and ``b4 shazam`` behavior.
 
 .. glossary::
+   :sorted:
+
+   :term:`b4.am-perpatch-check-cmd`
+     The command to use when running ``--check``. The command is run once for each
+     patch to check. The patch file to check is piped through stdin. If this
+     config is defined multiple times, all commands will be run. If this config is
+     not defined and b4 finds ``scripts/checkpatch.pl`` at the top of your git
+     tree, it uses the command shown below by default.
+
+     Default: ``./scripts/checkpatch.pl -q --terse --no-summary --mailback``
+
+     .. versionadded:: v0.14
 
    :term:`b4.shazam-am-flags`
      Additional flags to pass to ``git am`` when applying patches.
@@ -169,34 +182,13 @@ These settings control ``b4 am`` and ``b4 shazam`` behavior.
 
      Default: ``None``
 
-   :term:`b4.am-perpatch-check-cmd`
-     The command to use when running ``--check``. The command is run once for each
-     patch to check. The patch file to check is piped through stdin. If this
-     config is defined multiple times, all commands will be run. If this config is
-     not defined and b4 finds ``scripts/checkpatch.pl`` at the top of your git
-     tree, it uses the command shown below by default.
-
-     Default: ``./scripts/checkpatch.pl -q --terse --no-summary --mailback``
-
-     .. versionadded:: v0.14
-
 .. _attestation_settings:
 
 Attestation settings
 ~~~~~~~~~~~~~~~~~~~~
 
 .. glossary::
-
-   :term:`b4.attestation-policy`
-     B4 supports domain-level and end-to-end attestation of patches using
-     the `patatt`_ library. There are four different operation modes:
-
-     * ``off``: don't bother checking attestation at all
-     * ``softfail``: print green marks when attestation is passing and
-       red marks when it's failing
-     * ``hardfail``: exit with an error when any attestation checks fail
-
-     Default: ``softfail``
+   :sorted:
 
    :term:`b4.attestation-check-dkim`
      Controls whether to perform DKIM attestation checks.
@@ -214,6 +206,23 @@ Attestation settings
 
      .. versionadded:: v0.14
 
+   :term:`b4.attestation-gnupghome`
+     Sets ``GNUPGHOME`` before running PGP attestation checks that rely on
+     GnuPG.
+
+     Default: ``None``
+
+   :term:`b4.attestation-policy`
+     B4 supports domain-level and end-to-end attestation of patches using
+     the `patatt`_ library. There are four different operation modes:
+
+     * ``off``: don't bother checking attestation at all
+     * ``softfail``: print green marks when attestation is passing and
+       red marks when it's failing
+     * ``hardfail``: exit with an error when any attestation checks fail
+
+     Default: ``softfail``
+
    :term:`b4.attestation-staleness-days`
      Ignore attestation signatures that are more than this many days
      old. This helps avoid a class of attacks when someone re-sends old
@@ -221,12 +230,6 @@ Attestation settings
 
      Default: ``30``
 
-   :term:`b4.attestation-gnupghome`
-     Sets ``GNUPGHOME`` before running PGP attestation checks that rely on
-     GnuPG.
-
-     Default: ``None``
-
    :term:`b4.gpgbin`
      Full path to a different binary to use for ``gpg``. B4 also checks the
      ``gpg.program`` setting, and uses that value, if found.
@@ -253,12 +256,21 @@ Attestation settings
 ~~~~~~~~~~~~~~~
 
 .. glossary::
+   :sorted:
 
-   :term:`b4.thanks-pr-template`
-     Full paths to the templates to use when generating thank-you messages
-     for contributors. Take the following as example content for this file:
+   :term:`b4.email-exclude`
+     A list of addresses to always exclude from the message recipients.
+     Expects a comma-separated list with shell-style globbing. E.g.::
 
-     .. literalinclude:: ../src/b4/templates/thanks-pr-template.example
+         email-exclude = *@codeaurora.org, *@obsolete.example.com
+
+     Default: ``None``
+
+   :term:`b4.sendemail-identity`
+     The ``sendemail`` identity to use when sending mail directly with b4.
+     This setting applies to ``b4 send`` and ``b4 ty``. See `man
+     git-send-email <https://git-scm.com/docs/git-send-email>`__ for info about
+     sendemail identities.
 
      Default: ``None``
 
@@ -284,16 +296,6 @@ Attestation settings
 
      Default: ``None``
 
-   :term:`b4.thanks-from-name`
-     The name to use in the ``From:`` header when sending thank-you notes.
-     By default, b4 uses ``user.name``. For example::
-
-         thanks-from-name = Project Foo Thanks Bot
-
-     Default: ``None``
-
-     .. versionadded:: v0.13
-
    :term:`b4.thanks-from-email`
      The email to use in the ``From:`` header when sending thank-you notes.
      By default, b4 uses ``user.email``. For example::
@@ -304,26 +306,29 @@ Attestation settings
 
      .. versionadded:: v0.13
 
+   :term:`b4.thanks-from-name`
+     The name to use in the ``From:`` header when sending thank-you notes.
+     By default, b4 uses ``user.name``. For example::
+
+         thanks-from-name = Project Foo Thanks Bot
+
+     Default: ``None``
+
+     .. versionadded:: v0.13
+
+   :term:`b4.thanks-pr-template`
+     Full paths to the templates to use when generating thank-you messages
+     for contributors. Take the following as example content for this file:
+
+     .. literalinclude:: ../src/b4/templates/thanks-pr-template.example
+
+     Default: ``None``
+
    :term:`b4.thanks-treename`
      Name of the tree to use in the thank-you templates.
 
      Default: ``None``
 
-   :term:`b4.email-exclude`
-     A list of addresses to always exclude from the message recipients.
-     Expects a comma-separated list with shell-style globbing. E.g.::
-
-         email-exclude = *@codeaurora.org, *@obsolete.example.com
-
-     Default: ``None``
-
-   :term:`b4.sendemail-identity`
-     The ``sendemail`` identity to use when sending mail directly with b4.
-     This setting applies to ``b4 send`` and ``b4 ty``. See `man
-     git-send-email <https://git-scm.com/docs/git-send-email>`__ for info about
-
-     Default: ``None``
-
    :term:`b4.ty-send-email`
      When set, tells ``b4 ty`` to send email directly instead of writing
      out ``.thanks`` files.
@@ -340,13 +345,21 @@ If your project uses a patchwork server, setting these allows you to
 integrate your b4 workflow with patchwork.
 
 .. glossary::
+   :sorted:
 
-   :term:`b4.pw-url`
-     The URL of your patchwork server. Note, that this should point at the
-     top-level of your patchwork installation and **not** at the project patch
-     listing. For example::
+   :term:`b4.pw-accept-state`
+     Enabling this option makes ``b4 ty`` set the status of any applied patches
+     to the specified state. For example::
 
-         pw-url = https://patchwork.kernel.org/
+         pw-accept-state = accepted
+
+     Default: ``None``
+
+   :term:`b4.pw-discard-state`
+     Enabling this option makes ``b4 ty -d`` set the status of any matching
+     patches to the specified state. For example::
+
+         pw-discard-state = rejected
 
      Default: ``None``
 
@@ -372,19 +385,12 @@ integrate your b4 workflow with patchwork.
 
      Default: ``None``
 
-   :term:`b4.pw-accept-state`
-     Enabling this option makes ``b4 ty`` set the status of any applied patches
-     to the specified state. For example::
+   :term:`b4.pw-url`
+     The URL of your patchwork server. Note, that this should point at the
+     top-level of your patchwork installation and **not** at the project patch
+     listing. For example::
 
-         pw-accept-state = accepted
-
-     Default: ``None``
-
-   :term:`b4.pw-discard-state`
-     Enabling this option makes ``b4 ty -d`` set the status of any matching
-     patches to the specified state. For example::
-
-         pw-discard-state = rejected
+         pw-url = https://patchwork.kernel.org/
 
      Default: ``None``
 
@@ -394,63 +400,7 @@ Contributor-oriented settings
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 .. glossary::
-
-   :term:`b4.send-endpoint-web`
-     The web submission endpoint to use. See :ref:`web_endpoint`.
-
-     Default: ``None``
-
-   :term:`b4.send-series-to`
-     A comma-separated list of addresses to always add to the "To:" header.
-     See :ref:`prep_recipients`.
-
-     Default: ``None``
-
-   :term:`b4.send-series-cc`
-     A comma-separated list of addresses to always add to the "Cc:" header.
-     See :ref:`prep_recipients`.
-
-     Default: ``None``
-
-   :term:`b4.send-no-patatt-sign`
-     Instructs b4 not to sign patches with patatt before sending them. Note, that
-     using the web submission endpoint requires using signed patches.
-
-     Default: ``no``
-
-   :term:`b4.send-auto-to-cmd`
-     The command to use for obtaining the list of "To:" recipients. The command is
-     run once for each patch in the series. Each patch file is piped through
-     stdin. If b4 finds ``scripts/get_maintainer.pl`` at the top of your git tree,
-     it uses the command shown below by default.
-
-     Default: ``scripts/get_maintainer.pl --nogit --nogit-fallback --nogit-chief-penguins --norolestats --nol``
-
-   :term:`b4.send-auto-cc-cmd`
-     The command to use for obtaining the list of "Cc:" recipients. The command is
-     run once for each patch in the series. Each patch file is piped through
-     stdin. If b4 finds ``scripts/get_maintainer.pl`` at the top of your git tree,
-     it uses the command shown below by default.
-
-     Default: ``scripts/get_maintainer.pl --nogit --nogit-fallback --nogit-chief-penguins --norolestats --nom``
-
-   :term:`b4.send-same-thread`
-     When sending a new version of a series, send it in the same thread as
-     the previous version. The config supports the following values:
-
-     * ``yes``, ``true``, ``y``: B4 sends the first message of the new series as a
-       reply to the previous version's cover letter.
-     * ``shallow``: B4 sends the first message of the new series as a reply to the
-       first version's cover letter.
-     * ``no``: B4 does not send the new version of the series in the same thread
-       as any previous version.
-
-     Default: ``no``
-
-     .. versionadded:: v0.13
-
-     .. versionchanged:: v0.15
-        Added ``shallow`` config value.
+   :sorted:
 
    :term:`b4.prep-cover-strategy`
      Alternative cover letter storage strategy to use, in case you don't
@@ -473,15 +423,6 @@ Contributor-oriented settings
 
      Default: ``None``
 
-   :term:`b4.send-prefixes`
-     Extra prefixes to add to ``[PATCH]`` (e.g. ``RFC mydrv``).
-
-     This setting can be replaced for a series with ``b4 prep --set-prefixes``.
-
-     Default: ``None``
-
-     .. versionadded:: v0.11
-
    :term:`b4.prep-perpatch-check-cmd`
      The command to use when running ``--check``. The command is run once for each
      patch to check. The patch file to check is piped through stdin. If this
@@ -508,10 +449,77 @@ Contributor-oriented settings
 
      .. versionadded:: v0.14
 
+   :term:`b4.send-auto-cc-cmd`
+     The command to use for obtaining the list of "Cc:" recipients. The command is
+     run once for each patch in the series. Each patch file is piped through
+     stdin. If b4 finds ``scripts/get_maintainer.pl`` at the top of your git tree,
+     it uses the command shown below by default.
+
+     Default: ``scripts/get_maintainer.pl --nogit --nogit-fallback --nogit-chief-penguins --norolestats --nom``
+
+   :term:`b4.send-auto-to-cmd`
+     The command to use for obtaining the list of "To:" recipients. The command is
+     run once for each patch in the series. Each patch file is piped through
+     stdin. If b4 finds ``scripts/get_maintainer.pl`` at the top of your git tree,
+     it uses the command shown below by default.
+
+     Default: ``scripts/get_maintainer.pl --nogit --nogit-fallback --nogit-chief-penguins --norolestats --nol``
+
+   :term:`b4.send-endpoint-web`
+     The web submission endpoint to use. See :ref:`web_endpoint`.
+
+     Default: ``None``
+
+   :term:`b4.send-no-patatt-sign`
+     Instructs b4 not to sign patches with patatt before sending them. Note, that
+     using the web submission endpoint requires using signed patches.
+
+     Default: ``no``
+
+   :term:`b4.send-prefixes`
+     Extra prefixes to add to ``[PATCH]`` (e.g. ``RFC mydrv``).
+
+     This setting can be replaced for a series with ``b4 prep --set-prefixes``.
+
+     Default: ``None``
+
+     .. versionadded:: v0.11
+
+   :term:`b4.send-same-thread`
+     When sending a new version of a series, send it in the same thread as
+     the previous version. The config supports the following values:
+
+     * ``yes``, ``true``, ``y``: B4 sends the first message of the new series as a
+       reply to the previous version's cover letter.
+     * ``shallow``: B4 sends the first message of the new series as a reply to the
+       first version's cover letter.
+     * ``no``: B4 does not send the new version of the series in the same thread
+       as any previous version.
+
+     Default: ``no``
+
+     .. versionadded:: v0.13
+
+     .. versionchanged:: v0.15
+        Added ``shallow`` config value.
+
+   :term:`b4.send-series-cc`
+     A comma-separated list of addresses to always add to the "Cc:" header.
+     See :ref:`prep_recipients`.
+
+     Default: ``None``
+
+   :term:`b4.send-series-to`
+     A comma-separated list of addresses to always add to the "To:" header.
+     See :ref:`prep_recipients`.
+
+     Default: ``None``
+
 To document
 -----------
 
 .. glossary::
+   :sorted:
 
    :term:`b4.gh-api-key`
      Deliberately undocumented because the feature is incomplete and poorly

-- 
2.52.0


  parent reply	other threads:[~2026-02-03 13:31 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-03 13:30 [PATCH b4 00/21] docs: various fixes + migration from definition lists to glossaries for config settings Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 01/21] docs: maintainer: ty: fix incorrect config name for templates Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 02/21] docs: prep: add info on when range-diff-opts was added Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 03/21] docs: diff: " Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 04/21] docs: contributor: send: fix sendmail typo Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 05/21] docs: config: separate b4.thanks-pr-template and b4.thanks-am-template Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 06/21] docs: use rST version admonitions for command options Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 07/21] docs: use versionadded admonition for sections Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 08/21] docs: maintainer: use deprecated admonition Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 09/21] docs: config: provide link to git-config conf file documentation Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 10/21] docs: config: fix discrepancy between example strings Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 11/21] docs: move sentence-ending dots from within the last quoted string to outside Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 12/21] docs: config: add missing dot at end of sentence Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 13/21] docs: config: provide link to patatt Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 14/21] docs: config: provide link to git-send-email manpage Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 15/21] docs: config: fix double colon typo Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 16/21] docs: config: provide example content for template files Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 17/21] docs: config: use rST version admonitions Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 18/21] docs: config: migrate definition lists to glossaries Quentin Schulz
2026-02-03 13:31 ` Quentin Schulz [this message]
2026-02-03 13:31 ` [PATCH b4 20/21] docs: cross-reference config options with :term: Quentin Schulz
2026-02-03 13:31 ` [PATCH b4 21/21] docs: maintainer: am-shazam: cross-reference b4.linkmask for --add-link Quentin Schulz
2026-02-03 22:00 ` [PATCH b4 00/21] docs: various fixes + migration from definition lists to glossaries for config settings Konstantin Ryabitsev
2026-02-09 11:09   ` Quentin Schulz
2026-02-24 17:02 ` Konstantin Ryabitsev

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

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

  git send-email \
    --in-reply-to=20260203-misc-docs-v1-19-fddb72511357@cherry.de \
    --to=foss+kernel@0leil.net \
    --cc=konstantin@linuxfoundation.org \
    --cc=quentin.schulz@cherry.de \
    --cc=tools@kernel.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox