Skip to content

pldm: Rename ipc-api and ipc-server to api and server - #514

Merged
chrysh merged 1 commit into
OpenPRoT:ocp-global-demo-wipfrom
9elements:pldm-crate-rename
Sep 28, 2026
Merged

chrysh merged 1 commit into
OpenPRoT:ocp-global-demo-wipfrom
9elements:pldm-crate-rename

Conversation

@chrysh

@chrysh chrysh commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Every other service names its IPC crates by role, not by transport: services/i2c has api, client, client-ipc, server, and services/mctp has api, client-ipc, server. The pldm seam was the only one with an ipc- prefix on crates that have no non-IPC counterpart to distinguish them from.

Bazel targets follow: pldm_ipc_api becomes pldm_api, pldm_ipc_server becomes pldm_server. The Rust crate names come from the targets, so the use statements in the server move with them. Pure rename, no behaviour change.

#510 rebases onto this and its crate lands as services/pldm/client.

Every other service names its IPC crates by role, not by transport:
services/i2c has api, client, client-ipc, server, services/mctp has
api, client-ipc, server. The pldm seam was the only one carrying an
ipc- prefix on crates that have no non-IPC counterpart to distinguish
them from.

Bazel targets follow: pldm_ipc_api becomes pldm_api, pldm_ipc_server
becomes pldm_server. The Rust crate names come from the targets, so
the use statements in the server move with them.

Assisted-by: Claude
@chrysh
chrysh merged commit 9e3896d into OpenPRoT:ocp-global-demo-wip Sep 28, 2026
1 check passed
@chrysh
chrysh deleted the pldm-crate-rename branch September 29, 2026 11:09
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