-
Notifications
You must be signed in to change notification settings - Fork 47
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
groups.json
uses dash, command JSON uses underscore
#178
Comments
No, I would just change the man page stuff at the same time. Will it break the website? |
@zuiderkwast Nope. I would have a bit of dead code to transform the underscores to dashes but it's fine. |
I was just about to change it to underscore when I found another place where
And one line in the reply schema describing the reply above: https://github.com/valkey-io/valkey/blob/8.0.1/src/commands/command-docs.json#L84 Suddenly I'm not certain we should change this anymore. Changing the reply of COMMAND DOCS can be considered a breaking change. |
I'll twitch every time I see the line that transforms the What a maddeningly inconsistent thing. Oh well, feel free to close. |
Although we should probably document that changing this file |
I'll show you the code that turns
No, it doesn't. The code doesn't depend on the doc repo, so we can change the doc repo without considering it a breaking change. That won't solve the inconsistency though, as long as the name Anyway, I don't really think it's worth changing |
I'm working on valkey-io/valkey-io.github.io#150 using the
groups.json
file to get human readable descriptions from command JSONgroup
fields.Everything corresponds between the files except sorted set in command JSON files are grouped as
sorted_set
and thegroups.json
usessorted-set
.I can work around this but it's annoying that we're not consistent. I'd be in favour of changing
groups.json
to reflect the field in the command JSON. Will this break the man page generation script?The text was updated successfully, but these errors were encountered: