Skip to content
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

azure: better error messages / allow_anonymous_login option #5833

Merged
merged 2 commits into from May 31, 2021

Conversation

isidentical
Copy link
Contributor

@isidentical isidentical commented Apr 16, 2021

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

Part of #5797. Implements the allow_anonymous_option and support for anonymous logins.

@isidentical isidentical changed the title [WIP] azure: better error messages / allow_anonymous_login option azure: better error messages / allow_anonymous_login option May 18, 2021
Copy link
Contributor

@dberenbaum dberenbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it's worth me trying out various azure methods to understand the UX better. From just looking through it, it looks good to me!

Comment on lines +121 to +125
"Authentication to Azure Blob Storage requires either "
"account_name or connection_string.\nLearn more about "
"configuration settings at "
+ format_link("https://man.dvc.org/remote/modify")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% sure I get this change (see Q in iterative/dvc.org#2489 (review)) but maybe:

Suggested change
"Authentication to Azure Blob Storage requires either "
"account_name or connection_string.\nLearn more about "
"configuration settings at "
+ format_link("https://man.dvc.org/remote/modify")
"Authentication to Azure Blob Storage requires setting either "
"account_name or connection_string.\nLearn more about "
"remote storage settings at "
+ format_link("https://man.dvc.org/remote/modify")

Some quick explanation of the change in the PR desc. would be great. Or link to a specific comment in #5797. Cc @casperdcl

@efiop efiop merged commit 1fbf0da into iterative:master May 31, 2021
@efiop efiop added the feature is a feature label Jun 2, 2021
if (
login_info["account_name"]
and not any_secondary
and not config.get("allow_anonymous_login")
Copy link
Contributor

@Suor Suor Jun 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this option in config schema or anywhere in DVC outside of tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature is a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants