Skip to content

chore(issue-template): bug.yml asks for lisa --version first#18

Open
oratis wants to merge 1 commit into
mainfrom
chore/bug-template-version-cmd-17
Open

chore(issue-template): bug.yml asks for lisa --version first#18
oratis wants to merge 1 commit into
mainfrom
chore/bug-template-version-cmd-17

Conversation

@oratis
Copy link
Copy Markdown
Owner

@oratis oratis commented May 20, 2026

Closes #17.

What

The bug-report template's version field told reporters:

Output of `git rev-parse --short HEAD`

That only works for people who cloned the repo. Anyone who installed via npm or homebrew — both documented install paths — has no git checkout, and ends up either typing "n/a" or abandoning the report.

Since 84ba4b7 shipped `lisa --version`, every install surface can report a stable version with one command:

$ lisa --version
0.2.0

Change

   - type: input
     id: lisa-version
     attributes:
-      label: LISA commit / version
-      description: Output of \`git rev-parse --short HEAD\`
-      placeholder: e.g. ac3a541
+      label: LISA version
+      description: Output of \`lisa --version\` (or \`git rev-parse --short HEAD\` if you're running from a clone)
+      placeholder: e.g. 0.2.0

Dev-checkout reporters who want commit-level precision can still send the git sha — it's mentioned as the fallback.

Scope

  • One file: `.github/ISSUE_TEMPLATE/bug.yml`
  • Template only, no code, no behavior change

🤖 Generated with Claude Code

The bug-report template told reporters to run \`git rev-parse --short HEAD\`
for the version field — only works for people who cloned the repo, breaks
for everyone who installed via npm or homebrew (both documented install
paths).

Since 84ba4b7 added \`lisa --version\`, every install path can report a
stable version string with one command. Prefer it; keep the git sha
fallback for dev-checkout reporters who want commit-level precision.

Closes #17

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug.yml: ask for lisa --version instead of git rev-parse (works for npm/homebrew users)

1 participant