summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2023-07-12 08:54:45 +0200
committerGitHub <noreply@github.com>2023-07-12 08:54:45 +0200
commitd5d0b8821cd9789b8404e06a40dfeabce09a3480 (patch)
treef09861f4bb756ba54a47cdd87663429de9e51e74 /etc
parentd3704130b63fa177bd5786659b3a64fb338c4b00 (diff)
downloadspack-d5d0b8821cd9789b8404e06a40dfeabce09a3480.tar.gz
spack-d5d0b8821cd9789b8404e06a40dfeabce09a3480.tar.bz2
spack-d5d0b8821cd9789b8404e06a40dfeabce09a3480.tar.xz
spack-d5d0b8821cd9789b8404e06a40dfeabce09a3480.zip
installer: Improve status reporting (#37903)
Refactor `TermTitle` into `InstallStatus` and use it to show progress information both in the terminal title as well as inline. This also turns on the terminal title status by default. The inline output will look like the following after this change: ``` ==> Installing m4-1.4.19-w2fxrpuz64zdq63woprqfxxzc3tzu7p3 [4/4] ```
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index 43f8a98dff..b4d81f69da 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -216,10 +216,11 @@ config:
# manipulation by unprivileged user (e.g. AFS)
allow_sgid: true
- # Whether to set the terminal title to display status information during
- # building and installing packages. This gives information about Spack's
- # current progress as well as the current and total number of packages.
- terminal_title: false
+ # Whether to show status information during building and installing packages.
+ # This gives information about Spack's current progress as well as the current
+ # and total number of packages. Information is shown both in the terminal
+ # title and inline.
+ install_status: true
# Number of seconds a buildcache's index.json is cached locally before probing
# for updates, within a single Spack invocation. Defaults to 10 minutes.