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

Implement a poetry report <command> command or something similar for when filing issues #9680

Open
bmitc opened this issue Sep 10, 2024 · 0 comments
Assignees
Labels
kind/feature Feature requests/implementations status/triage This issue needs to be triaged

Comments

@bmitc
Copy link

bmitc commented Sep 10, 2024

Issue Kind

Brand new capability

Description

When filing issues, users are asked to run several easily scriptable commands. This is quite tedious on the user and creates a barrier for appropriately filing bug reports.

Instead, Poetry should ship with some sort of debug command that would wrap everything up into a single command that would then be printed out or put into a Zip file.

For example, here are the separate commands users are asked to run:

poetry --version
poetry config --list
python -m sysconfig
<copy of the pyproject.toml>
poetry -vvv <command>

This is a bit tedious. So, a command such as

poetry report <command> [--include-pyproject-toml]

could be implemented that bundles up all of the requested output into a single command. It could also put the report into a text or HTML file to be uploaded when filing bug reports. Having a flag such as --sanitizer-user <user> could remove usernames from the paths that are printed.

Impact

The existing behavior creates a barrier to properly filed bug reports or even bug reports being filed at all.

Workarounds

Manually run all the requested commands.

@bmitc bmitc added kind/feature Feature requests/implementations status/triage This issue needs to be triaged labels Sep 10, 2024
@Secrus Secrus self-assigned this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Feature requests/implementations status/triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants