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

Display download and installation completion using Reporter #3099

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Apr 17, 2024

Explores moving download and install summaries to the DownloadReporter and InstallReporter instead of writing in the command implementation manually. This is a small step towards making the uv pip install implementation easier to re-use e.g. in uv run with custom reporting.

@zanieb zanieb added the internal A refactor or improvement that is not user-facing label Apr 17, 2024
Comment on lines +79 to +81
if let Some(reporter) = self.reporter.as_ref() {
reporter.on_install_complete();
}
Copy link
Member Author

Choose a reason for hiding this comment

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

We never called this apparently.

)
.dimmed()
)
.unwrap();
Copy link
Member Author

Choose a reason for hiding this comment

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

How does the progress bar implementation get around this? Do they just eat errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant