Skip to content

Commit 239998b

Browse files
committed
Mirror official uv self-update installer downloads
1 parent 96394b6 commit 239998b

File tree

5 files changed

+586
-9
lines changed

5 files changed

+586
-9
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/uv-cli/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,10 @@ pub struct SelfUpdateArgs {
860860
pub target_version: Option<String>,
861861

862862
/// A GitHub token for authentication.
863-
/// A token is not required but can be used to reduce the chance of encountering rate limits.
863+
///
864+
/// This is only required for GitHub API-backed self-update flows, such as custom-host,
865+
/// GitHub Enterprise, or fallback behavior. The default public self-update path uses the
866+
/// Astral mirror and does not require a token.
864867
#[arg(long, env = EnvVars::UV_GITHUB_TOKEN, value_hint = ValueHint::Other)]
865868
pub token: Option<String>,
866869

crates/uv/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ ctrlc = { workspace = true }
7979
diskus = { workspace = true }
8080
dotenvy = { workspace = true }
8181
dunce = { workspace = true }
82+
etcetera = { workspace = true }
8283
fs-err = { workspace = true, features = ["tokio"] }
8384
futures = { workspace = true }
8485
http = { workspace = true }

0 commit comments

Comments
 (0)