Skip to content

Add progress bar for Git clone and fetch operations. (#1858)#2811

Open
GoDiao wants to merge 1 commit intobeeware:mainfrom
GoDiao:issue/1858-git-progress-bar
Open

Add progress bar for Git clone and fetch operations. (#1858)#2811
GoDiao wants to merge 1 commit intobeeware:mainfrom
GoDiao:issue/1858-git-progress-bar

Conversation

@GoDiao
Copy link
Copy Markdown

@GoDiao GoDiao commented Apr 25, 2026

Summary

  • Git clone and fetch now show a live progress bar instead of a static log message
  • New `briefcase.git.GitProgress` class wraps `GitPython`'s `RemoteProgress` interface with Rich progress bars
  • Progress displays: stage label (counting, receiving, resolving deltas), bar, percentage, and time remaining
  • Idempotent cleanup via context manager pattern (try/finally)

Related issues

Closes #1858.

PR Principals

  • Compatibility: No breaking changes
  • Upgradeability: Pure additive change
  • No bloat: Uses existing Rich dependency
  • Elegance: ~70 LOC in a dedicated module with clean separation of concerns"

Demo

brief_demo

  Git clone and fetch operations now display a live progress bar using the Rich library, showing the stage (counting, receiving, resolving deltas, etc.) and estimated time remaining. This
  replaces a static log message that made Briefcase appear frozen during template downloads.
@freakboy3742
Copy link
Copy Markdown
Member

Thanks for the PR.

There's a couple of problems with this PR that need to be resolved before we can review it.

First - you've deleted the PR template and replaced it with your own. I'm guessing this has been done by whatever AI tool you've used to generate the PR; however, it's a problem because our PR template includes some content that we need you to acknowledge - in particular, that you've acknowledged the use of any AI tooling, in accordance with our AI policy

Secondly - even without that, your PR has failed automated CI checks, because you haven't added a changenote. The PR template asks you to acknowledge that you've read our contribution guide - which points out the need for adding a changenote.

@freakboy3742 freakboy3742 added the not quite right The idea or PR has been reviewed, but more work is needed. label Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not quite right The idea or PR has been reviewed, but more work is needed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a progress bar for Git actions

2 participants