Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use space as delimiter for UV_EXTRA_INDEX_URL #2140

Merged
merged 1 commit into from
Mar 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions crates/uv/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ struct PipCompileArgs {
/// Unlike `pip`, `uv` will stop looking for versions of a package as soon
/// as it finds it in an index. That is, it isn't possible for `uv` to
/// consider versions of the same package across multiple indexes.
#[clap(long, env = "UV_EXTRA_INDEX_URL")]
#[clap(long, env = "UV_EXTRA_INDEX_URL", value_delimiter = ' ')]
extra_index_url: Vec<IndexUrl>,

/// Ignore the registry index (e.g., PyPI), instead relying on direct URL dependencies and those
Expand Down Expand Up @@ -455,7 +455,7 @@ struct PipSyncArgs {
/// Unlike `pip`, `uv` will stop looking for versions of a package as soon
/// as it finds it in an index. That is, it isn't possible for `uv` to
/// consider versions of the same package across multiple indexes.
#[clap(long, env = "UV_EXTRA_INDEX_URL")]
#[clap(long, env = "UV_EXTRA_INDEX_URL", value_delimiter = ' ')]
extra_index_url: Vec<IndexUrl>,

/// Locations to search for candidate distributions, beyond those found in the indexes.
Expand Down Expand Up @@ -668,7 +668,7 @@ struct PipInstallArgs {
/// Unlike `pip`, `uv` will stop looking for versions of a package as soon
/// as it finds it in an index. That is, it isn't possible for `uv` to
/// consider versions of the same package across multiple indexes.
#[clap(long, env = "UV_EXTRA_INDEX_URL")]
#[clap(long, env = "UV_EXTRA_INDEX_URL", value_delimiter = ' ')]
extra_index_url: Vec<IndexUrl>,

/// Locations to search for candidate distributions, beyond those found in the indexes.
Expand Down Expand Up @@ -966,7 +966,7 @@ struct VenvArgs {
/// Unlike `pip`, `uv` will stop looking for versions of a package as soon
/// as it finds it in an index. That is, it isn't possible for `uv` to
/// consider versions of the same package across multiple indexes.
#[clap(long, env = "UV_EXTRA_INDEX_URL")]
#[clap(long, env = "UV_EXTRA_INDEX_URL", value_delimiter = ' ')]
extra_index_url: Vec<IndexUrl>,

/// Ignore the registry index (e.g., PyPI), instead relying on direct URL dependencies and those
Expand Down