Skip to content

Add a `debug-info` command to simplify creating bug reports

Tiger Watson requested to merge show-debug-info into main

What does this Merge Request do and why?

Adds gdk debug-info command, which generates the following output:

$ gdk debug-info
Please review the content below, ensuring any sensitive information such as API
keys, passwords etc are removed before submitting:

--------------------------------------------------------------------------------
Operating system: Darwin Tigers-MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 PDT 2021; root:xnu-7195.141.8~1/RELEASE_X86_64 x86_64
Architecture: i386
Ruby version: ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-darwin20]
GDK version: 79ca8907

GDK configuration:
---
gdk:
  auto_rebase_projects: true
--------------------------------------------------------------------------------

Related: #669 (closed)

This output can then be pasted into bug reports without needing to run each command individually.

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Ash McKenzie

Merge request reports