redict/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
hyperloglog
lru Outdated comments, replace COUNTER_INIT_VAL with LFU_INIT_VAL, fix typo (#10888) 2022-06-21 08:14:31 +03:00
releasetools
srandmember
build-static-symbols.tcl
cluster_fail_time.tcl
corrupt_rdb.c
gen-test-certs.sh
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
redis_init_script
redis_init_script.tpl
redis-copy.rb
redis-sha1.rb
speed-regression.tcl
systemd-redis_multiple_servers@.service
systemd-redis_server.service
tracking_collisions.c
whatisdoing.sh