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

Removing Redis from internal lua function names and comments #1102

Open
wants to merge 4 commits into
base: unstable
Choose a base branch
from

Conversation

parthpatel
Copy link
Member

@parthpatel parthpatel commented Oct 1, 2024

I couldn't figure out how to rebase on top of recent changes, so creating this new PR. This has changes to handle comments on previous PR #288.

…edis from internal function names.

* Fixed a bug where 'server *' invocation from lua debugger was not working.
* Functions in lua c files lack of documentation. Adding some documentation in this commit.
* I removed Redis from function names in eval.c and script_lua.c files. I did not touch log messages in this commit. I also did not touch references to "RedisProtocol".

Signed-off-by: Parth Patel <661497+parthpatel@users.noreply.github.com>
* Fixed comments to be 120 line length.
* Aliased error handler function.
* Renamed REDIS_LRAND... variable to SERVER...
* I did not rename RedisProtocol as it refers to the RESP protocol.

Signed-off-by: Parth Patel <661497+parthpatel@users.noreply.github.com>
@zuiderkwast zuiderkwast changed the title Rebasing the old PR on top of Valkey repo. (https://github.com/valkey-io/valkey/pull/288) Removing Redis from internal lua function names and comments Oct 1, 2024
Signed-off-by: Parth Patel <661497+parthpatel@users.noreply.github.com>
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

Attention: Patch coverage is 97.14286% with 1 line in your changes missing coverage. Please review.

Project coverage is 70.60%. Comparing base (613e4e0) to head (1c7b407).
Report is 1 commits behind head on unstable.

Files with missing lines Patch % Lines
src/eval.c 85.71% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #1102      +/-   ##
============================================
- Coverage     70.62%   70.60%   -0.02%     
============================================
  Files           114      114              
  Lines         61695    61699       +4     
============================================
- Hits          43571    43562       -9     
- Misses        18124    18137      +13     
Files with missing lines Coverage Δ
src/function_lua.c 99.17% <100.00%> (ø)
src/script_lua.c 90.28% <100.00%> (+0.13%) ⬆️
src/server.c 88.66% <ø> (ø)
src/server.h 100.00% <ø> (ø)
src/eval.c 56.73% <85.71%> (+0.14%) ⬆️

... and 14 files with indirect coverage changes

Signed-off-by: Parth Patel <661497+parthpatel@users.noreply.github.com>
@parthpatel
Copy link
Member Author

Fixed all problems with the build. Next build will succeed. This is ready for review.

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.

1 participant