Skip to content

Commit

Permalink
Import brew formula-analytics and generate-analytics-api commands
Browse files Browse the repository at this point in the history
Import these from the homebrew/formula-analytics tap and deprecate
that tap.

This required a little messing around with filenames and paths to get
it finding Python and writing to the user's home directory.
  • Loading branch information
MikeMcQuaid committed Feb 7, 2025
1 parent 94e2bdf commit ec5ba23
Show file tree
Hide file tree
Showing 17 changed files with 765 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ jobs:
brew tap homebrew/aliases
brew tap homebrew/bundle
brew tap homebrew/command-not-found
brew tap homebrew/formula-analytics
brew tap homebrew/portable-ruby
brew tap homebrew/services
Expand All @@ -131,7 +130,6 @@ jobs:
brew style homebrew/aliases \
homebrew/command-not-found \
homebrew/formula-analytics \
homebrew/portable-ruby
- name: Run brew style on homebrew/cask
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
**/vendor/bundle/ruby/*/gems/prism-*/
**/vendor/bundle/ruby/*/gems/psych-*/
**/vendor/bundle/ruby/*/gems/pry-*/
**/vendor/bundle/ruby/*/gems/pycall-*/
**/vendor/bundle/ruby/*/gems/racc-*/
**/vendor/bundle/ruby/*/gems/rainbow-*/
**/vendor/bundle/ruby/*/gems/rbi-*/
Expand Down
3 changes: 3 additions & 0 deletions Library/Homebrew/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ end
group :vscode, optional: true do
gem "ruby-lsp", require: false
end
group :formula_analytics, optional: true do
gem "pycall", require: false
end

# shared gems (used by multiple groups)
group :audit, :bump_unversioned_casks, :livecheck, optional: true do
Expand Down
2 changes: 2 additions & 0 deletions Library/Homebrew/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ GEM
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (6.0.1)
pycall (1.5.2)
racc (1.8.1)
rainbow (3.1.1)
rbi (0.2.4)
Expand Down Expand Up @@ -169,6 +170,7 @@ DEPENDENCIES
patchelf
plist
pry
pycall
redcarpet
rexml
rspec
Expand Down
Loading

0 comments on commit ec5ba23

Please sign in to comment.