guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/08: news: Add entry for "guix graph -M".


From: guix-commits
Subject: 08/08: news: Add entry for "guix graph -M".
Date: Tue, 21 Sep 2021 09:16:54 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9102512748b5a44cc4214288159fd45dabe076be
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Sep 21 15:15:35 2021 +0200

    news: Add entry for "guix graph -M".
    
    * etc/news.scm: Add entry.
---
 etc/news.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/etc/news.scm b/etc/news.scm
index 88d23d7..7404632 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -23,6 +23,37 @@
 (channel-news
  (version 0)
 
+ (entry (commit "5b32ad4f6f555d305659cee825879df075b06331")
+        (title
+         (en "New @option{--max-depth} option for @command{guix graph}")
+         (fr "Nouvelle option @option{--max-depth} pour @command{guix graph}"))
+        (body
+         (en "The @command{guix graph} command has a new @option{--max-depth}
+(or @option{-M}) option, which allows you to restrict a graph to the given
+depth---very useful when visualizing large graphs.  For example, the command
+below displays, using the @code{xdot} package, the dependency graph of
+LibreOffice, including only nodes that are at most at distance 2 of
+LibreOffice itself:
+
+@example
+guix graph -M 2 libreoffice | xdot -
+@end example
+
+See @command{info \"(guix) Invoking guix graph\"} for more information.")
+         (fr "La commande @command{guix graph} dispose d'une nouvelle option
+@option{--max-depth} (ou @option{-M}) pour restreindre la profondeur d'un
+graphe---très utile pour visualiser des gros graphes.  Par exemple, la
+commande ci-dessous affiche, en utilisant @code{xdot}, le graphe de dépendance
+de LibreOffice en n'incluant que les nœuds qui sont au plus à distance 2 de
+LibreOffice soi-même :
+
+@example
+guix graph -M 2 libreoffice | xdot -
+@end example
+
+Voir @command{info \"(guix.fr) Invoquer guix graph\"} pour plus
+d'informations.")))
+
  (entry (commit "82daab42811a2e3c7684ebdf12af75ff0fa67b99")
         (title
          (en "New @samp{deb} format for the @command{guix pack} command")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]