Skip to content

Conversation

@ansonhoyt
Copy link

Add head block to allow installing from main branch:
brew install --HEAD tobi/try/try

The HEAD build includes lib/tui.rb and lib/fuzzy.rb which are required
by the current codebase but not present in the v1.0.0 release.

Also fixes pre-existing brew audit issues:

❯ brew audit tobi/try/try
tobi/try/try
  * Stable: `version 1.0.0` is redundant with version scanned from URL
  * line 6, col 3: `version` (line 6) should be put before `sha256` (line 5)
  * line 37, col 4: Final newline missing.
Error: 3 problems in 1 formula detected.

Add `head` block to allow installing from main branch:
  brew install --HEAD tobi/try/try

The HEAD build includes lib/tui.rb and lib/fuzzy.rb which are required
by the current codebase but not present in the v1.0.0 release.

Also fixes pre-existing `brew audit` issues:

```
❯ brew audit tobi/try/try
tobi/try/try
  * Stable: `version 1.0.0` is redundant with version scanned from URL
  * line 6, col 3: `version` (line 6) should be put before `sha256` (line 5)
  * line 37, col 4: Final newline missing.
Error: 3 problems in 1 formula detected.
```
Copilot AI review requested due to automatic review settings January 17, 2026 02:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds HEAD installation support to the try Homebrew formula and fixes pre-existing linting issues identified by brew audit.

Changes:

  • Added head block to enable installation from the main branch, which includes required lib files not present in v1.0.0
  • Removed redundant explicit version declaration (extracted automatically from URL)
  • Added conditional installation of lib/tui.rb and lib/fuzzy.rb for HEAD builds
  • Fixed missing final newline

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant