Skip to content

Comments

repos: configure source for credential lookup#5563

Merged
neersighted merged 1 commit intopython-poetry:masterfrom
abn:repository-tests
May 8, 2022
Merged

repos: configure source for credential lookup#5563
neersighted merged 1 commit intopython-poetry:masterfrom
abn:repository-tests

Conversation

@abn
Copy link
Member

@abn abn commented May 8, 2022

With this change users no longer need to configure source url explicitly via repositories configuration values when credentials are required.

In practice this means private repositories can now be configured as follows.

poetry source add name url
poetry config http-basic.name username password

This used to be as follows.

poetry source add name url
poetry config repositories.name url
poetry config http-basic.name username password

With this change users no longer need to configure source url
explicitly via `repositories` configuration values when credentials are
required.
@abn abn requested a review from a team May 8, 2022 15:10
@abn abn added this to the 1.2 milestone May 8, 2022
@neersighted neersighted merged commit b600549 into python-poetry:master May 8, 2022
@abn abn deleted the repository-tests branch May 8, 2022 20:48
@abn abn mentioned this pull request Jun 6, 2022
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants