valkey/utils
guybe7 223046ec9a
Repurpose redisCommandArg's name as the unique ID (#11051)
This PR makes sure that "name" is unique for all arguments in the same
level (i.e. all args of a command and all args within a block/oneof).
This means several argument with identical meaning can be referred to together,
but also if someone needs to refer to a specific one, they can use its full path.

In addition, the "display_text" field has been added, to be used by redis.io
in order to render the syntax of the command (for the vast majority it is
identical to "name" but sometimes we want to use a different string
that is not "name")
The "display" field is exposed via COMMAND DOCS and will be present
for every argument, except "oneof" and "block" (which are container
arguments)

Other changes:
1. Make sure we do not have any container arguments ("oneof" or "block")
   that contain less than two sub-args (otherwise it doesn't make sense)
2. migrate.json: both AUTH and AUTH2 should not be "optional"
3. arg names cannot contain underscores, and force the usage of hyphens
  (most of these were a result of the script that generated the initial json files
  from redis.io commands.json).
2022-08-18 15:09:36 +03:00
..
create-cluster Add appendonlydir-* in utils/create-cluster/.gitignore (#10471) 2022-03-26 09:53:10 +03:00
graphs/commits-over-time Added Tcl program to show commits graphicaly. 2015-11-20 15:45:25 +01:00
hyperloglog Fix HyperLogLog test script for new redis-rb API. 2018-03-16 16:34:04 +01:00
lru Outdated comments, replace COUNTER_INIT_VAL with LFU_INIT_VAL, fix typo (#10888) 2022-06-21 08:14:31 +03:00
releasetools Fixes to release scripts (#7547) 2020-07-21 14:07:06 +03:00
srandmember Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
build-static-symbols.tcl Tcl script, make target, and redis.c changes to build the static symbol table automagically 2009-11-10 19:20:32 +01:00
cluster_fail_time.tcl Cluster: Tcl script to check avg pfail->fail time. 2015-01-30 12:03:17 +01:00
corrupt_rdb.c fix corrupt_rdb.c bug.Let the name of input rdb file name be valid. 2019-03-01 17:46:42 +01:00
gen-test-certs.sh Typo fix in gen-test-certs.sh (#8841) 2021-04-25 10:11:16 +03:00
generate-command-code.py Repurpose redisCommandArg's name as the unique ID (#11051) 2022-08-18 15:09:36 +03:00
generate-command-help.rb Handle multiple_token flag in generate-command-help.rb (#10822) 2022-06-07 10:15:39 +03:00
generate-commands-json.py Fix some commands key spec in json files (#10779) 2022-05-27 12:58:00 +03:00
generate-module-api-doc.rb Module API docs corrections (#10890) 2022-06-21 17:00:24 +03:00
install_server.sh Do not install SysV init-scripts on systemd-enabled hosts 2019-11-19 18:55:44 +02:00
redis_init_script Add INIT INFO to the provided init script. 2018-03-26 11:29:16 +02:00
redis_init_script.tpl Update redis_init_script.tpl 2014-10-26 11:09:45 -07:00
redis-copy.rb Deprecate utils/redis-copy.rb in favor of redis-copy gem 2013-11-06 08:31:57 +00:00
redis-sha1.rb Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
speed-regression.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
systemd-redis_multiple_servers@.service Provide example systemd service unit files for redis-server 2019-11-19 18:55:44 +02:00
systemd-redis_server.service Start redis after network is online (#7639) 2020-08-11 12:30:32 +03:00
tracking_collisions.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
whatisdoing.sh Changes http to https in texts (#8495) 2021-03-10 19:11:16 +02:00