From d5d0b8821cd9789b8404e06a40dfeabce09a3480 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Wed, 12 Jul 2023 08:54:45 +0200 Subject: 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] ``` --- etc/spack/defaults/config.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'etc') 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. -- cgit v1.2.3-70-g09d2