-
Notifications
You must be signed in to change notification settings - Fork 368
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
cmd: Remove snake case deprecation warning #626
Conversation
Do we still want to remove the snake_case aliases then? Or shouldn't we just offer both? (kebab-case is easier to type when using the CLI) And wasn't the snake_case deprecation part of the broader effort to kebab-case the config file? |
I think that deserves a (maybe short) synchronous discussion? I've added a point for tomorrow's internal meeting. I apologize for adding a point to a meeting I'll probably not be able to attend :-|
I think so, although, by the age of tendermint/tendermint#5786 and tendermint/tendermint#5777, I'd say they first tackled this, and later (as of |
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
e5f91a0
to
4e4b7b9
Compare
We spoke about it in the team call today and we decided to:
|
* cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <connect@thanethomson.com> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> (cherry picked from commit c1214b2)
* cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <connect@thanethomson.com> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> (cherry picked from commit c1214b2) # Conflicts: # cmd/cometbft/commands/root.go
* cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <connect@thanethomson.com> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> (cherry picked from commit c1214b2) # Conflicts: # cmd/cometbft/commands/reindex_event.go # cmd/cometbft/commands/root.go
* cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <connect@thanethomson.com> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> (cherry picked from commit c1214b2) Co-authored-by: Thane Thomson <connect@thanethomson.com>
* cmd: Remove snake case deprecation warning (#626) * cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <connect@thanethomson.com> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> (cherry picked from commit c1214b2) # Conflicts: # cmd/cometbft/commands/root.go * Resolve conflicts Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> Co-authored-by: Thane Thomson <connect@thanethomson.com>
* cmd: Remove snake case deprecation warning (#626) * cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <connect@thanethomson.com> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> (cherry picked from commit c1214b2) # Conflicts: # cmd/cometbft/commands/reindex_event.go # cmd/cometbft/commands/root.go * Resolve conflicts Signed-off-by: Thane Thomson <connect@thanethomson.com> * cmd: Restore short description for reindex-event to conform to v0.34 convention Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> Co-authored-by: Thane Thomson <connect@thanethomson.com>
* cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <connect@thanethomson.com> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com>
…ometbft#671) * cmd: Remove snake case deprecation warning (cometbft#626) * cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <connect@thanethomson.com> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> (cherry picked from commit c1214b2) # Conflicts: # cmd/cometbft/commands/root.go * Resolve conflicts Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com> Co-authored-by: Thane Thomson <connect@thanethomson.com>
While working on #625 I discovered this. We have aliases for both types of commands, so I don't think there's any need to issue a warning here.
PR checklist
.changelog
(we use unclog to manage our changelog)docs/
orspec/
) and code comments