Skip to content

fix(native): Outdated filter drops tap-installed packages (tap-name mismatch) - #145

Merged
msitarzewski merged 2 commits into
mainfrom
fix/native-outdated-tap-match
Jul 12, 2026
Merged

msitarzewski merged 2 commits into
mainfrom
fix/native-outdated-tap-match

Conversation

@msitarzewski

Copy link
Copy Markdown
Owner

Native's Outdated count read one short of Tauri's (8 vs 9) whenever a tap-installed formula was outdated. brew outdated reports tap formulae fully-qualified (shivammathur/php/[email protected]) while brew info --installed — the Library row source — reports the bare token ([email protected]). Native matched the raw name sets, so tap-installed outdated packages were silently dropped from the Outdated filter and their outdated dot.

Normalize both sides through bareToken (the same last-segment rule the #92 install matching uses). Regression test covers the tap-qualified match + bare-name non-regression. Native-only. swift 174.

🤖 Generated with Claude Code

https://claude.ai/code/session_01X9iMFjHE21ePTjcbHpTXt6

msitarzewski and others added 2 commits July 12, 2026 11:42
…ismatch)

Native tagged Library rows "outdated" by matching the installed token
against the `brew outdated` name set with a plain Set.contains. But
`brew outdated` reports tap formulae fully-qualified
(`shivammathur/php/[email protected]`) while `brew info --installed` — the row
source — reports the bare token (`[email protected]`), so tap-installed outdated
packages never matched: they vanished from the Outdated filter and lost
their outdated dot. Symptom: Swift's Outdated count read one short of
Tauri's (8 vs 9) whenever a tapped formula was outdated.

Normalise both sides through `bareToken` (the same last-segment rule the
#92 install matching already uses). Regression test covers the
tap-qualified match plus the bare-name non-regression.

swift 174 (+1).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01X9iMFjHE21ePTjcbHpTXt6
# Conflicts:
#	native/Sources/BrewBrowserKit/AppModel.swift
@msitarzewski
msitarzewski merged commit fe73804 into main Jul 12, 2026
@msitarzewski
msitarzewski deleted the fix/native-outdated-tap-match branch July 12, 2026 16:51
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.

1 participant