Rylan Polster
54e013aef6
Improve style
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-01-06 02:46:21 -05:00
Rylan Polster
68bbe03d04
Remove remaining formula_api_path
references
2023-01-06 02:46:21 -05:00
Rylan Polster
08529c38a6
Expand testing of Homebrew::API
2023-01-06 02:46:21 -05:00
Rylan Polster
bab85d84e9
Extract common JSON API fetch logic
2023-01-06 02:46:21 -05:00
Rylan Polster
374b61584b
Load casks from the JSON API with HOMEBREW_INSTALL_FROM_API
2023-01-06 02:46:21 -05:00
Mike McQuaid
ea0b786388
Merge pull request #14333 from asutoshpalai/arm-rbenv-fix
...
Restoring the original `PATH` after update
2023-01-05 12:16:21 +00:00
Mike McQuaid
a85e1a3e5a
brew.sh: tweak comment.
2023-01-05 09:59:30 +00:00
Mike McQuaid
a9b1fb4755
Merge pull request #14331 from MikeMcQuaid/cask_edit_path
...
dev-cmd/edit: handle editing with `install_from_api`.
2023-01-05 09:53:42 +00:00
Mike McQuaid
3cbbfaa848
Merge pull request #14332 from Homebrew/dependabot/bundler/Library/Homebrew/unicode-display_width-2.4.2
...
build(deps): bump unicode-display_width from 2.4.0 to 2.4.2 in /Library/Homebrew
2023-01-05 09:53:16 +00:00
Asutosh Palai
96449a94e0
restoring the original path after update
...
This fix is required for ARM Linux where portable Homebrew Portable Ruby is not
available. Without this fix, after auto update, brew is restarted with cleaned up path.
This causes it to pick not find user installed Ruby by RVM or rbenv, causing brew to fail.
2023-01-04 22:23:01 +00:00
BrewTestBot
eda38aadf4
Update RBI files for unicode-display_width.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2023-01-04 18:12:36 +00:00
BrewTestBot
c3bc05f881
brew vendor-gems: commit updates.
2023-01-04 18:06:38 +00:00
dependabot[bot]
1638535b08
build(deps): bump unicode-display_width in /Library/Homebrew
...
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width ) from 2.4.0 to 2.4.2.
- [Release notes](https://github.com/janlelis/unicode-display_width/releases )
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md )
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v2.4.0...v2.4.2 )
---
updated-dependencies:
- dependency-name: unicode-display_width
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 18:02:23 +00:00
Mike McQuaid
9e9b71bea9
Merge pull request #14325 from FnControlOption/fetch
...
formula_installer: check if dependencies have already been fetched.
2023-01-04 14:46:26 +00:00
Mike McQuaid
752d1fa114
formula_installer: add comment.
2023-01-04 14:19:22 +00:00
Mike McQuaid
37be5bea52
dev-cmd/edit: handle editing with install_from_api
.
...
Before this change, this would fail every time, even when available on
disk (which was not the case for formulae).
With this change, it will attempt to find it from a tap on disk and only
fail if it cannot be found in any.
2023-01-04 13:51:21 +00:00
Rylan Polster
dc19eba5d9
Merge pull request #14328 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.2.0.0
...
build(deps): bump parser from 3.1.3.0 to 3.2.0.0 in /Library/Homebrew
2023-01-04 00:58:21 -05:00
Rylan Polster
66b958a0b9
Merge pull request #14327 from Homebrew/dependabot/bundler/Library/Homebrew/unicode-display_width-2.4.0
...
build(deps): bump unicode-display_width from 2.3.0 to 2.4.0 in /Library/Homebrew
2023-01-04 00:57:02 -05:00
Rylan Polster
918b47e24b
Merge pull request #14330 from Rylan12/fix-method-source-gems
...
Vendor `method_source` gem
2023-01-03 23:56:40 -05:00
Rylan Polster
e5616e94fe
Vendor method_source
gem
2023-01-03 23:27:31 -05:00
BrewTestBot
c78aa1cd22
Update RBI files for parser.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2023-01-03 18:20:15 +00:00
BrewTestBot
a424eb8a26
brew vendor-gems: commit updates.
2023-01-03 18:13:21 +00:00
BrewTestBot
89a13e71d8
Update RBI files for unicode-display_width.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2023-01-03 18:13:11 +00:00
BrewTestBot
2dc5e1e0d8
brew vendor-gems: commit updates.
2023-01-03 18:04:48 +00:00
dependabot[bot]
fb82dc0ed7
build(deps): bump parser from 3.1.3.0 to 3.2.0.0 in /Library/Homebrew
...
Bumps [parser](https://github.com/whitequark/parser ) from 3.1.3.0 to 3.2.0.0.
- [Release notes](https://github.com/whitequark/parser/releases )
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/whitequark/parser/compare/v3.1.3.0...v3.2.0.0 )
---
updated-dependencies:
- dependency-name: parser
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 18:02:23 +00:00
dependabot[bot]
7216ac8fa5
build(deps): bump unicode-display_width in /Library/Homebrew
...
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/janlelis/unicode-display_width/releases )
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md )
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: unicode-display_width
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 18:00:56 +00:00
Rylan Polster
a81710542f
Merge pull request #14324 from Rylan12/flight-blocks-cask-api
...
Include `*flight` block source in cask API
2023-01-03 11:44:53 -05:00
Mike McQuaid
077e9dccaf
Merge pull request #14322 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.42.0
...
build(deps): bump rubocop from 1.41.1 to 1.42.0 in /Library/Homebrew
2023-01-03 13:34:05 +00:00
Mike McQuaid
ee8c05f7a1
Merge pull request #14299 from colindean/patch-1
...
Governance: Adds PLC candidate expectations
2023-01-03 11:59:02 +00:00
Rylan Polster
d1490c3d5c
Add method_source
to Gemfile
2023-01-03 03:04:44 -05:00
Rylan Polster
7ca5a5d9a7
Simplify require "method_source"
calls
2023-01-02 17:41:36 -05:00
fn ⌃ ⌥
e234fb7542
formula_installer: check if dependencies have already been fetched.
...
Given a `pkg_a` that depends on `pkg_b`, it is redundant to list
`pkg_b` as a dependency when running the following commands:
- `brew install pkg_b pkg_a`
- `brew upgrade` (when both `pkg_a` and `pkg_b` are outdated)
2023-01-02 14:10:17 -08:00
Kevin
2e0b18f762
Merge pull request #14315 from apainintheneck/better-error-cask-on-linux
...
cli/parser: Better error message for cask on linux
2023-01-02 13:21:56 -08:00
Mike McQuaid
6bf0fbb2c2
Merge pull request #14323 from MikeMcQuaid/tests_less_online
...
workflows/tests: only `brew tests --online` twice.
2023-01-02 19:51:05 +00:00
Rylan Polster
2d5d132713
Include *flight
block source in cask API
2023-01-02 14:33:33 -05:00
Mike McQuaid
e0b79254e2
workflows/tests: only brew tests --online
twice.
...
Previously, we ran it 5 times (4 on Linux, 1 on macOS) which burned up
our GitHub Actions token rate limit much quicker than is necessary.
2023-01-02 19:23:08 +00:00
Mike McQuaid
05188b1ab9
Merge pull request #14320 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.17.0
...
build(deps): bump minitest from 5.16.3 to 5.17.0 in /Library/Homebrew
2023-01-02 19:22:14 +00:00
Mike McQuaid
6a25229567
brew style --fix
2023-01-02 19:18:51 +00:00
Mike McQuaid
35e6627461
Merge pull request #14321 from Homebrew/dependabot/bundler/Library/Homebrew/parlour-8.1.0
...
build(deps-dev): bump parlour from 8.0.0 to 8.1.0 in /Library/Homebrew
2023-01-02 19:14:45 +00:00
Mike McQuaid
585d10fdc8
Merge pull request #14313 from apainintheneck/fix-brew-prof
...
cmd/prof: Fix gem errors
2023-01-02 19:14:03 +00:00
apainintheneck
d8c2e311ab
Use odie instead of bare exception
...
The reason that odie works well here
is that it doesn't print a stacktrace
or get caught and print the help page.
2023-01-02 10:59:08 -08:00
BrewTestBot
1921b5bd96
Update RBI files for rubocop.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2023-01-02 18:13:16 +00:00
BrewTestBot
c7fed619ec
Update RBI files for parlour.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2023-01-02 18:11:22 +00:00
BrewTestBot
941b500b95
Update RBI files for minitest.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2023-01-02 18:09:58 +00:00
BrewTestBot
c0c9300637
brew vendor-gems: commit updates.
2023-01-02 18:06:37 +00:00
BrewTestBot
a92aabecce
brew vendor-gems: commit updates.
2023-01-02 18:05:47 +00:00
BrewTestBot
9e486cd644
brew vendor-gems: commit updates.
2023-01-02 18:04:31 +00:00
Kevin
073c004ef3
Add :needs_network to brew prof tests
...
They need network access to download the profiler gems.
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-01-02 10:02:51 -08:00
dependabot[bot]
1b775ade43
build(deps): bump rubocop from 1.41.1 to 1.42.0 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.41.1 to 1.42.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.41.1...v1.42.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 18:02:29 +00:00
dependabot[bot]
b6bca294d5
build(deps-dev): bump parlour from 8.0.0 to 8.1.0 in /Library/Homebrew
...
Bumps [parlour](https://github.com/AaronC81/parlour ) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/AaronC81/parlour/releases )
- [Changelog](https://github.com/AaronC81/parlour/blob/master/CHANGELOG.md )
- [Commits](https://github.com/AaronC81/parlour/compare/8.0.0...8.1.0 )
---
updated-dependencies:
- dependency-name: parlour
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 18:01:08 +00:00