Skip to content

Commit 0c7ae24

Browse files
Revert JSON v3 logic
This hasn't been used in a around 8 months since the approach didn't work as well as we initially hoped. The idea was to reduce the size of the JSON blob to improve performance. This PR essentially reverts the following 2 commits: - 439c237 - 8e4d934 Related Links: - New approach: Homebrew/brew#19204 - Old approach: Homebrew/brew#16410
1 parent a4b039a commit 0c7ae24

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
HOMEBREW_DEVELOPER: 1
4242

4343
- name: Archive data
44-
run: tar czvf data-cask.tar.gz _data/cask/ api/cask/ api/cask-source/ api/cask_tap_migrations.json cask/ api/internal/v3/homebrew-cask.json
44+
run: tar czvf data-cask.tar.gz _data/cask/ api/cask/ api/cask-source/ api/cask_tap_migrations.json cask/
4545

4646
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
4747
with:
@@ -76,7 +76,7 @@ jobs:
7676
HOMEBREW_DEVELOPER: 1
7777

7878
- name: Archive data
79-
run: tar czvf data-core.tar.gz _data/formula/ _data/formula_canonical.json api/formula/ api/formula_tap_migrations.json formula/ api/internal/v3/homebrew-core.json
79+
run: tar czvf data-core.tar.gz _data/formula/ _data/formula_canonical.json api/formula/ api/formula_tap_migrations.json formula/
8080

8181
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
8282
with:

script/sign-json.rb

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
ROOT/"_site/api/cask.json",
1818
ROOT/"_site/api/formula_tap_migrations.json",
1919
ROOT/"_site/api/cask_tap_migrations.json",
20-
ROOT/"_site/api/internal/v3/homebrew-core.json",
21-
ROOT/"_site/api/internal/v3/homebrew-cask.json",
2220
].each do |path|
2321
data_string = path.read
2422

0 commit comments

Comments
 (0)