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

Make uv.sources without --preview non-fatal #4558

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

Like other preview usages, this should just warn.

@charliermarsh charliermarsh added the preview Experimental behavior label Jun 26, 2024
@@ -43,7 +43,7 @@ pub(crate) async fn add(
printer: Printer,
) -> Result<ExitStatus> {
if preview.is_disabled() {
warn_user!("`uv add` is experimental and may change without warning.");
warn_user_once!("`uv add` is experimental and may change without warning.");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just changed all of these for consistency.

@charliermarsh charliermarsh enabled auto-merge (squash) June 26, 2024 17:42
@charliermarsh charliermarsh force-pushed the charlie/preview branch 3 times, most recently from 92b5df2 to 7933ac7 Compare June 26, 2024 17:50
@charliermarsh charliermarsh merged commit d4fd868 into main Jun 26, 2024
47 checks passed
@charliermarsh charliermarsh deleted the charlie/preview branch June 26, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants