From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gHerFhzAK2J5bAEAgWs5BA (envelope-from ) for ; Fri, 11 Mar 2022 22:33:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0N98DxzAK2IEvAAAG6o9tA (envelope-from ) for ; Fri, 11 Mar 2022 22:33:16 +0100 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 82D7012F57 for ; Fri, 11 Mar 2022 22:33:15 +0100 (CET) Received: from localhost ([::1]:58464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSmsr-0006NY-D5 for larch@yhetil.org; Fri, 11 Mar 2022 16:33:13 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647034396; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Yfee+EhcERbZxByXWNilW2MdH6ZEuMehVEnERg2nfPs=; b=bwlEAfPqhAFhrqi4KWj3hPg1+y/gN4zQ8oE7GjH7rtppuhiUla1QIq/H0T1Sf1WxUHKteA ltNrCpamXRqvKw3qD17Dn5Y/SK+YVlejlYFcOlTK+cIh8M+vgh9FyMp2elLBiynCZPMlDZ YlFnwTnkXbl42hYq+Xxu6FQ4d92SJAVfwMbmSk262OYSfnqW3iPemPelcyQR2YffQARqpz o161NVfOQbtKRgY/Go/z7oQjGrs9sv5gNL/56G3VtgdsaoZvvFytrJOXAGbOlFSZFoWeg3 31Eyl+dHzR2i+Uy5mPRit2IA/qD97PbABoU+wmJEFNTQgjEoW870Hzf9JuPgaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647034396; a=rsa-sha256; cv=none; b=TzMVu3KUUW4sJExMytPTkqEE9cMfgplstHtE4CaFq5lEPw+8W6Khm7ieX+NPtCHQBkjAY4 /SVBzOThYZsMy514W5kKz1reOrLuAsKwXYwRXHnCX3Bf6xYH5HJprx939tUM0oq/QvZ9kE eryl2tzyBRWrsmsTZvQfkguIZSpAImZ09J4Y2pL/EHeHg9bc829J20dlrNDvKq7lYEypg/ T65jviPk2QXVdBKBz+RNC4UULCQkGDn/4iR7yEfXYO8EfORZAREom+t08UyWpYgcwwB6Tz T/qF/PSKrXDzAhpcgCszkd2c7qyjcX+qgnrJ4udINcPRbsCGUaO37Q1s69UsYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Y60qUK8P; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Y60qUK8P; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 82D7012F57 X-Spam-Score: -3.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: /xLNdrIiq323 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 -- 2.34.0