Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade frequenz-api-common to v0.3.0 #65

Merged

Conversation

tiyash-basu-frequenz
Copy link
Contributor

The submodule frequenz-api-common has been upgraded to v0.3.0.
This version renames the enum representing EV charger types to EvChargerType and defined the MetricAggregation message, which was previously defined in frequenz-api-microgrid.

Since the message MetricAggregation is now being imported from the common specs, it has been removed from the file common.proto.

The message EVCharger is being renamed to EvCharger, to use same naming convention as frequenz-api-common.
Note that a similar renaming was done in frequenz-api-common v0.3.0 to improve the code quality of the derived rust code using prost.

@tiyash-basu-frequenz tiyash-basu-frequenz added this to the 0.15.0 milestone Jun 6, 2023
@tiyash-basu-frequenz tiyash-basu-frequenz self-assigned this Jun 6, 2023
@tiyash-basu-frequenz tiyash-basu-frequenz requested a review from a team as a code owner June 6, 2023 10:08
@github-actions github-actions bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) labels Jun 6, 2023
The submodule `frequenz-api-common` has been upgraded to v0.3.0.
This version renames the enum representing EV charger types to
`EvChargerType` and defined the `MetricAggregation` message, which was
previously defined in `frequenz-api-microgrid`.

Since the message `MetricAggregation` is now being imported from the common
specs, it has been removed from the file `common.proto`.

Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
This is done to use same naming convention as `frequenz-api-common`.
Note that a similar renaming was done in `frequenz-api-common` v0.3.0 to
improve the code quality of the derived rust code using prost.

Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
@tiyash-basu-frequenz tiyash-basu-frequenz merged commit c20fa34 into frequenz-floss:v0.x.x Jun 6, 2023
@tiyash-basu-frequenz tiyash-basu-frequenz deleted the common_0_3_0 branch June 6, 2023 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants