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

Improve legacy credential handling (and test it) #247

Merged
merged 2 commits into from
Feb 18, 2023
Merged

Conversation

mih
Copy link
Member

@mih mih commented Feb 18, 2023

With this change, we can now communicate to users what credentials are legacy and behave different from others.

% datalad credentials
crcns(user_password ✗): (legacy-credential)

Retrieval and update handling are also improved. Importantly this is now tested (only 5 lines are missing in the entire code base; 99% coverage).
The key improvment is that users no longer have to provide type hints
for legacy credentials that are known via a "provider configuration.

Closes #246

Ping #224 (this is not a formal backend, but works towards it by better defining the behavior)

mih added 2 commits February 18, 2023 11:28
With this, we can now communicate to users what credentials are legacy
and behave different from others.

Closes datalad#246
Importantly this is now tested (only 5 lines are missing in the entire
code base; 99% coverage).

The key improvment is that users no longer have to provide type hints
for legacy credentials that are known via a "provider configuration.
@mih
Copy link
Member Author

mih commented Feb 18, 2023

Test failures are #245 (I will get to you!!)

@mih mih merged commit 3e10738 into datalad:main Feb 18, 2023
@mih mih deleted the legacycred branch February 18, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Annotate credential with source backend
1 participant