mobile-dev-inc/maestro

Add a new `maestro doctor` command

Open

#1,785 建立於 2024年7月10日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Kotlin (306 fork)batch import
P3enhancementgood first issuemaestro cli

倉庫指標

Star
 (6,111 star)
PR 合併指標
 (平均合併 12天 2小時) (30 天內合併 39 個 PR)

描述

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

貢獻者指南