Skip to content

Conversation

@Marenz
Copy link
Contributor

@Marenz Marenz commented Apr 22, 2025

  • modification_time → update_time
  • from → from_time
  • to → to_time
  • until → until_time

fixes #240

Copilot AI review requested due to automatic review settings April 22, 2025 09:04
@Marenz Marenz requested a review from a team as a code owner April 22, 2025 09:04
@github-actions github-actions bot added the part:protobuf Affects the protocol buffer definition files label Apr 22, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR renames several timestamp fields to follow Protobuf naming guidelines.

  • Renames modification_time to update_time in DispatchMetadata.
  • Renames from, to, and until to from_time, to_time, and until_time respectively in the TimeIntervalFilter and RecurrenceRule messages.
Comments suppressed due to low confidence (4)

proto/frequenz/api/dispatch/v1/dispatch.proto:197

  • [nitpick] Consider standardizing the comment to 'UTC Timestamp' as used for create_time for consistency.
 // UTC time of the last update to the order.

proto/frequenz/api/dispatch/v1/dispatch.proto:209

  • [nitpick] Consider using 'UTC Timestamp' in the comment to match the style of other time fields.
 // Filter by time >= this UTC time.

proto/frequenz/api/dispatch/v1/dispatch.proto:212

  • [nitpick] Consider using 'UTC Timestamp' in the comment to match the style of other time fields.
 // Filter by time <= this UTC time.

proto/frequenz/api/dispatch/v1/dispatch.proto:479

  • [nitpick] Ensure that any associated comments for until_time are updated to maintain consistency with the revised field name.
 google.protobuf.Timestamp until_time = 2;

@github-actions github-actions bot added the part:docs Affects the documentation label Apr 22, 2025
@Marenz Marenz requested a review from llucax April 22, 2025 09:13
@Marenz
Copy link
Contributor Author

Marenz commented Apr 22, 2025

@llucax hmm DCO block. I guess it's because github signed it?

@llucax
Copy link
Contributor

llucax commented Apr 22, 2025

@llucax hmm DCO block. I guess it's because github signed it?

I see DCO in green.

image

What is missing is the cryptographic signature (GPG or SSH) for commit.

image

- modification_time → update_time
- from → from_time
- to → to_time
- until → until_time

Aligns field names with Protobuf best practices for clarity and consistency.

Signed-off-by: Mathias L. Baumann <Marenz@users.noreply.github.com>
@Marenz Marenz added this pull request to the merge queue Apr 23, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit 9f7cdbb Apr 23, 2025
6 checks passed
@Marenz Marenz deleted the rename branch April 23, 2025 09:17
Marenz added a commit to Marenz/frequenz-api-dispatch that referenced this pull request Apr 24, 2025
…#241)

- modification_time → update_time
- from → from_time
- to → to_time
- until → until_time

fixes frequenz-floss#240

Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align with general Timestamp naming style guide

2 participants