-
Notifications
You must be signed in to change notification settings - Fork 14
Rename microgrid.components -> microgrid.electrical_components #291
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
Rename microgrid.components -> microgrid.electrical_components #291
Conversation
ea3cfce to
913a6e1
Compare
Signed-off-by: Tar Viturawong <[email protected]>
913a6e1 to
ff1d341
Compare
|
Thanks @tar-viturawong-frequenz. Could you please add an entry to the RELEASE_NOTES file as well? |
tiyash-basu-frequenz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A release note entry would be great.
proto/frequenz/api/common/v1/microgrid/electrical_components/electrical_components.proto
Outdated
Show resolved
Hide resolved
…lectrical_components.proto Co-authored-by: Tiyash Basu <[email protected]> Signed-off-by: Tar Viturawong <[email protected]>
Signed-off-by: Tar Viturawong <[email protected]>
Signed-off-by: Tar Viturawong <[email protected]>
llucax
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI is failing here because you are missing a rename of py/frequenz/api/common/v1/microgrid/components to electrical_components too.
| """Test that the modules can be imported.""" | ||
| # pylint: disable=import-outside-toplevel | ||
| from frequenz.api.common.v1.microgrid import components | ||
| from frequenz.api.common.v1.microgrid import electrical_components |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is really weird that these tests don't fail too, but I guess this is for a separate investigation/PR.
Signed-off-by: Tar Viturawong <[email protected]>
This change is in preparation for communication components to just the protobuf definition. The PR disambiguates electrical components by adding
Electricalprefix to message/enum types,electrical_to module and path names, andELECTRICAL_to enum fields.I have not extensively updated the comments in the protobuf definitions a that would have created an unwieldy diff that obscures the substantive change. I can follow up on that afterwards.