Skip to content

The 'verbose' config file option should be supported uniformly by all commands #1262

Open

Description

@23Skidoo

Right now, setting verbosity to 2 or 3 in the config file raises the verbosity level for some commands (e.g. install and configure), but not others (e.g. build). This is due to the way the command flags are serialised - installAction and configureAction read in InstallFlags and ConfigureFlags from the config file, but buildAction only parses the command-line arguments (since BuildFlags are not stored in the config file).

The way we handle the --verbosity option seems non-optimal - each *Flags record contains a duplicated *Verbosity field. It looks like it'd be more appropriate to have a single globalVerbosity field in GlobalFlags instead. Then verbosity could be always initialised from savedGlobalFlags.

Activity

  1. added this to the milestone on Apr 23, 2015
  2. gbaz commented on Aug 28, 2021

    @gbaz
    Collaborator

    Not sure if this is resolved by new-build?

  3. bacchanalia commented on Feb 17, 2022

    @bacchanalia
    Collaborator

    still a problem in new-build, see #5956

  4. modified the milestones: ⊥, 3.9 on Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions