]> _ Git - alire.git/commit
Move ASCII graph to `--graph` switch, and add a `--tree` alternative & fallback ...
authorAlejandro R Mosteo <alejandro@mosteo.com>
Mon, 6 Jul 2020 17:38:06 +0000 (19:38 +0200)
committerGitHub <noreply@github.com>
Mon, 6 Jul 2020 17:38:06 +0000 (19:38 +0200)
commit676da56eeeec6676c5200529d05d6913c74b9a80
tree98dfb727850bf86bfca5fe3e0318604efae49e29
parent229ea63b4eac6147996576bd6ea5ec98852b3062
Move ASCII graph to `--graph` switch, and add a `--tree` alternative & fallback (#465)

* New `alr with --tree`, `alr show --tree` switch

Prints dependency graph in tree form, as an alternative to the ascii-art plots
that 1) not always will be available, depending in libgraph-easy-perl and 2)
quickly become big and broken.

* Move ASCII graph to dedicated --graph switch

Previously, it was always attempted to be shown with `--solve`, which could be
an unnecessary pollution for an otherwise useful command.

* Update user-changes document
doc/user-changes.md
src/alire/alire-solutions.adb
src/alire/alire-solutions.ads
src/alire/alire-utils-tools.adb
src/alire/alire-utils-tools.ads
src/alr/alr-commands-show.adb
src/alr/alr-commands-show.ads
src/alr/alr-commands-withing.adb
src/alr/alr-commands-withing.ads
testsuite/tests/with/tree-switch/test.py [new file with mode: 0644]
testsuite/tests/with/tree-switch/test.yaml [new file with mode: 0644]