From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wIV8BkOpZF+GVwAA0tVLHw (envelope-from ) for ; Fri, 18 Sep 2020 12:34:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aFBFAkOpZF/RBwAAbx9fmQ (envelope-from ) for ; Fri, 18 Sep 2020 12:34:11 +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 B5A3394050F for ; Fri, 18 Sep 2020 12:34:09 +0000 (UTC) Received: from localhost ([::1]:46550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJFaa-0000oy-Ns for larch@yhetil.org; Fri, 18 Sep 2020 08:34:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJFaU-0000oK-99 for guix-patches@gnu.org; Fri, 18 Sep 2020 08:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJFaT-0003Ri-WF for guix-patches@gnu.org; Fri, 18 Sep 2020 08:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJFaT-0007q0-RS for guix-patches@gnu.org; Fri, 18 Sep 2020 08:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43477] [PATCH 0/1] guix: graph: Add 'plain' backend. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Sep 2020 12:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43477 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 43477@debbugs.gnu.org X-Debbugs-Original-Cc: 43477@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160043240430080 (code B ref -1); Fri, 18 Sep 2020 12:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Sep 2020 12:33:24 +0000 Received: from localhost ([127.0.0.1]:41163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJFZr-0007p4-QE for submit@debbugs.gnu.org; Fri, 18 Sep 2020 08:33:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:41178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJFZq-0007os-0d for submit@debbugs.gnu.org; Fri, 18 Sep 2020 08:33:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJFZp-0000l2-PP for guix-patches@gnu.org; Fri, 18 Sep 2020 08:33:21 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJFZo-0003Jn-5c for guix-patches@gnu.org; Fri, 18 Sep 2020 08:33:21 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600432398; cv=none; d=zohomail.com; s=zohoarc; b=MiQFHj5Zjl7N22uOoqlqVVHlILdgRUUva1RERQy7mbUlSIksXRj5o1N7zRZnZ/e5hOBOkeaxYfusayvGzM8HtP41VxHyuHcaoqKd5WIZn7/6UpdfYx+nftHQ1CXhfD8U/jOMUaXjjbLbmt+AuUsBJEsjCoooKLCeWDdROdY/xSg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600432398; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=EnVW0fLeXexI7zVrTqjvchYXYh6XsiiZg019hsJ3urU=; b=heX0LtgVTslzDmw5j86Dl1xGZMmgqqrzv0IzKHRQ7WopqCJeYKw7yds/EMFb2BZrOiJDv0rmw1kQBY/thRpssiESAyrUK1cBjDlHtKNxGmkW/uDg87/MVbjsd23QXKSOoq5bbCXRnHWhFu9g53uBszxWeKRV1A+6bdw4mpznlq8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600432398; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=EnVW0fLeXexI7zVrTqjvchYXYh6XsiiZg019hsJ3urU=; b=IpHfu/3q9JC0UL3K50lZ5nqfXB5/0nTbmU+LQUBOOQKl45lZx50GOdxD/L1LhAxH Xn6w4r/BakZRwPQUGgZJCdjWGE1xsH43zTlh9CuJAN/jlmcbSrAYx2tOGX/q3CHm8cu 5mH20K7Pz2UCivbd/FWqGWvMD9y4NYKzIwXb+VAU= Received: from localhost (p54ad4d4d.dip0.t-ipconnect.de [84.173.77.77]) by mx.zohomail.com with SMTPS id 160043239585461.54106198168142; Fri, 18 Sep 2020 05:33:15 -0700 (PDT) References: <20200917193931.14699-1-zimon.toutoune@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus In-reply-to: <20200917193931.14699-1-zimon.toutoune@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 18 Sep 2020 14:34:35 +0200 Message-ID: <87v9gbtg9w.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 08:23:11 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.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=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=IpHfu/3q; 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: 1.99 X-TUID: D8b74G+Xksqv zimoun writes: > Dear, > > I am always annoyed when I use "guix graph" because most of the time I ru= n: > > guix graph htop | grep label > > or something along these lines. Instead, the patch avoids the grep part: > > --8<---------------cut here---------------start------------->8--- > $ ./pre-inst-env guix graph -b plain htop > htop@3.0.2 > autoconf@2.69 > perl@5.30.2 > m4@1.4.18 > automake@1.16.2 > autoconf-wrapper@2.69 > guile@2.0.14 > pkg-config@0.29.2 > libffi@3.3 > bash-minimal@5.0.16 > libunistring@0.9.10 > libltdl@2.4.6 > libgc@8.0.4 > gmp@6.2.0 > bash@5.0.16 > readline@8.0.4 > ncurses@6.2 > --8<---------------cut here---------------end--------------->8--- Is that still a graph, though=E2=80=A6? It reminds me of =E2=80=9Cguix gc -R /gnu/store/=E2=80=A6-something=E2=80= =9D, except that in your case the output is for things that haven=E2=80=99t necessarily been realized as store items yet. --=20 Ricardo