mobile-dev-inc/maestro

Add a new `maestro doctor` command

Open

#1 785 ouverte le 10 juil. 2024

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Kotlin (306 forks)batch import
P3enhancementgood first issuemaestro cli

Métriques du dépôt

Stars
 (6 111 stars)
Métriques de merge PR
 (Merge moyen 12j 2h) (39 PRs mergées en 30 j)

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

Guide contributeur