Skip to content

Commit

Permalink
Merge pull request #569 from issyl0/unseparate-linux-formulae
Browse files Browse the repository at this point in the history
Migrate Linux data source to Homebrew/homebrew-core
  • Loading branch information
issyl0 authored Nov 1, 2021
2 parents a6105e2 + c4152e8 commit 7607599
Show file tree
Hide file tree
Showing 35,228 changed files with 6,063 additions and 3,143,950 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
bundle install --jobs 4 --retry 3
- name: Generate site
run: bundle exec rake all_formulae cask
run: bundle exec rake formulae cask
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[Homebrew Formulae](https://formulae.brew.sh) is an online package browser for [Homebrew](https://brew.sh).

It displays all packages in the [Homebrew/homebrew-core](https://github.com/Homebrew/homebrew-core), [Homebrew/homebrew-cask](https://github.com/Homebrew/homebrew-cask) and [Homebrew/linuxbrew-core](https://github.com/Homebrew/linuxbrew-core) taps. A [GitHub Action](https://github.com/Homebrew/formulae.brew.sh/blob/master/.github/workflows/scheduled.yml) is run periodically which pulls changes from each tap and deploys the site to GitHub Pages.
It displays all packages in the [Homebrew/homebrew-core](https://github.com/Homebrew/homebrew-core) and [Homebrew/homebrew-cask](https://github.com/Homebrew/homebrew-cask). A [GitHub Action](https://github.com/Homebrew/formulae.brew.sh/blob/master/.github/workflows/scheduled.yml) is run periodically which pulls changes from each tap and deploys the site to GitHub Pages.

## JSON API
It also provides a JSON API for all packages (or individual packages) in each tap and their related analytics. This JSON data is used for the creation of the HTML resources on this site.
Expand Down
9 changes: 1 addition & 8 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ task :formulae, [:os, :tap] do |task, args|
ENV["HOMEBREW_NO_COLOR"] = "1"
sh "brew", "ruby", "script/generate.rb", args[:os], args[:tap]
end
CLOBBER.include FileList[%w[_data/formula _data/*_canonical.json api/formula formula
_data/formula-linux api/formula-linux formula-linux]]
CLOBBER.include FileList[%w[_data/formula _data/formula_canonical.json api/formula formula]]

desc "Dump cask data"
task :cask, [:tap] do |task, args|
Expand Down Expand Up @@ -74,7 +73,6 @@ def generate_analytics_files(os)

if os == "linux"
analytics_data_path = "_data/analytics-linux"
core_tap_name = "linuxbrew-core"
formula_analytics_os_arg = "--linux"
end

Expand Down Expand Up @@ -147,11 +145,6 @@ task :linux_analytics do
Rake::Task["analytics"].tap(&:reenable).invoke("linux")
end

desc "Dump all formulae (macOS and Linux)"
task all_formulae: :formulae do
Rake::Task["formulae"].tap(&:reenable).invoke("linux")
end

desc "Dump all analytics (macOS and Linux)"
task all_analytics: :analytics do
Rake::Task["analytics"].tap(&:reenable).invoke("linux")
Expand Down
5 changes: 0 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ taps:
name: Homebrew/cask
fullname: Homebrew/homebrew-cask
remote: https://github.com/Homebrew/homebrew-cask
linux:
repo: core
name: Homebrew/core
fullname: Homebrew/linuxbrew-core
remote: https://github.com/Homebrew/linuxbrew-core

logo: https://brew.sh/assets/img/homebrew-256x256.png

Expand Down
58 changes: 0 additions & 58 deletions _data/bottle-linux/a2ps.json

This file was deleted.

25 changes: 0 additions & 25 deletions _data/bottle-linux/a52dec.json

This file was deleted.

34 changes: 0 additions & 34 deletions _data/bottle-linux/aacgain.json

This file was deleted.

25 changes: 0 additions & 25 deletions _data/bottle-linux/aalib.json

This file was deleted.

92 changes: 0 additions & 92 deletions _data/bottle-linux/aamath.json

This file was deleted.

37 changes: 0 additions & 37 deletions _data/bottle-linux/aardvark_shell_utils.json

This file was deleted.

Loading

0 comments on commit 7607599

Please sign in to comment.