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

Update publish command documentation to indicate how to set username and password with environment variables #9109

Closed
mwgamble opened this issue Mar 4, 2024 · 2 comments · Fixed by #9110
Labels
area/docs Documentation issues/improvements

Comments

@mwgamble
Copy link

mwgamble commented Mar 4, 2024

Issue Kind

Improving documentation

Existing Link

https://python-poetry.org/docs/cli/#publish

Description

In #9053, I was told that it is possible to set the username and password used for publishing with the publish command. I was admonished for not reading the documentation, and linked to this page:
https://python-poetry.org/docs/repositories/#configuring-credentials

The thing that @dimbleby didn't account for before telling me to read the documentation is that I had read the documentation, I just apparently hadn't read the correct documentation. I first checked the output of poetry publish --help, and then I read this page:
https://python-poetry.org/docs/cli/#publish

And nowhere did it mention configuring credentials via environment variables.

So my request is to please improve the documentation for the publish command specifically to indicate that this is possible. It would also be nice if the output of poetry publish --help could indicate this too.

@mwgamble mwgamble added area/docs Documentation issues/improvements status/triage This issue needs to be triaged labels Mar 4, 2024
@dimbleby
Copy link
Contributor

dimbleby commented Mar 4, 2024

Submit a pull request!

abn added a commit that referenced this issue Mar 4, 2024
abn added a commit that referenced this issue Mar 4, 2024
abn added a commit that referenced this issue Mar 4, 2024
abn added a commit that referenced this issue Mar 4, 2024
@abn abn removed the status/triage This issue needs to be triaged label Mar 4, 2024
@abn abn closed this as completed in #9110 Mar 4, 2024
abn added a commit that referenced this issue Mar 4, 2024
poetry-bot bot pushed a commit that referenced this issue Mar 4, 2024
abn added a commit that referenced this issue Mar 4, 2024
Resolves: #9109
(cherry picked from commit d08c75a)
Copy link

github-actions bot commented Apr 4, 2024

This issue 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 Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/docs Documentation issues/improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants