Skip to content

Commit

Permalink
relocate Linux analytics & data to homebrew-core
Browse files Browse the repository at this point in the history
  • Loading branch information
EricFromCanada authored and issyl0 committed Nov 1, 2021
1 parent fcfe97d commit c13ff5b
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 10 deletions.
2 changes: 0 additions & 2 deletions _layouts/analytics_json.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
{%- assign analytics_data_source = "homebrew-core" -%}
{%- elsif page.homebrew-cask -%}
{%- assign analytics_data_source = "homebrew-cask" -%}
{%- elsif page.linuxbrew-core -%}
{%- assign analytics_data_source = "linuxbrew-core" -%}
{%- endif -%}
{%- assign days = page.name | remove: ".json" -%}
{%- if analytics_data_source -%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: analytics_json
category: build-error
linuxbrew-core: true
homebrew-core: true
---
{{ content }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: analytics_json
category: install-on-request
linuxbrew-core: true
homebrew-core: true
---
{{ content }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: analytics_json
category: install-on-request
linuxbrew-core: true
homebrew-core: true
---
{{ content }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: analytics_json
category: install-on-request
linuxbrew-core: true
homebrew-core: true
---
{{ content }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: analytics_json
category: install
linuxbrew-core: true
homebrew-core: true
---
{{ content }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: analytics_json
category: install
linuxbrew-core: true
homebrew-core: true
---
{{ content }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: analytics_json
category: install
linuxbrew-core: true
homebrew-core: true
---
{{ content }}
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ List all the {{ site.taps.core.fullname }} or {{ site.taps.linux.fullname }} for

```
GET https://formulae.brew.sh/api/analytics/${CATEGORY}/homebrew-core/${DAYS}.json
GET https://formulae.brew.sh/api/analytics-linux/${CATEGORY}/linuxbrew-core/${DAYS}.json
GET https://formulae.brew.sh/api/analytics-linux/${CATEGORY}/homebrew-core/${DAYS}.json
```

#### Variables
Expand Down

0 comments on commit c13ff5b

Please sign in to comment.