GNU bug report logs -
#43477
[PATCH 0/1] guix: graph: Add 'plain' backend.
Previous Next
Reported by: zimoun <zimon.toutoune <at> gmail.com>
Date: Thu, 17 Sep 2020 19:40:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #47 received at 43477 <at> debbugs.gnu.org (full text, mbox):
Hi,
zimoun <zimon.toutoune <at> gmail.com> skribis:
> On Fri, 25 Sep 2020 at 12:10, Ricardo Wurmus <rekado <at> elephly.net> wrote:
>
>> > There is a "guix graph --path" which is really nice. Why not "guix
>> > graph --list-nodes"?
>>
>> Wouldn’t 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.
>
> I would say no. :-) You are proposing:
>
> guix graph -b ludo-backend | tr -dc '\0-\177'
>
> right?
I don’t think so. The tree view would be a way to visualize the graph,
first and foremost.
What I meant to say was that, if we have other use cases, we can write
new commands or extend existing ones to cater to those needs. That’s
how ‘guix size’, etc. came to life. “Listing nodes” is not a use case
per se, but rather an means to an end; let’s focus on the ends. :-)
(Also, let’s avoid Unix arguments; the primary composition level in Guix
is Scheme, not byte streams on stdout.)
> 2- add a mechanism to have aliases.
I agree it’d be nice but… we’re drifting off-topic. :-)
Thanks,
Ludo’.
This bug report was last modified 4 years and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.