Skip to content

chore: merge database gen scripts #8073

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

Merged
merged 4 commits into from
Jun 20, 2023
Merged

chore: merge database gen scripts #8073

merged 4 commits into from
Jun 20, 2023

Conversation

kylecarbs
Copy link
Member

No description provided.

@kylecarbs kylecarbs requested a review from ammario June 17, 2023 00:11
@kylecarbs kylecarbs self-assigned this Jun 17, 2023
Copy link
Member

@ammario ammario left a comment

Choose a reason for hiding this comment

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

Solid reduction in LoC

I didn't give this a thorough review since it's all dev code.

// change. If locks are deprecated, they should be kept to avoid reusing the
// same ID.
const (
LockIDDeploymentSetup = iota + 1
Copy link
Member

Choose a reason for hiding this comment

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

Why iota + 1?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is just how it was... seemed risky to change as part of this.

Copy link
Member

Choose a reason for hiding this comment

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

I don't know what the original reason was, but a typical reason is to avoid mixing it with the zero value. FWIW.

@kylecarbs kylecarbs force-pushed the mergegen branch 2 times, most recently from 564895a to f5d8433 Compare June 20, 2023 15:36
@kylecarbs kylecarbs enabled auto-merge (squash) June 20, 2023 16:18
@kylecarbs kylecarbs merged commit bbb0fab into main Jun 20, 2023
@kylecarbs kylecarbs deleted the mergegen branch June 20, 2023 16:24
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants