Skip to content

Add ruby-lsp and zen packages to Brewiz catalog#3

Draft
Copilot wants to merge 14 commits intomainfrom
copilot/fix-e2a1b5a1-e141-4acf-a8ea-5e29cc6eeeae
Draft

Add ruby-lsp and zen packages to Brewiz catalog#3
Copilot wants to merge 14 commits intomainfrom
copilot/fix-e2a1b5a1-e141-4acf-a8ea-5e29cc6eeeae

Conversation

Copy link

Copilot AI commented Oct 3, 2025

This PR adds two popular packages to the Brewiz package catalog based on their Homebrew info:

Packages Added

ruby-lsp (homebrew/core/ruby-lsp)

  • Category: Development Utilities (devutil)
  • Description: Opinionated language server for Ruby
  • Homepage: https://shopify.github.io/ruby-lsp
  • Tags: development, ruby, language-server

Ruby LSP is an opinionated language server for Ruby that provides IDE features like autocomplete, go-to-definition, and linting. It's designed to work with any editor that supports the Language Server Protocol.

zen (homebrew/cask/zen)

  • Category: Browsers & Web Tools (web)
  • Description: Gecko based web browser
  • Homepage: https://zen-browser.app/
  • Tags: browser, productivity, macos

Zen Browser is a privacy-focused web browser built on Mozilla's Gecko engine. It offers a streamlined browsing experience with modern features while maintaining compatibility with Firefox extensions.

Bug Fixes

While adding these packages, I discovered and fixed two compatibility issues:

1. Fixed packages-updater for Ruby 3.2+

The script was using the deprecated positional argument syntax for YAML.safe_load, which was removed in Ruby 3.1+. Updated to use the new keyword argument syntax:

# Before (deprecated)
YAML.safe_load(content, [Date, Time])

# After (Ruby 3.2+ compatible)
YAML.safe_load(content, permitted_classes: [Date, Time])

2. Fixed beautify-packages-yaml for multi-document YAML files

The script was only loading the first YAML document (the metadata header) instead of the categories array. Updated to properly handle multi-document YAML streams:

# Before - only loads first document
data = YAML.load_file(@input_file)

# After - loads all documents and finds the categories array
docs = YAML.load_stream(File.read(@input_file))
data = docs.find { |d| d.is_a?(Array) }

Testing

  • All existing tests pass (2 runs, 13 assertions, 0 failures)
  • YAML syntax validated successfully
  • Packages are correctly sorted alphabetically within their categories
  • Formatting follows repository conventions

These changes ensure the Brewiz catalog remains up-to-date with popular development tools while maintaining compatibility with modern Ruby versions.

Original prompt
  • read the update prompt instruction from repo (below .github folder)
  • follow the instructions of update prompt for this packages:

==> ruby-lsp: stable 0.26.1 (bottled), HEAD
Opinionated language server for Ruby
https://shopify.github.io/ruby-lsp
Installed
/opt/homebrew/Cellar/ruby-lsp/0.26.1 (1,308 files, 16.9MB) *
Poured from bottle using the formulae.brew.sh API on 2025-09-30 at 01:49:47
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/r/ruby-lsp.rb
License: MIT
==> Dependencies
Required: ruby ✔
==> Options
--HEAD
Install HEAD version
==> Downloading https://formulae.brew.sh/api/formula/ruby-lsp.json
==> Analytics
install: 57 (30 days), 320 (90 days), 1,050 (365 days)
install-on-request: 57 (30 days), 320 (90 days), 1,050 (365 days)
build-error: 0 (30 days)
==> zen: 1.16.2b (auto_updates)
https://zen-browser.app/
Installed
/opt/homebrew/Caskroom/zen/1.16.1b (476.7MB)
Installed using the formulae.brew.sh API on 2025-09-30 at 00:57:27
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/z/zen.rb
==> Name
Zen Browser
==> Description
Gecko based web browser
==> Artifacts
Zen.app (App)
/Applications/Zen.app/Contents/MacOS/zen (Binary)
==> Downloading https://formulae.brew.sh/api/cask/zen.json
==> Analytics
install: 3,250 (30 days), 9,097 (90 days), 16,976 (365 days)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Insert gemini-cli into AI & Machine Learning (data/packages.yaml)
- Provide homepage, id, tags, license, and short info synthesized from the project README

Files: data/packages.yaml
Copilot AI changed the title - read the update prompt instruction from repo (below .github folder) - follow the instructions of update prompt for this packages: ==> ruby-lsp: stable 0.26.1 (bottled), HEAD Opinionated language server for Ruby https://shopify.github.io/ruby-lsp Ins... Add ruby-lsp and zen packages to Brewiz catalog Oct 3, 2025
Copilot AI requested a review from wstein October 3, 2025 08:44
Copy link
Owner

@wstein wstein left a comment

Choose a reason for hiding this comment

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

see comments.

please also check that all already existed packages are still in packages.yaml

@wstein wstein self-requested a review October 3, 2025 15:06
wstein and others added 13 commits December 5, 2025 12:50
…nd Local packages

- Add git to Git Tools with version control tags
- Add Adobe Acrobat Reader to Office for PDF document management
- Add FontForge to Graphics & Image Tools for font editing
- Add Orca Slicer to Media & Design for 3D printer G-code generation
- Add TeamViewer to Office for remote access and connectivity
- Add Local to Development Utilities for WordPress local development
…scad package id

- Update OpenSCAD package id from 'homebrew/cask/openscad' to
  'homebrew/cask/openscad@snapshot' in data/packages.yaml
- Add token field 'openscad@snapshot' to OpenSCAD entry
- Update homepage url to https://www.openscad.org/downloads.html#snapshots
- Modify update_packages_with_brew_info() in lib/package_manager.rb to
  preserve tags during package metadata merge by storing and restoring
  tags after the merge operation
Add a new prompt file that provides instructions for generating
conventional commit messages following the Conventional Commits
specification. The prompt includes:
- Message format structure with type, scope, and subject
- Guidelines for commit message composition
- Technical requirements (imperative mood, length limits)
- Best practices for body and footer sections
- Add Hazel to macOS Enhancements for automated file organization on macOS
- Add Hidden Bar to macOS Enhancements for hiding menu bar items on demand
- Add OnyX to macOS Enhancements for verifying and maintaining macOS system files
@wstein wstein force-pushed the copilot/fix-e2a1b5a1-e141-4acf-a8ea-5e29cc6eeeae branch from db2a9ce to 6cbb6bb Compare February 18, 2026 22:54
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.

2 participants