-
Notifications
You must be signed in to change notification settings - Fork 308
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
Consider adding a twine accounts
command group
#324
Comments
|
I was trying to get to the minimal interface that wouldn't require changes to any other |
Really? We couldn't just use the repository URL to index the accounts ... like we do today? |
I understand why labeling a endpoint/username pair with a short/descriptive name would be helpful. That said, because keyring uses endpoint/username pairs to lookup credentials, I don't know where the name of the account would exist. It seems that would require Twine to track that metadata. This seems to have started though from adding a |
Closing this in favor of #216, but I think there are good ideas worth referencing here. |
In light of Keyring documentation (#323) it occurs to me that an ideal user experience never asks the user to deal with the keyring directly. Twine should just handle it.
I propose the following additions to twine's interface:
twine accounts add
Adds a username and password to the keyring for uploading to PyPI.
Adding for test PyPI should just require the
--test
flag:Adding for custom indexes should use the
repository-url
argument likeupload
:twine accounts delete
Deletes a specific account for a given index.
For PyPI usernames:
And the same add
add
for testpypi and custom indexes.twine accounts list
This should list all accounts in the keyring and their respective indexes;
The text was updated successfully, but these errors were encountered: