all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Amirouche Boubekki <amirouche@hypermove.net>
To: Guix Devel <guix-devel@gnu.org>
Subject: [PATCH] guix: scripts: Add --dependencies=PACKAGE commmand
Date: Sat, 20 Jun 2015 18:45:44 +0200	[thread overview]
Message-ID: <3f6db6fc414feca85cb1ba790362e3b9@hypermove.net> (raw)

This is a first patch to request the interest and the feedback of the 
community to have something like that in guix and how it should be done.

  guix packacge --dependencies=PACKAGE

That will output the dot program required to generate a graph with 
graphviz.

The full bash line can be:

  guix package --dependencies=qsynth | dot -Tpng > qsynth-deps.png && 
icecat qsynth-deps.png


There is a *bug*: I am using `find-packages-by-name` which returns 
several packages,  but when the output is passed to graphviz only one of 
the package is drawn.

There is also an "interactive" web output [1].


HTH,

[1] http://www.hyperdev.fr/_drafts/guix-dependencies-in-sigmajs/sigmajs/

-- 
Amirouche ~ amz3 ~ http://www.hyperdev.fr

             reply	other threads:[~2015-06-20 16:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-20 16:45 Amirouche Boubekki [this message]
2015-06-20 17:07 ` [PATCH] guix: scripts: Add --dependencies=PACKAGE commmand Amirouche Boubekki
2015-06-24 20:18   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3f6db6fc414feca85cb1ba790362e3b9@hypermove.net \
    --to=amirouche@hypermove.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.