mobile-dev-inc/maestro

Add a new `maestro doctor` command

Open

#1.785 geöffnet am 10. Juli 2024

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Kotlin (306 Forks)batch import
P3enhancementgood first issuemaestro cli

Repository-Metriken

Stars
 (6.111 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 12T 2h) (39 gemergte PRs in 30 T)

Beschreibung

Use case

Aim: improve quality of issues we get on GitHub, by giving our users a simple way to gather environment information we need to triage bugs.

Inspired by flutter doctor.

Proposal

Introduce a new maestro doctor command. Usage idea:

$ maestro doctor
Doctor summary (to see all details, run flutter doctor -v):
• Maestro CLI v1.36.0 [installed with Homebrew]
• Mac OS X, 14.5, aarch64
• OpenJDK (openjdk 11.0.23 stable, 3.22.0, on macOS 14.5 23F79 darwin-arm64, locale en-US)
• Xcode 15.4, Build version 15F31d

How we can obtain the data

  • OS name, version and CPU arch is provided by JRE
  • Java info from java --version
  • Xcode info from xcodebuild --version

notes

  • Homebrew install (or in general: package manager install) vs standalone install - can we detect that?

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Follow up item

When maestro doctor is implemented:

  • update the bug report template to request users to paste output of maestro doctor.
  • update maestro bugreport to open the bug report template, not empty issue

Contributor Guide