Skip to content

Added typed RPM Repository API Client - #308

Draft
Redtigercod4 wants to merge 16 commits into
pulp:mainfrom
Redtigercod4:feat/rpm-api-client
Draft

Added typed RPM Repository API Client#308
Redtigercod4 wants to merge 16 commits into
pulp:mainfrom
Redtigercod4:feat/rpm-api-client

Conversation

@Redtigercod4

@Redtigercod4 Redtigercod4 commented Jul 10, 2026

Copy link
Copy Markdown

Summary

Built out a fully-typed API client for RPM repositories, deprecating the older RPMRepositoryAPI. Covers standard CRUD endpoints from RpmRepositoryViewSet and models against Pulp Core behaviours. This is backed by a suite of integration tests that runs against a live Pulp instance.

Changes

  1. Added typed RPM Repository API client (list, retrieve, create, update, delete) built off RpmRepositorySerializer.
  2. Added DispatchedTaskResponse to common.ts for pulpcore's async task response, used by update (200/202) and delete (always 202).
  3. Added integration tests against a live Pulp instance using node:test.
  4. Added standalone test client and task-completion poll helper.
  5. Deprecated the old RPMRepositoryAPI in favor of the new client.

Out of Scope

  1. Migrating existing consumers off the deprecated RPMRepositoryAPI.
  2. sync, modify/revert, and listVersions endpoints.
  3. UI/component consumption of this client.

Blockers

  1. Add shared base types for Repositories, Publications, Remotes and Distributions #307

Sources

  1. https://github.com/pulp/pulpcore/tree/main
  2. https://github.com/pulp/pulp_rpm

@Redtigercod4
Redtigercod4 marked this pull request as ready for review July 10, 2026 15:36
@Redtigercod4
Redtigercod4 marked this pull request as draft July 10, 2026 21:39
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