Refresh button on upgrades page not working

Aperta
#322 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
swift
Ambito
backend, desktop

Direzione di ricerca

Start by tracing the upgrades page refresh button to the code that loads available upgrades and invokes Homebrew commands. Compare that refresh path with what changes after running brew upgrade in Terminal, then check the relevant tests or add coverage for the refresh behavior. Done means pressing refresh updates the UI with available upgrades without requiring a separate Terminal command.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Before submitting
  • I have searched the issues and pull requests for duplicates.
  • I am reporting a specific problem with BrewUI and have described how to reproduce it, or the circumstances of an intermittent failure.
What happened?

I noticed for a while now that the refresh button on the upgrades page is not doing anything. I can push the refresh button multiple times, wait for minutes, close and restart the app and no updates show up.

As soon as I execute the "brew upgrade" command in the terminal, I see the available updates in the ui.

Expected behaviour

I would expect the refresh button to execute the "brew upgrade" command in the background and show the available updates in the ui.

Steps to reproduce
  1. Install the MacOS app
  2. Make sure you have apps installed and that they are not all up-to-date
  3. Open the ui.
  4. Press the refresh button
App version and build

0.4.1 (1070)

How was the app installed?

GitHub release download

macOS version and build

27.3 bèta (26C5035r)

Mac processor

Apple silicon

Homebrew configuration
Homebrew
HOMEBREW_VERSION: 7.0.13
ORIGIN: https://github.com/Homebrew/brew
HEAD: bc63375ac3a4d6debb1ceb441ae6e22854f0909a
Last commit: 7 days ago
Branch: stable
HOMEBREW_PREFIX: /opt/homebrew
Homebrew Ruby: 4.0.9 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/4.0.9/bin/ruby

System
Core tap: N/A
Core cask tap: N/A
CPU: deca-core 64-bit arm_donan
Clang: 21.0.0 build 2100
Git: 2.54.0 => /Applications/Xcode-beta.app/Contents/Developer/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 27.3-arm64
CLT: 27.2.0.0.1792721180
Xcode: 27.0 => /Applications/Xcode-beta.app/Contents/Developer
Metal Toolchain: N/A
Rosetta 2: false

Environment (HOMEBREW_*)
HOMEBREW_VERSION: 7.0.13
HOMEBREW_PREFIX: /opt/homebrew
Logs, screenshots and crash reports

No response

Additional context

No response

Lingua principale
Swift
Stelle
2.8k
Fork
94
Merge medio
18h 12m
PR unite (30g)
17

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Homebrew/BrewUI

Tutte le issue di Homebrew/BrewUI

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.