mobile-dev-inc/maestro

Add a new `maestro doctor` command

オープン

#1,785 opened on 2024/07/10

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Kotlin (824 件のフォーク)batch import
P3enhancementgood first issuemaestro cli

Repository metrics

Stars
 (14,051 個のスター)
PR merge metrics
 (平均マージ 12d 2h) (30d で 39 merged PRs)

説明

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

コントリビューターガイド