Skip to content

Refactor: Update GooDB.FetchPkg to accept goolib.PackageInfo.#199

Merged
nguyen-phillip merged 10 commits intogoogle:masterfrom
jm2:master
Mar 6, 2026
Merged

Refactor: Update GooDB.FetchPkg to accept goolib.PackageInfo.#199
nguyen-phillip merged 10 commits intogoogle:masterfrom
jm2:master

Conversation

@jm2
Copy link
Member

@jm2 jm2 commented Mar 4, 2026

The FetchPkg function now takes a goolib.PackageInfo and uses it to match the specific package state, including version and architecture, rather than just the package name. Call sites have been updated to pass the full PackageInfo.

jm2 added 2 commits March 4, 2026 10:57
The FetchPkg function now takes a goolib.PackageInfo and uses it to match the specific package state, including version and architecture, rather than just the package name. Call sites have been updated to pass the full PackageInfo.
Updated version to 3.3.0 and added release notes for the new version.
Copy link
Collaborator

@r0mflip r0mflip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@nguyen-phillip nguyen-phillip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor nits about existing code, but LGTM given that it should still fall back to old behavior if there's no exact match.

@jm2 jm2 requested a review from nguyen-phillip March 6, 2026 14:52
Copy link
Collaborator

@nguyen-phillip nguyen-phillip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nguyen-phillip nguyen-phillip merged commit 4cda29e into google:master Mar 6, 2026
4 checks passed
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.

3 participants