Repository navigation
Reject existing profile names after "Create a new profile" #7196
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
fb36e85
Reject existing profile names after "Create a new profile"
maksim-zuev-db 3786c96
Add a changelog fragment for the new profile name fix
maksim-zuev-db c911d08
Do not suggest a taken profile name after "Create a new profile"
maksim-zuev-db 32ea824
Reject existing profile names after "Create a new profile" in auth token
maksim-zuev-db 3cf9d95
Mention auth token in the changelog fragment
maksim-zuev-db b8b03a2
Trim spaces around the profile name before checking it
maksim-zuev-db 9e54ff0
Reject the reserved __settings__ name at the profile name prompt
maksim-zuev-db 1107921
Treat sections without a host as taken profile names
maksim-zuev-db 69ec797
Load only the picker profiles in auth login
maksim-zuev-db 1ab0bd1
Type the hidden profile name in the device code picker test
maksim-zuev-db 907f279
Clear DATABRICKS_HOST and DATABRICKS_CONFIG_PROFILE in the auth token…
maksim-zuev-db 70810f8
Drop the existing profile handling from the auth token inline login
maksim-zuev-db 19207b8
Test "Create a new profile" in the browser auth login flow
maksim-zuev-db 6f63417
Share the auth login test setup between browser and device code tests
maksim-zuev-db b8f7aef
Clear stale auth keys when the auth token inline login saves the profile
maksim-zuev-db 5c6c1fc
Tell how to use an existing profile at the profile name prompt
maksim-zuev-db 19ac6e4
Reject line breaks and square brackets in profile names
maksim-zuev-db 73e6af8
Allow square brackets in profile names
maksim-zuev-db File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * `databricks auth login` and `databricks auth token` now reject the name of an existing profile after "Create a new profile" instead of logging in to that profile. ([#7196](https://github.com/databricks/cli/pull/7196)) |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.