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

Auth in URL is ignored for publish #2140

Closed
jensstein opened this issue Jul 27, 2023 · 0 comments
Closed

Auth in URL is ignored for publish #2140

jensstein opened this issue Jul 27, 2023 · 0 comments
Labels
⭐ enhancement Improvements for existing features

Comments

@jensstein
Copy link
Contributor

When specifying username and password in the URL given to pdm publish --repository they are ignored and the user is prompted to give them.

If username and password are present in the URL they should be used for authentication.

And example would be pdm publish --repository https://username:password@organization.pkgs.visualstudio.com/project/_packaging/feed/pypi/upload

@jensstein jensstein added the ⭐ enhancement Improvements for existing features label Jul 27, 2023
jensstein added a commit to jensstein/pdm that referenced this issue Jul 27, 2023
This will allow setting authentication information when publishing like
this: `pdm publish --repository
https://username:password@organization.pkgs.visualstudio.com/project/_packaging/feed/pypi/upload`

pdm-project#2140
jensstein added a commit to jensstein/pdm that referenced this issue Jul 27, 2023
This will allow setting authentication information when publishing like
this: `pdm publish --repository
https://username:password@organization.pkgs.visualstudio.com/project/_packaging/feed/pypi/upload`

pdm-project#2140
frostming pushed a commit that referenced this issue Jul 28, 2023
This will allow setting authentication information when publishing like
this: `pdm publish --repository
https://username:password@organization.pkgs.visualstudio.com/project/_packaging/feed/pypi/upload`

#2140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement Improvements for existing features
Projects
None yet
Development

No branches or pull requests

2 participants