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

[Feature] Enhanced Progress Reporting for Yarn #6234

Open
1 of 2 tasks
askadityapandey opened this issue Apr 16, 2024 · 0 comments
Open
1 of 2 tasks

[Feature] Enhanced Progress Reporting for Yarn #6234

askadityapandey opened this issue Apr 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@askadityapandey
Copy link

askadityapandey commented Apr 16, 2024

  • I'd be willing to implement this feature (contributing guide)
  • This feature is important to have in this repository; a contrib plugin wouldn't do

Describe the user story

As a developer, I often use Yarn to install and update dependencies for my projects. However, the current progress reporting during these commands can be limited. I often lack detailed information about the download process, which can be frustrating.

Describe the solution you'd like

I propose improvements to Yarn's progress reporting to provide a more informative and user-friendly experience. These enhancements include:

Granular Dependency Download Information:

  • Display the names of individual packages being downloaded during yarn install and yarn upgrade commands.Include the download size of each package for better context.

Progress Indicators:

  • Implement a progress bar for each downloading package, visually representing the download completion status.Alternatively, consider a percentage indicator for each package download.

Estimated Time Remaining:

  • If possible, calculate and display an estimated time remaining for the entire download process. This can be based on factors like download speeds and remaining package sizes.

User-Friendly Output Formatting:

  • Enhance the overall formatting of the progress output to improve readability. This might involve clear separation of information, consistent indentation, and color-coding for different download statuses (completed, in progress, waiting).

Describe the drawbacks of your solution

Implementing more detailed progress reporting might have a slight performance impact, especially for large dependency sets.
Balancing the level of detail with conciseness in the output formatting might require some iteration.

Describe alternatives you've considered

A contrib plugin could potentially offer enhanced progress reporting, but it wouldn't be integrated into the core Yarn functionality and might require additional maintenance for users.

image

@askadityapandey askadityapandey added the enhancement New feature or request label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant