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

feat: Added progress bar to git hub publisher #3867

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

Conversation

rahulptl165
Copy link
Contributor

Fixes #3760 by @hichemfanter

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • The changes are appropriately documented (if applicable).
  • The changes have sufficient test coverage (if applicable).
  • The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:

  • Integrated cli-progress: Replaced the previous setStatusLine upload counter with a cli-progress.SingleBar instance to show upload progress visually.
  • Progress Bar Features:
  1. Displays the release name (e.g., Uploading to v1.0.0).
  2. Shows a bar, percentage, and current/total count (e.g., |#######............| 50% (5/10)).
  3. Uses the shades_classic preset for a clean, styled look.

Implementation Details:

  • Added cli-progress to dependencies.
  • Initialized the bar with total artifact count before uploads.
  • Incremented the bar in the done callback after each artifact is processed.
  • Stopped the bar after all uploads complete.

@rahulptl165 rahulptl165 requested a review from a team as a code owner March 1, 2025 06:37
@rahulptl165 rahulptl165 changed the title Added progress bar to git hub publisher feat: Added progress bar to git hub publisher Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub publisher: show upload progress
1 participant