mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Merge 184fbca517
into f609e1ddaf
This commit is contained in:
commit
26d6e2ae70
3 changed files with 8 additions and 0 deletions
|
@ -3583,6 +3583,10 @@ pub struct AddArgs {
|
|||
#[arg(long, env = EnvVars::UV_NO_SYNC, value_parser = clap::builder::BoolishValueParser::new(), conflicts_with = "frozen")]
|
||||
pub no_sync: bool,
|
||||
|
||||
/// Disable file locking (flock) operations
|
||||
#[arg(long, env = EnvVars::UV_UNSAGE_IGNORE_FLOCK, value_parser = clap::builder::BoolishValueParser::new())]
|
||||
pub unsage_ignore_flock: bool,
|
||||
|
||||
/// Assert that the `uv.lock` will remain unchanged.
|
||||
///
|
||||
/// Requires that the lockfile is up-to-date. If the lockfile is missing or needs to be updated,
|
||||
|
|
|
@ -149,6 +149,9 @@ impl EnvVars {
|
|||
/// Disable use of uv-managed Python versions.
|
||||
pub const UV_NO_MANAGED_PYTHON: &'static str = "UV_NO_MANAGED_PYTHON";
|
||||
|
||||
/// Disable file locking (flock) operations or ignore
|
||||
pub const UV_UNSAGE_IGNORE_FLOCK: &'static str = "UV_UNSAGE_IGNORE_FLOCK";
|
||||
|
||||
/// Equivalent to the
|
||||
/// [`python-downloads`](../reference/settings.md#python-downloads) setting and, when disabled, the
|
||||
/// `--no-python-downloads` option. Whether uv should allow Python downloads.
|
||||
|
|
|
@ -1353,6 +1353,7 @@ impl AddSettings {
|
|||
tag,
|
||||
branch,
|
||||
no_sync,
|
||||
unsage_ignore_flock,
|
||||
locked,
|
||||
frozen,
|
||||
active,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue