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

Improve environment reporting #246

Closed
amotl opened this issue Nov 22, 2020 · 0 comments · Fixed by #462
Closed

Improve environment reporting #246

amotl opened this issue Nov 22, 2020 · 0 comments · Fixed by #462
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@amotl
Copy link
Member

amotl commented Nov 22, 2020

Is your feature request related to a problem? Please describe.
For improving the possibilities to get an idea of the user's environment, Wetterdienst should offer some feature to report about respective details.

Describe the solution you'd like
I would like to see this feature implemented similar to Pandas' pd.show_versions() [1] or requests' python -m requests.help [2].

[1] https://github.com/pandas-dev/pandas/blob/master/.github/ISSUE_TEMPLATE/bug_report.md#output-of-pdshow_versions
[2] https://github.com/psf/requests/blob/master/.github/ISSUE_TEMPLATE/Bug_report.md#system-information

This might also be conveniently provided through a CLI invocation like wetterdienst info.

Further suggestions
Please also include the path to the cache directory, as it has been tried at

log.info("Cache directory is %s", cache_dir)

but doesn't quite work. This somehow relates to all the dbmfile-cache issues summarized within #243 in order to at least give the user something where she will be able to deduce the cache directory from in order to be able to purge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants