Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate data process is broken #49840

chenrui333 opened this issue Feb 6, 2020 · 1 comment · Fixed by Homebrew/

Generate data process is broken #49840

chenrui333 opened this issue Feb 6, 2020 · 1 comment · Fixed by Homebrew/


Copy link

@chenrui333 chenrui333 commented Feb 6, 2020

Broken since the latest node-build PR merge,

brew formula-analytics  --days-ago=365 --json --os-version > _data/analytics/os-version/365d.json
brew formula-analytics  --days-ago=30 --json --all-core-formulae-json --build-error > _data/analytics/build-error/homebrew-core/30d.json
Error: Options --json and --all-core-formulae-json are mutually exclusive.
rake aborted!

This comment has been minimized.

Copy link

@issyl0 issyl0 commented Feb 6, 2020

The brew formula-analytics command was switched to use CLI::Parser in Homebrew/homebrew-formula-analytics#129.

@issyl0 issyl0 self-assigned this Feb 6, 2020
issyl0 added a commit to Homebrew/ that referenced this issue Feb 6, 2020
- In Homebrew/homebrew-formula-analytics#129, `brew formula-analytics` switched to use `CLI::Parser`. While doing so, `--json` and `--all-core-formulae-json` were set to be [conflicting](
- This caused an issue where the GitHub Action to generate the data for these pages [couldn't run](Homebrew/homebrew-core#49840) because it was using both of the arguments.
- Instead, make this only use `--all-core-formulae-json` as it's the more specific one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.