Open davepacheco opened 4 days ago
In our system we have two distinct packages called dpd-client:
dpd-client
swadm
tfportd
ddm
ddmd
mgd
mg-lower
wicketd
omicron-sled-agent
omicron-nexus
Rust package names are supposed to be unique. This happens to work, maybe because the packages in the above two groups are never built in the same workspace? Based on this comment: https://github.com/oxidecomputer/omicron/blob/68583ad7e931bfbab5f9b7c3aff9789609c84129/clients/dpd-client/build.rs#L5-L11
I gather that these clients are about equivalent and the second one exists only because the first one is private? But Maghemite is also public but still seems to use the (private) Dendrite client.
The new ls-apis tool works around this: https://github.com/oxidecomputer/omicron/blob/68583ad7e931bfbab5f9b7c3aff9789609c84129/dev-tools/ls-apis/src/workspaces.rs#L157-L195
ls-apis
In our system we have two distinct packages called
dpd-client
:swadm
(in Dendrite)tfportd
(in Dendrite)`ddm
(in Maghemite)ddmd
(in Maghemite)mgd
(viamg-lower
) (in Maghemite)wicketd
(in Omicron)omicron-sled-agent
(in Omicron)omicron-nexus
(in Omicron)Rust package names are supposed to be unique. This happens to work, maybe because the packages in the above two groups are never built in the same workspace? Based on this comment: https://github.com/oxidecomputer/omicron/blob/68583ad7e931bfbab5f9b7c3aff9789609c84129/clients/dpd-client/build.rs#L5-L11
I gather that these clients are about equivalent and the second one exists only because the first one is private? But Maghemite is also public but still seems to use the (private) Dendrite client.
The new
ls-apis
tool works around this: https://github.com/oxidecomputer/omicron/blob/68583ad7e931bfbab5f9b7c3aff9789609c84129/dev-tools/ls-apis/src/workspaces.rs#L157-L195