Skip to content

feat: add Rpms.get_location() public API for v2 location access#251

Merged
lubomir merged 2 commits into
release-engineering:developmentfrom
guillermodotn:feature/rpms-get-location
Apr 30, 2026
Merged

feat: add Rpms.get_location() public API for v2 location access#251
lubomir merged 2 commits into
release-engineering:developmentfrom
guillermodotn:feature/rpms-get-location

Conversation

@guillermodotn

Copy link
Copy Markdown
Contributor

Add Rpms.get_location(variant, arch, srpm_nevra, rpm_nevra) public method to retrieve the Location object for an RPM entry, replacing the need to access the semi-private _location key directly.

Closes #250

Assisted-by: Claude Opus <noreply@anthropic.com>
@guillermodotn guillermodotn requested a review from lubomir April 30, 2026 10:52
@lubomir

lubomir commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Looks good to me and it would work for my use case. One nitpick: should the deserialization test be updated to use this new api?

Assisted-by: Claude Opus <noreply@anthropic.com>
@lubomir lubomir merged commit 000d798 into release-engineering:development Apr 30, 2026
11 checks passed
@guillermodotn guillermodotn deleted the feature/rpms-get-location branch June 18, 2026 16:24
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.

2 participants