Skip to content

Consistently pass verbosity flag to VCS (git) module #13329

Open
@ByteB4rb1e

Description

@ByteB4rb1e

What's the problem this feature will solve?

Providing the --verbose argument to pip when installing a package via git+https does not result in the verbosity being passed down to the VCS (Git) subshell commands, e.g. git submodule update.

I am on a slow and unstable internet connection. When installing packages via git+https with lots of submodules I'd like to stay informed on the progress, as to ensure that I still have a connection to the Git repository hosts referenced by the submodules and can identify when Git has detected a broken connection and is retrying.

Describe the solution you'd like

There does not seem to be an environment variable for configuring Git verbosity globally, so passing it to the VersionControl::unset_environ base class does not seem to be an option.

Instead it might be feasible to (either/or):

  • Refactor the VersionControl interface to allow for explicitly passing additional subshell arguments
  • Refactor the VersionControl interface specifically for passing a generic verbosity flag

In both instances the subshell command(s) affected by this feature request would need to be adapted to accept the verbosity flag.

Alternative Solutions

As described in solution

Additional context

n/a

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions