-
Notifications
You must be signed in to change notification settings - Fork 7
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
Follow golang naming convention for constants #344
Conversation
443e1df
to
79f7b22
Compare
I'd say to wait for code freeze. |
Would it make that much of a difference? There are not that many PRs open and it's unlikely for open PRs/ongoing-work to have renamed constants meaning hopefully no conflicts, or easy to fix ones at that. I would just rip the bandaid. Having said that, I have no strong opinions. |
There aren't that many open PRs, but this will conflict with anything anyone is working on locally. Given that we can make this change programatically at any time, I'd prefer to wait. But I also don't have strong opinions on this. |
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.
I don't like the change for the phase names in particular, but if this is a clearly established convention I'm not going to argue.
I removed from the merge queue just to leave space for a second thought about when to merge this or if we indeed want to change everything. |
Marked as draft to revisit just before code freeze as recommended by the team. |
79f7b22
to
77d194c
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #344 +/- ##
==========================================
+ Coverage 81.28% 81.33% +0.05%
==========================================
Files 40 40
Lines 3574 3574
==========================================
+ Hits 2905 2907 +2
+ Misses 392 391 -1
+ Partials 277 276 -1
|
77d194c
to
25b4c3c
Compare
The codebase inconsistently follows the MaxCaps golang naming convention for constant. Consistently use MaxCaps for all constants, except for PHASEs to keep the code easier to read.
25b4c3c
to
8022303
Compare
The codebase inconsistently follows the MaxCaps golang naming convention for constant.
Consistently use MaxCaps for all constants, except for PHASEs to keep the code easier to read.