summaryrefslogtreecommitdiff
path: root/NOTICE
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2023-11-10 03:31:28 -0800
committerGitHub <noreply@github.com>2023-11-10 12:31:28 +0100
commitf0ced1af42c521ffac780a117f64e01d40c82d27 (patch)
treecd37b2b2251d1e6ea62e2f2332c7f0cfdd661b0d /NOTICE
parent2e45edf4e371966e5f0f0f03183bb150ecbd23f1 (diff)
downloadspack-f0ced1af42c521ffac780a117f64e01d40c82d27.tar.gz
spack-f0ced1af42c521ffac780a117f64e01d40c82d27.tar.bz2
spack-f0ced1af42c521ffac780a117f64e01d40c82d27.tar.xz
spack-f0ced1af42c521ffac780a117f64e01d40c82d27.zip
info: rework spack info command to display variants better (#40998)
This changes variant display to use a much more legible format, and to use screen space much better (particularly on narrow terminals). It also adds color the variant display to match other parts of `spack info`. Descriptions and variant value lists that were frequently squished into a tiny column before now have closer to the full terminal width. This change also preserves any whitespace formatting present in `package.py`, so package maintainers can make easer-to-read descriptions of variant values if they want. For example, `gasnet` has had a nice description of the `conduits` variant for a while, but it was wrapped and made illegible by `spack info`. That is now fixed and the original newlines are kept. Conditional variants are grouped by their when clauses by default, but if you do not like the grouping, you can display all the variants in order with `--variants-by-name`. I'm not sure when people will prefer this, but it makes it easier to tell that a particular variant is/isn't there. I do think grouping by `when` is the better default.
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions