mobile-dev-inc/maestro

Add a new `maestro doctor` command

Open

#1.785 aberto em 10 de jul. de 2024

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Kotlin (306 forks)batch import
P3enhancementgood first issuemaestro cli

Métricas do repositório

Stars
 (6.111 stars)
Métricas de merge de PR
 (Mesclagem média 12d 2h) (39 fundiu PRs em 30d)

Description

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

Guia do colaborador