From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MBU9Nz7CbV8nXwAA0tVLHw (envelope-from ) for ; Fri, 25 Sep 2020 10:11:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8NoaMz7CbV9SHwAAB5/wlQ (envelope-from ) for ; Fri, 25 Sep 2020 10:11:10 +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 0D94B9402AA for ; Fri, 25 Sep 2020 10:11:10 +0000 (UTC) Received: from localhost ([::1]:40858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLkh2-00086o-UR for larch@yhetil.org; Fri, 25 Sep 2020 06:11:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLkgw-00085E-43 for guix-patches@gnu.org; Fri, 25 Sep 2020 06:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59429) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLkgv-0006h0-QT for guix-patches@gnu.org; Fri, 25 Sep 2020 06:11:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLkgv-0001Um-M8 for guix-patches@gnu.org; Fri, 25 Sep 2020 06:11: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, 25 Sep 2020 10:11: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 43477@debbugs.gnu.org Received: via spool by 43477-submit@debbugs.gnu.org id=B43477.16010286385708 (code B ref 43477); Fri, 25 Sep 2020 10:11:01 +0000 Received: (at 43477) by debbugs.gnu.org; 25 Sep 2020 10:10:38 +0000 Received: from localhost ([127.0.0.1]:42741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLkgU-0001Tx-6U for submit@debbugs.gnu.org; Fri, 25 Sep 2020 06:10:37 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLkgS-0001To-P7 for 43477@debbugs.gnu.org; Fri, 25 Sep 2020 06:10:33 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1601028623; cv=none; d=zohomail.com; s=zohoarc; b=Jbj2jsdmXqNcEAqxdiT/6qQiHdF09gcD2zmuB8nnHNIR0l+eCbE1rZeRpCz6TPCVctgFybcNnDlH3eeFjoO3uHiKSGz7IBId6xXg27M2m/iEmhRee+dPIjmOMPhIQ1OXhmjUqdU3VLCwosB18N/d5eDBLncwUsy5z0igjH0WhyE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601028623; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=t8RxgWp/3Q/DX2yuxaerEvtjYDcIncQE3cVECRdrkVw=; b=U7GBfblopLC3WIZUV7OCBnYe851daN61nqCnKCSgXDfBxM29HNGX33aLxtwNFnG5WBa141/FiMfMo/bhG4oadGmt5XFTJTDQG9S5Qyk8Qbi/pzlo7GaAP1ly0UR26MceiGkkL/KlIf4cTg48jDmVdfj9Udo/RsB1kA4udJIaBHs= 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=1601028623; 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=t8RxgWp/3Q/DX2yuxaerEvtjYDcIncQE3cVECRdrkVw=; b=ghZy8PYIuOW9l3xhLcPrK2NX9rgRe/zDu+VtGvAlnsL6IbOWHzWBlFj30p/c6OUb yTfEVvYyBGVLYr04ZK6yX/Ysr2M0GyDEmEdjG9ZmjQGbXGg/YXxL3Ta9FmHRK+9saVO DNEJ/QNK0CU8nXdH908U1UVPiRYrZL/UmTd93Ey4= Received: from localhost (p54ad4819.dip0.t-ipconnect.de [84.173.72.25]) by mx.zohomail.com with SMTPS id 1601028621030987.760064775682; Fri, 25 Sep 2020 03:10:21 -0700 (PDT) References: <20200917193931.14699-1-zimon.toutoune@gmail.com> <87v9gbtg9w.fsf@elephly.net> <87o8lv8cao.fsf@gnu.org> <87wo0i2odg.fsf@gnu.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus In-reply-to: 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, 25 Sep 2020 12:11:46 +0200 Message-ID: <87o8luf9nh.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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=ghZy8PYI; 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: VyXzNQZcN50o zimoun writes: > On Fri, 25 Sep 2020 at 11:32, Ludovic Court=C3=A8s wrote: >> zimoun skribis: > >> > For example, I would to know if all the packages in my profile are OK >> > about CVE and already archived on SWH, with the proposed patch, it is >> > simply: >> > >> > guix package -I | cut -f1 \ >> > | xargs -I{} ./pre-inst-env guix graph -b list-nodes {} \ >> > | xargs -I{} guix lint -c cve,archival {} >> > >> > and obviously instead "-t bag" could be used. >> > >> > Well, another option as "--list-nodes" could be added. WDTY? >> >> I think we should really focus on individual use cases and see how to >> best address them. For example there=E2=80=99s > > I am not sure to understand. The aim of pipe composition is to build > bigger use cases reusing smaller units, right? (friday's trolling > inside ;-)) > > My individual use case is to list all the nodes of one package. And > by "all the nodes" I mean for all the kinds of graph types. > > There is a "guix graph --path" which is really nice. Why not "guix > graph --list-nodes"? Wouldn=E2=80=99t the tree view that Ludo proposed match your use case? You= can still grep the output (filtering non-alphanum characters), but it would be more useful by default. --=20 Ricardo