-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
153 implement a code generator to to automatically create all redis commands scaffolding arguments parsing and commands callbacks #170
Merged
danielealbano
merged 114 commits into
main
from
153-implement-a-code-generator-to-to-automatically-create-all-redis-commands-scaffolding-arguments-parsing-and-commands-callbacks
Aug 15, 2022
Merged
153 implement a code generator to to automatically create all redis commands scaffolding arguments parsing and commands callbacks #170
danielealbano
merged 114 commits into
main
from
153-implement-a-code-generator-to-to-automatically-create-all-redis-commands-scaffolding-arguments-parsing-and-commands-callbacks
Aug 15, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…the code under a modules/redis folder
…e related network_protocol_prometheus in module_prometheus
…rk protocols" as they are not just "protocols"
…tication from hello
…ucts to be able to build
…nism to add a command end callback for the commands that aren't implemented
…context" references to use the wording module
…of generalised implementations
…fset tracking for automatic memory freeing
…ed_commands_table.h in 3 separated headers with arguments, key_specs and the info_map
…, handle error messages, handle connection termination and so on)
…d (invalid received data or no memory), no reason to send a message
…necessary an assert will kick in a few lines before the free
…t parser functions emit errors, instead emit the errors only in the main functions
…set it to null, these kind of arguments can only have tokens
…ages, no need to test the key length per command anymore, etc.)
This pull request introduces 1 alert when merging 5398d36 into 8964b24 - view on LGTM.com new alerts:
|
…sage_printf_(non)critical functions are checked with the printf arguments validation
Codecov Report
@@ Coverage Diff @@
## main #170 +/- ##
==========================================
+ Coverage 78.04% 78.47% +0.43%
==========================================
Files 95 103 +8
Lines 6456 6580 +124
==========================================
+ Hits 5038 5163 +125
+ Misses 1418 1417 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…as part of a token)
danielealbano
deleted the
153-implement-a-code-generator-to-to-automatically-create-all-redis-commands-scaffolding-arguments-parsing-and-commands-callbacks
branch
August 15, 2022 14:26
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements a new number of components with the goal to streamline the development of the Redis module and. at the same time, improve the compatibility and performances.
There are 3 new major components
This PR closes issue #153