From patchwork Fri Mar 11 21:32:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 659 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CE91E27BBEA; Fri, 11 Mar 2022 21:33:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 974A327BBE9 for ; Fri, 11 Mar 2022 21:33:13 +0000 (GMT) Received: from localhost ([::1]:58464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSmsq-0006NY-QN for patchwork@mira.cbaines.net; Fri, 11 Mar 2022 16:33:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSmsh-0006NO-BA for guix-patches@gnu.org; Fri, 11 Mar 2022 16:33:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSmsg-0000iV-Uj for guix-patches@gnu.org; Fri, 11 Mar 2022 16:33:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nSmsg-0003zc-Ac; Fri, 11 Mar 2022 16:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54344] [PATCH 0/3] Add 'guix home extension-graph' and 'shepherd-graph' Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, guix-patches@gnu.org Resent-Date: Fri, 11 Mar 2022 21:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54344 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54344@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= , Andrew Tropin X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin Received: via spool by submit@debbugs.gnu.org id=B.164703436515321 (code B ref -1); Fri, 11 Mar 2022 21:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Mar 2022 21:32:45 +0000 Received: from localhost ([127.0.0.1]:38506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSmsP-0003z3-14 for submit@debbugs.gnu.org; Fri, 11 Mar 2022 16:32:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:48912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nSmsN-0003yv-1G for submit@debbugs.gnu.org; Fri, 11 Mar 2022 16:32:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSmsM-0006MC-RL for guix-patches@gnu.org; Fri, 11 Mar 2022 16:32:42 -0500 Received: from [2001:470:142:3::e] (port=33198 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSmsM-0000ge-7Q; Fri, 11 Mar 2022 16:32:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=Yfee+EhcERbZxByXWNilW2MdH6ZEuMehVEnERg2nfPs=; b=Y60qUK8PsSTyLT omZrX6m1oTBCTUCxQDx7T775JzRuaI8dZ/5i5MI/n78otwypP2rgZsnsVNXr3rh7MX7sf/mI/zm+S H8xeb9dV0hP+7rv7nFUiuCrEHXe7ZRg5kTO9LiXKiIEoGAQPr0j3WzKSdhpGRf7MWwYZNSvgqsswq InjQxVuCVZ8iRBdurNvoLlANjT9o6llMWuFH412BS6Im96c36a4nCOxyU+QoDPsb9mEQ++JTQb3nI AC+KncFdzS4A/LUfrunW0sLiwOMPBPNEo3Jwcyrc5VsNvTOFR6Vd41rA5mcoNFde8dRMv/g20mGji iAb0CAfN5QFxr6YQ3bsg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:61902 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSmsK-0002yu-Rs; Fri, 11 Mar 2022 16:32:41 -0500 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Fri, 11 Mar 2022 22:32:33 +0100 Message-Id: <20220311213233.12415-1-ludo@gnu.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello! These patches implement ‘guix home extension-graph’ and ‘guix home shepherd-graph’, similar to what ‘guix system’ provides. Until now these two commands were silently ignored. Thoughts? Ludo’. Ludovic Courtès (3): graph: Factorize 'lookup-backend'. home: services: Export record type accessors. guix home: Implement the 'extension-graph' and 'shepherd-graph' actions. doc/guix.texi | 31 +++++++++ gnu/home/services/shepherd.scm | 21 +++++- guix/graph.scm | 14 +++- guix/scripts/graph.scm | 9 +-- guix/scripts/home.scm | 117 +++++++++++++++++++++++++-------- guix/scripts/system.scm | 14 ++-- po/guix/POTFILES.in | 1 + tests/guix-home.sh | 8 +++ 8 files changed, 165 insertions(+), 50 deletions(-) base-commit: 5397c18157f12e9127b5a9a59b0aa5a4eb058839