Repository navigation
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 <[email protected]>
Signed-off-by: Thane Thomson <[email protected]>
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 <[email protected]> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> (cherry picked from commit c1214b2)
* cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <[email protected]> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> (cherry picked from commit c1214b2) # Conflicts: # cmd/cometbft/commands/root.go
* cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <[email protected]> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> (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 <[email protected]> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> (cherry picked from commit c1214b2) Co-authored-by: Thane Thomson <[email protected]>
* cmd: Remove snake case deprecation warning (#626) * cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <[email protected]> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> (cherry picked from commit c1214b2) # Conflicts: # cmd/cometbft/commands/root.go * Resolve conflicts Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> Co-authored-by: Thane Thomson <[email protected]>
* cmd: Remove snake case deprecation warning (#626) * cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <[email protected]> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> (cherry picked from commit c1214b2) # Conflicts: # cmd/cometbft/commands/reindex_event.go # cmd/cometbft/commands/root.go * Resolve conflicts Signed-off-by: Thane Thomson <[email protected]> * cmd: Restore short description for reindex-event to conform to v0.34 convention Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> Co-authored-by: Thane Thomson <[email protected]>
* cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <[email protected]> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]>
…ometbft#671) * cmd: Remove snake case deprecation warning (cometbft#626) * cmd: Remove snake case deprecation warning Signed-off-by: Thane Thomson <[email protected]> * cmd: Add snake_case aliases for commands that do not have Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> (cherry picked from commit c1214b2) # Conflicts: # cmd/cometbft/commands/root.go * Resolve conflicts Signed-off-by: Thane Thomson <[email protected]> --------- Signed-off-by: Thane Thomson <[email protected]> Co-authored-by: Thane Thomson <[email protected]>
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