-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
82020: cli: refactors; make `cockroach-sql`'s CLI parameter handling match `cockroach sql` r=otan,catj-cockroach a=knz Note to the reviewers: - The PR has been split into many small commits to ease the review. - The "main commit" is the last in the sequence; all commits before the last constitute a long-awaited refactor of the connection parameter handling, including moving much of the security-related logic away from `cli` into a sub-package of `security` where it belongs. - We only have testing code to exercise the command-line handling for `cockroach sql`, which at this point should be considered sufficient given we're using the same config code in `cockroach-sql` now. To make tests work across the two commands, we would need to make progress on #80921 first. Fixes #81882. Fixes #82024. Unblocks progress on #29285. Co-authored-by: Raphael 'kena' Poss <[email protected]>
- Loading branch information
Showing
53 changed files
with
2,091 additions
and
1,305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.