Mike McQuaid
a62112f894
Merge pull request #14683 from MikeMcQuaid/no_homebrew_core_version
...
cmd/--version: don't always output homebrew/core.
2023-02-17 14:11:53 +00:00
Issy Long
7ba8c1cd9a
simplecov: Appease brew style
2023-02-17 14:05:04 +00:00
Mike McQuaid
d60d2fe158
cmd/--version: don't always output homebrew/core.
...
This is more confusing than helpful if it's untapped for API usage.
2023-02-17 13:39:57 +00:00
Issy Long
2986c7d736
simplecov: Even shorter command_name
s
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-02-17 13:36:19 +00:00
Mike McQuaid
abc6d22623
Merge pull request #14672 from Bo98/analytics-docs
...
docs/Analytics: update with post-4.0.0 info
2023-02-17 13:31:18 +00:00
Bo Anderson
971969541e
Merge pull request #14679 from Bo98/api-source-fetch
...
formula_installer: fix resource fetching for source builds under API
2023-02-17 13:14:22 +00:00
Mike McQuaid
897121de88
Merge pull request #14678 from apainintheneck/add-cask-api-loader-tests
...
cask: add FromAPILoader tests
2023-02-17 12:34:22 +00:00
Mike McQuaid
bf45d272d4
Merge pull request #14680 from ZhongRuoyu/faq-no-install-from-api
...
docs/FAQ: fix HOMEBREW_NO_INSTALL_FROM_API mention
2023-02-17 12:31:54 +00:00
Ruoyu Zhong
36e78e9558
docs/FAQ: fix HOMEBREW_NO_INSTALL_FROM_API mention
...
There is no `HOMEBREW_NO_INSTALL_WITH_API`; it should be
`HOMEBREW_NO_INSTALL_FROM_API`.
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-02-17 16:51:05 +08:00
Kevin
8ff2e29aad
Merge pull request #14652 from apainintheneck/improve-prof-errors
...
cmd/prof: improve error messages
2023-02-16 22:39:05 -08:00
Mike McQuaid
c3ba29570c
Merge pull request #14653 from danielnachun/libquadmath_linkage
...
linkage_checker: add libquadmath
2023-02-17 06:02:29 +00:00
Bo Anderson
433631ad60
formula_installer: fix resource fetching for source builds under API
2023-02-17 04:26:45 +00:00
Mike McQuaid
b55078690c
Merge pull request #14670 from MikeMcQuaid/analytics_on_request_bool
...
utils/analytics: make on_request a proper boolean.
2023-02-17 03:41:18 +00:00
apainintheneck
3eede57ba2
::FromAPILoader tests for cask
2023-02-16 19:35:34 -08:00
Bo Anderson
a85021d997
Merge pull request #14676 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2023-02-17 03:34:21 +00:00
Bo Anderson
4700a4225d
Merge pull request #14677 from Bo98/analytics-test-fix
...
test/utils/analytics_spec: fix flaky test
2023-02-17 03:34:03 +00:00
apainintheneck
d216b3355d
cmd/prof: improve error messages
...
- Provide an error message when the command is unknown.
- Suggest running the command again with `--` if there
is an invalid option which might have been meant for
a subcommand.
2023-02-16 18:51:08 -08:00
Bo Anderson
921b427ff2
test/utils/analytics_spec: fix flaky test
2023-02-17 02:17:03 +00:00
BrewTestBot
d0fac05a27
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2023-02-17 00:29:59 +00:00
Mike McQuaid
e35803596c
Merge pull request #14649 from dduugg/type-rubocops
...
Enable typing in rubocops
2023-02-17 00:17:44 +00:00
Bo Anderson
9b063cc787
Merge pull request #14671 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-capybara-2.17.1
...
build(deps): bump rubocop-capybara from 2.17.0 to 2.17.1 in /Library/Homebrew
2023-02-17 00:05:49 +00:00
Douglas Eichelberger
a57764e4d6
Disable FormulaCop
2023-02-16 15:51:20 -08:00
Douglas Eichelberger
6c93f6fe91
Enable typing in rubocops
2023-02-16 15:51:20 -08:00
Issy Long
faf505e935
simplecov: Set command_name
shorter than "all of the file paths ever"
...
- Having `ENV["HOMEBREW_INTEGRATION_TEST"]` as part of the
`command_name` for SimpleCov made the "generated report" wording
_really_ long and unintelligible, since `HOMEBREW_INTEGRATION_TEST`
for some reason is a list of paths, which when we run all of the tests
in parallel, is a lot.
- Because of the way the tests run, this is still _a bit_
noisy, but I've assumed we still want the uniqueness (ish) of the
process IDs. I'll iterate some more to trim this further, if desired.
```
Coverage report generated for Homebrew/brew (), Homebrew/brew (10), Homebrew/brew (11), Homebrew/brew (12), Homebrew/brew (13), Homebrew/brew (14), Homebrew/brew (15), Homebrew/brew (16), Homebrew/brew (2), Homebrew/brew (3), Homebrew/brew (4), Homebrew/brew (5), Homebrew/brew (6), Homebrew/brew (7), Homebrew/brew (8), Homebrew/brew (9), Homebrew/brew integration tests (), Homebrew/brew integration tests (10), Homebrew/brew integration tests (11), Homebrew/brew integration tests (12), Homebrew/brew integration tests (13), Homebrew/brew integration tests (14), Homebrew/brew integration tests (15), Homebrew/brew integration tests (16), Homebrew/brew integration tests (2), Homebrew/brew integration tests (3), Homebrew/brew integration tests (4), Homebrew/brew integration tests (5), Homebrew/brew integration tests (6), Homebrew/brew integration tests (7), Homebrew/brew integration tests (8), Homebrew/brew integration tests (9) to /usr/local/Homebrew/Library/Homebrew/test/coverage. 22236 / 32877 LOC (67.63%) covered.
```
2023-02-16 19:38:15 +00:00
Bo Anderson
3f03d5b2d8
docs/Analytics: update with post-4.0.0 info
2023-02-16 18:21:58 +00:00
BrewTestBot
0bf2fb4809
Update RBI files for rubocop-capybara.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-02-16 18:17:49 +00:00
BrewTestBot
d0fb8531eb
brew vendor-gems: commit updates.
2023-02-16 18:10:22 +00:00
dependabot[bot]
2c00c9f30f
build(deps): bump rubocop-capybara in /Library/Homebrew
...
Bumps [rubocop-capybara](https://github.com/rubocop/rubocop-capybara ) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/rubocop/rubocop-capybara/releases )
- [Changelog](https://github.com/rubocop/rubocop-capybara/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-capybara/compare/v2.17.0...v2.17.1 )
---
updated-dependencies:
- dependency-name: rubocop-capybara
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 18:05:31 +00:00
Mike McQuaid
ad1213a7da
utils/analytics: make on_request a proper boolean.
...
Otherwise when it's `false` it's being turned into a `true` value.
2023-02-16 17:51:42 +00:00
Mike McQuaid
b38aca8a6e
Merge pull request #14666 from Bo98/no-api-write
...
api: avoid unnecessary file write operation
2023-02-16 16:59:36 +00:00
Mike McQuaid
3569035691
Merge pull request #14665 from Homebrew/sponsors-maintainers-man-completions
...
Update maintainers.
2023-02-16 16:54:28 +00:00
Mike McQuaid
0640cdce8d
Merge pull request #14669 from maxim-belkin/completions-no-posix
...
Bash completions: warn and exit if POSIX mode detected
2023-02-16 16:41:03 +00:00
Mike McQuaid
2ffd0d6503
Merge pull request #14668 from MikeMcQuaid/update_full_url_json
...
cmd/update.sh: provide full JSON URL.
2023-02-16 16:39:39 +00:00
Bo Anderson
ab6bef261c
api: avoid unnecessary file write operation
2023-02-16 16:23:13 +00:00
Maxim Belkin
216ad265af
Bash completions: warn and exit if POSIX mode detected
2023-02-16 16:04:30 +00:00
Mike McQuaid
aa2c2982a0
cmd/update.sh: provide full JSON URL.
...
This makes it clearer what site cannot be accessed.
2023-02-16 16:03:22 +00:00
Carlo Cabrera
ac7dbc0082
cmd/update-reset: accept tap names as arguments
...
Currently, doing `brew update-reset homebrew/core` does nothing (not
even return an error). If you want to `update-reset` a given tap, you
must do (the equivalent of)
brew update-reset "$(brew --repository owner/tap_name)"
This isn't very intuitive, so let's do a bit more work in argument
parsing so that the user can just pass a tap name instead of a path to a
tap.
Passing a path to a tap is also still supported.
2023-02-16 23:57:31 +08:00
BrewTestBot
42ad183960
Update manpage and completions.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2023-02-16 15:42:09 +00:00
BrewTestBot
7b1ebdc233
Update maintainers.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2023-02-16 15:41:58 +00:00
Issy Long
d7d775a4ef
Merge pull request #14642 from issyl0/contributions-csv
...
dev-cmd/contributions: CSV output of queried repos; shorter sentence
2023-02-16 15:40:12 +00:00
Mike McQuaid
c9fdce3e3c
Merge pull request #14658 from MikeMcQuaid/analytics_report_event
...
utils/analytics: cleanup reporting.
2023-02-16 13:58:39 +00:00
Mike McQuaid
cd38ad0181
README: rearrange.
...
Let's put things users are more likely to care about nearer the top.
2023-02-16 13:27:43 +00:00
Mike McQuaid
a83fef7b41
utils/analytics: cleanup data.
...
Based on reviewing InfluxDB buckets.
2023-02-16 13:15:04 +00:00
Mike McQuaid
ef8ad10741
utils/analytics: fix BuildError reporting.
...
Need to ensure we call the correct methods to avoid duplicates.
2023-02-16 12:59:46 +00:00
Mike McQuaid
17c872fb52
Merge pull request #14657 from MikeMcQuaid/tap_cask_api
...
tap: return the default_remote if not installed.
4.0.1
2023-02-16 12:52:25 +00:00
Mike McQuaid
49a1daebab
Merge pull request #14655 from MikeMcQuaid/api_cask_source
...
api: use formulae.brew.sh for cask-source API again.
2023-02-16 12:34:33 +00:00
Mike McQuaid
53c57d7a70
tap: return the default_remote if not installed.
...
Fixes #14656 .
2023-02-16 12:25:28 +00:00
Mike McQuaid
f7f04bae26
api: use formulae.brew.sh for cask-source API again.
...
GitHub's raw endpoint is proving hilariously unreliable for us here.
2023-02-16 12:05:38 +00:00
Mike McQuaid
2372ed39f2
Merge pull request #14654 from MikeMcQuaid/analytics_cmd_google
...
cmd/analytics: note Google Analytics differences.
2023-02-16 12:00:25 +00:00
Mike McQuaid
9a02d48de7
cmd/analytics: note Google Analytics differences.
...
Be more explicit about when Google Analytics is disabled and when the
is used or not.
2023-02-16 09:44:07 +00:00