From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oGMmIboCWl8sGQAA0tVLHw (envelope-from ) for ; Thu, 10 Sep 2020 10:40:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2NIjHboCWl+QfgAA1q6Kng (envelope-from ) for ; Thu, 10 Sep 2020 10:40:58 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 30DD79402A0 for ; Thu, 10 Sep 2020 10:40:58 +0000 (UTC) Received: from localhost ([::1]:46646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGK0f-0007rI-5U for larch@yhetil.org; Thu, 10 Sep 2020 06:40:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGJvu-0006UA-Jq for guix-patches@gnu.org; Thu, 10 Sep 2020 06:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGJvu-0003bd-9F for guix-patches@gnu.org; Thu, 10 Sep 2020 06:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGJvu-0002Tg-7T for guix-patches@gnu.org; Thu, 10 Sep 2020 06:36:02 -0400 Subject: bug#43159: [PATCHES v2] scripts: Use 'define-command' and have 'guix help' use that. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 10 Sep 2020 10:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 43159 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 43159-done@debbugs.gnu.org, Efraim Flashner , zimoun Mail-Followup-To: 43159@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 43159-done@debbugs.gnu.org id=D43159.15997341029430 (code D ref 43159); Thu, 10 Sep 2020 10:36:02 +0000 Received: (at 43159-done) by debbugs.gnu.org; 10 Sep 2020 10:35:02 +0000 Received: from localhost ([127.0.0.1]:37278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGJuv-0002Rs-Uw for submit@debbugs.gnu.org; Thu, 10 Sep 2020 06:35:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGJut-0002RU-S3 for 43159-done@debbugs.gnu.org; Thu, 10 Sep 2020 06:35:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55793) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGJuo-0003MK-Ja; Thu, 10 Sep 2020 06:34:54 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=43144 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kGJun-0006Va-RI; Thu, 10 Sep 2020 06:34:54 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200901203520.21103-1-ludo@gnu.org> <20200901204136.21375-1-ludo@gnu.org> <87r1rk595p.fsf@gmail.com> <87tuw9iw34.fsf_-_@gnu.org> Date: Thu, 10 Sep 2020 12:34:46 +0200 In-Reply-To: <87tuw9iw34.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Mon, 07 Sep 2020 14:56:47 +0200") Message-ID: <874ko5hqd5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: +6aib7ekOPMN Ludovic Court=C3=A8s skribis: > Here=E2=80=99s a v2 of the patches, where I tried to take your feedback i= nto > account. Changes: > > =E2=80=A2 Categories that appear in uses of =E2=80=98define-command=E2= =80=99 are now validated > at macro-expansion time. > > =E2=80=A2 (guix scripts) contains an alist of the known categories and > =E2=80=98show-help=E2=80=99 traverses it. > > =E2=80=A2 Changed the label for development commands to =E2=80=9Ccomman= ds for > development=E2=80=9D, and changed =E2=80=9Cadvanced=E2=80=9D to =E2= =80=9Cplumbing=E2=80=9D. > > =E2=80=A2 Added a =E2=80=9Cpackaging=E2=80=9D category. > > =E2=80=A2 Fixed the typos you reported. I pushed this v2 as 3794ce93be8216d8378df7b808ce7f53b1e05a53. Let=E2=80=99s iterate from here if people have ideas about better categoriz= ation or things like that. Thanks, Ludo=E2=80=99.