Add comprehensive Homebrew formula support for macOS and Linux#31
Draft
Add comprehensive Homebrew formula support for macOS and Linux#31
Conversation
Co-authored-by: NQMVD <99403507+NQMVD@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] create a homebrew flask for this that works on both macos and linux
Add comprehensive Homebrew formula support for macOS and Linux
Jul 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds comprehensive Homebrew formula support for the
needsCLI tool, enabling easy installation on both macOS and Linux systems.What's Added
🍺 Homebrew Formula Files
needs.rb- Main formula for development/testing (builds from master branch)needs-release.rb- Production-ready template for GitHub releasesneeds-advanced.rb- Enhanced formula with additional UX features📚 Documentation
HOMEBREW.md- Comprehensive formula documentationINSTALL.md- User-friendly installation guideHOMEBREW_SUMMARY.md- Implementation summary and maintenance guideREADME.mdwith Homebrew installation instructions🧪 Testing & Validation
test-formula.sh- Comprehensive test suite that validates:Installation Methods
Method 1: Local Installation (Current)
git clone https://github.com/NQMVD/needs.git cd needs brew install --build-from-source ./needs.rbMethod 2: Direct URL (Future)
Method 3: Homebrew Tap (Recommended)
Platform Support
✅ macOS: Intel (x86_64) and Apple Silicon (ARM64)
✅ Linux: x86_64 (via Homebrew on Linux)
Key Features
Usage After Installation
Testing Results
All formulas pass comprehensive validation:
Future Enhancements
Once GitHub releases are available, the formula can be updated to use release tarballs with SHA256 verification for even better security and reproducibility.
Closes the issue requesting Homebrew flask support for macOS and Linux.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.