From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WL3wEh0E72IQ0wAAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 02:15:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OAMIEh0E72LoJwAAG6o9tA (envelope-from ) for ; Sun, 07 Aug 2022 02:15:25 +0200 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 D16133D029 for ; Sun, 7 Aug 2022 02:15:24 +0200 (CEST) Received: from localhost ([::1]:45432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKTwy-0004p7-0t for larch@yhetil.org; Sat, 06 Aug 2022 20:15:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKTwc-0004ow-Qu for guix-patches@gnu.org; Sat, 06 Aug 2022 20:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKTwc-0002l7-H5 for guix-patches@gnu.org; Sat, 06 Aug 2022 20:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKTwc-0004F6-BD for guix-patches@gnu.org; Sat, 06 Aug 2022 20:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56428] [PATCH] home: Add -I, --list-installed option. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 00:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56428 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andrew Tropin Cc: 56428@debbugs.gnu.org, Antero Mejr Received: via spool by 56428-submit@debbugs.gnu.org id=B56428.165983124716230 (code B ref 56428); Sun, 07 Aug 2022 00:15:02 +0000 Received: (at 56428) by debbugs.gnu.org; 7 Aug 2022 00:14:07 +0000 Received: from localhost ([127.0.0.1]:35678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKTvj-0004Dh-HI for submit@debbugs.gnu.org; Sat, 06 Aug 2022 20:14:07 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:58008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKTvd-0004D3-Rs for 56428@debbugs.gnu.org; Sat, 06 Aug 2022 20:14:06 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4M0fvR3Jh9z9sSR; Sun, 7 Aug 2022 02:13:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1659831235; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=NkmlPUzJaKoLEw9VRE/3SeMg88Gfo/PQp7ZS4nqNyfk=; b=GEEf8purBOUQ4Aa00zW95r+ZRA/4IsK1C+Ki58L+WPpT536EdT9g7WAKOYNzoHTVf7lc1j gvK+WirQ5fQrtgNipp+MoY7IN/NALLiqvuZmwgXy2jSN5Nc5MUIevUi2NlYX6dN82595wO CEV0UbNoh70OXPB8749ioUTAMJLdjRhMBIw6BnX5tUddIW51oFCNTS9wZdmtG4Kd8hFstJ yS0yEufix7tt4kdW9H1ImSXYJJQ+7jPk7c+d/oAFhfNSuJM83/yTuoGU4pDkiLDGtNpflx ieEV3WkjaHiHcxIrJoloI+mVg0RE2eTlIhdM4GSD+mPTn94nGUelHcwvIAwPOQ== References: <20220706191311.14662-1-antero@mailbox.org> <87fsibb4nd.fsf@trop.in> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1659831233; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=NkmlPUzJaKoLEw9VRE/3SeMg88Gfo/PQp7ZS4nqNyfk=; b=ODfLBDIGVi5iezGo2iLXurIYx/qZHhChTe3ffN616rglP4vKWN8rqYHc1rEDhVQ7N+cHD0 hzAvqQrYiP6e8WjkccdGMlinh/rs27j7oJEBKsS1Tf4ZnGqQX3EmqlT9H/go1q0fD+dMG9 MRM4qZqaQrUXFCKwnHsQOmUFXPxPgQivBfVx8fSgZk35ZPGLkjmpSfGBRZpsKTCTRCQYMd ag+69zafDSK4N6EFGqFkRo+ED09+NVsQ738kPBP28ElzYnupJZ3+56b7buWhxhcpJe61tQ AwaVhu23fjEnu4rKtKhIlVJdrSmbTFGI7ti2N2rJUzre9t3SXTLdompaCcqKWg== Date: Sat, 06 Aug 2022 19:02:13 -0400 In-reply-to: <87fsibb4nd.fsf@trop.in> Message-ID: <87o7wwhpw3.fsf@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-MBO-RS-ID: 5cebb206b1b799247e6 X-MBO-RS-META: t7mmurk9dy7sqf9z8oqf7jr33p1tgd3x X-Rspamd-Queue-Id: 4M0fvR3Jh9z9sSR 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" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via 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=1659831325; h=from:from:sender:sender:reply-to: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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NkmlPUzJaKoLEw9VRE/3SeMg88Gfo/PQp7ZS4nqNyfk=; b=JONBRq2KZKcKcUUiFKOkIlpIPJ7LwaFIp8XmrhLxdk1XP7q0W/ksmXQSuLXdNLoGGEOcho SZA7FQHDyLxuenw2N4DvWP/NQ/txxoddNxgnGgWUVyS6IP4f/kc8blXK5fas2G1yulINHq ot4N3rrKw/f2cE285nNWna7A8Q5cEF5nbM4jNJ0tAWMI1sppGHv6kYTN4d2cd/JHoQmKlS jiBLkFZgwVP9rT//gy/UQpRsD32KWa2C4Mfy02X6/Bme1MIFY/YSiNhGgTUCh2OgMiQOyK Y0D3fGr4XVrv61SpV1ZElMkHErt4xqQXKx5mfF6turZQdGHhYnp3/b86l05w4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659831325; a=rsa-sha256; cv=none; b=EWW4r8gxy/bc2ZG82Un9kTh+Cb2O0gDzI+0ma0UaiYSB36cbwYNrN1UOGtxysmruKvEfqH asTs9Z7dJKj/HVbqESE3Sc0JbP3jpRNmT9anCXeu5UiTH93KuDA1hLPXk8mofSXCL9oz6v TWQWL4w0ru6PpkSnYIht6R9DLlMt7Qzg676vGLePjlGSbF6/e0bc2dEADc4AvhP994U+QG WsxXAcuK7fqhrITQyQPfYAFQsxoH8A+ZhC9oIfsZZ1L7D96YdrXBs3F5G8V9l+MGntTK+L gSmzzv8D0IH3X9gXWi8zi80GK0Sm3HdSQn5gDDt7Ulpx0xOMNbWkcdZqn3/uRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=GEEf8pur; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=ODfLBDIG; 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.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=GEEf8pur; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=ODfLBDIG; 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: D16133D029 X-Spam-Score: -3.59 X-Migadu-Scanner: scn1.migadu.com X-TUID: zxs+JAmUIsdU Andrew Tropin writes: > -I --list-installed works great, thank you. Just a thought for future: > Maybe it would be useful to have another option to list all the packages > in profile, including propagated. Not sure I fully understand. For example, if a profile's package "foo" has input "bar" and propagated-input "baz": - would you want both "bar" and "baz" listed? - would you want to know the relationships between the packages? Could this could be done with 'guix graph' by adding an ascii backend, like this: guix graph --backend=3Dascii -t references $(readlink -f \ ~/.guix-home/profile) to get this: +------------+-------+-----------------+------+ | package |parent |type |etc...| +------------+-------+-----------------+------+ | foo |profile|parent | | +------------+-------+-----------------+------+ | bar |foo |input | | +------------+-------+-----------------+------+ | baz |foo |propagated-input | | +------------+-------+-----------------+------+ or this: foo =E2=94=9C=E2=94=80=E2=94=80 bar (input) =E2=94=94=E2=94=80=E2=94=80 baz (propagated-input) Maybe a 'guix sbom' subcommand, for "Software Bill of Materials", would be better for displaying lists like this. Having an SBOM exporter would make Guix great for regulated applications like medical device software.