graphql-engine/server/forks/hedis/codegen/HOW-TO-UPDATE.md
Puru Gupta 328b7b793f server: add support for redis clusters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8867
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 6ab173b02f6b8bf97ccbcdb00110fe147771c751
2023-06-05 12:11:59 +00:00

676 B

How to update the commands.json file

Currently used commands.json file

commands.json

Original commands file from redis-doc

commands.json.orig

New commands file from redis-doc

commands.json.new

Create a diff with the hedis-specific changes

diff commands.json commands.json.orig > my-changes.diff

Patch the new commands file with the hedis-specific changes

patch -b commands.json.new my-changes.diff

Check the changes to the new commands file

diff commands.json.new commands.json.new.orig

Save new file versions

mv commands.json.new.orig commands.json.orig
mv commands.json.new commands.json

Clean up temp files