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

ref: A better commit log format #289

Merged
merged 2 commits into from
Sep 28, 2023
Merged

ref: A better commit log format #289

merged 2 commits into from
Sep 28, 2023

Conversation

lynnagara
Copy link
Member

@lynnagara lynnagara commented Sep 27, 2023

I really don't want to port this abomination to Rust, let's simplify the commit log format

Two main changes:

  • uses float instead of weird datetime format we had before
  • avoids putting important information in headers. This was a hack to avoid changing the message format earlier, but it should be avoided. The timestamp is now in the payload of the message

This is the first of 3 changes, encode method is unchanged, the decode method supports the new format.

I really don't want to port this to Rust, let's simplify the commit
log format

Also avoid putting important information in headers. This was a hack
to avoid changing the message format earlier, but it should be avoided.
The timestamp is now in the payload of the message
@lynnagara lynnagara requested a review from a team as a code owner September 27, 2023 17:43
@lynnagara lynnagara changed the title ref: Use float in commit codec instead of complex datetime format ref: A better commit log format Sep 27, 2023
@lynnagara
Copy link
Member Author

On second thoughts, gonna move the encode change into a separate PR for deploy safety reasons

@lynnagara lynnagara merged commit 9613627 into main Sep 28, 2023
8 checks passed
@lynnagara lynnagara deleted the commit-codec branch September 28, 2023 22:06
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.

3 participants