-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
pipx: add testcase w/ env vars PIPX_xxxx #5845
pipx: add testcase w/ env vars PIPX_xxxx #5845
Conversation
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
This is okay, but it doesn't actually solve the discoverability problem that I didn't know that |
I actually added that note to the docs as well. |
I see the addition, however that does not tell me as a user that |
I added a mention to that. It does feel like repeating Ansible documentation in the modules though. |
This comment was marked as outdated.
This comment was marked as outdated.
That is indeed something we should avoid. I'm still not convinced it is a good idea here. |
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
If the documentation was written as per the prior version of this PR, I would've opened up an issue like #5813 instead asking "how do I do this, the documentation doesn't say" |
True, and if the Ansible documentation was consulted first it is likely there would be no PR at all. If we follow that logic we should add this type of note to all modules that are affected by env variables, and I risk a guess that there are a couple of hundred in that situation. Then if we factor in all other Ansible features used by modules, this could potentially escalate quickly to a massive amount of "docs" that just point to existing stuff. |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #5858 🤖 @patchback |
* pipx: add testcase w/ env vars PIPX_xxxx * add note to the docs about env vars * add note to the docs about env vars * Apply suggestions from code review * Update plugins/modules/pipx.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/pipx_info.py Co-authored-by: Felix Fontein <felix@fontein.de> * break long lines into smaller ones Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 1430ed0)
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #5859 🤖 @patchback |
* pipx: add testcase w/ env vars PIPX_xxxx * add note to the docs about env vars * add note to the docs about env vars * Apply suggestions from code review * Update plugins/modules/pipx.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/pipx_info.py Co-authored-by: Felix Fontein <felix@fontein.de> * break long lines into smaller ones Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 1430ed0)
… PIPX_xxxx (#5858) pipx: add testcase w/ env vars PIPX_xxxx (#5845) * pipx: add testcase w/ env vars PIPX_xxxx * add note to the docs about env vars * add note to the docs about env vars * Apply suggestions from code review * Update plugins/modules/pipx.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/pipx_info.py Co-authored-by: Felix Fontein <felix@fontein.de> * break long lines into smaller ones Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 1430ed0) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
… PIPX_xxxx (#5859) pipx: add testcase w/ env vars PIPX_xxxx (#5845) * pipx: add testcase w/ env vars PIPX_xxxx * add note to the docs about env vars * add note to the docs about env vars * Apply suggestions from code review * Update plugins/modules/pipx.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/pipx_info.py Co-authored-by: Felix Fontein <felix@fontein.de> * break long lines into smaller ones Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 1430ed0) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
SUMMARY
Adds a testcase to demonstrate how the
pipx
module can be used with the environment variablesPIPX_*
, specifically for site-wide installation.Fixes #5813
ISSUE TYPE
COMPONENT NAME
pipx
pipx_info