summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-09-21 15:15:35 +0200
committerLudovic Courtès <ludo@gnu.org>2021-09-21 15:16:20 +0200
commit9102512748b5a44cc4214288159fd45dabe076be (patch)
tree51dfd17dab968d2c94852eb9c7280447035c8f61 /etc
parent5b32ad4f6f555d305659cee825879df075b06331 (diff)
downloadguix-patches-9102512748b5a44cc4214288159fd45dabe076be.tar
guix-patches-9102512748b5a44cc4214288159fd45dabe076be.tar.gz
news: Add entry for "guix graph -M".
* etc/news.scm: Add entry.
Diffstat (limited to 'etc')
-rw-r--r--etc/news.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/etc/news.scm b/etc/news.scm
index 88d23d71ed..7404632b6e 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")