-
Notifications
You must be signed in to change notification settings - Fork 702
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
Create development guide #1558
Comments
We can also include the minimum test / functional coverage required, and how can we write / run TCL tests (maybe)? |
Some things that came to mind:
|
We should specify that we want to keep line lengths to max 120 characters. |
90 chars? i think 120 is still quite long and hard to read the long sentence for me (bad at reading) |
also, i think we should mention the backport thing? How do we do the backport now? Do we do the backport when a PR got merged like #1575? Or we just mark a label and when the release date come, someone from the trusted list do the local cherry-pick thing and push they together? |
That's a good question. I think it's much better if the developer who fixed/submitted the PR to unstable can also backport it to the release branches as they can deal with the merge conflicts better and then the trusted list of people can review and merge it. What are your thoughts @enjoy-binbin ? |
I agree. We can also have a bot that can raise the backport PRs (using cherry-picks, so the commit is technically already reviewed), incase there is no conflict if the |
I'm just starting an issue to dump all of the conversations we've had about getting started as a developer on Valkey. At some point we should commit them to a markdown, but just wanted to start taking notes since I've seen a few examples of best practices/naming conventions/common pitfalls.
General coding guidelines.
/* comment */
can be used for both single and multi-line comments. C++ comments//
can only be used for single line comments.Naming conventions
Valkey has a long history of inconsistent naming conventions. Generally follow the style of the surrounding code, but you can also always use the following conventions for variable and structure names:
Best practices
The text was updated successfully, but these errors were encountered: