Skip to content

Enable interactive terminal prompts when don't running in CI #1634

@florianfischer91

Description

@florianfischer91

I understand the advantage to disable interactive terminal prompts to prevent CI hangs.
Even when there are multiple options to configure credentials, for setups in an ephemeral environment like a vm or docker container it would be nice to fallback to the terminal and the user can provide username and password/token when cloning from a private repository.

For "CI detection", uv has already implemented a couple of checks (https://github.com/astral-sh/uv/blob/2a86a4b6f718f60d6cd374a5ee60e2fd8651407c/crates/uv-static/src/env_vars.rs#L921).

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaJust an idea

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions