27151 Commits

Author SHA1 Message Date
Mike McQuaid
92ec55f3e2
Merge pull request #14340 from MikeMcQuaid/cask_installer_config_path_create
cask/installer: ensure config_path exists.
2023-01-09 13:57:25 +00:00
Mike McQuaid
9687b213b0
Merge pull request #14338 from orf/14274-dont-write-bytecode
Add PYTHONDONTWRITEBYTECODE to common_stage_test_env.
2023-01-09 13:57:12 +00:00
Rylan Polster
3c4f60c604
Create metadata subdirectory when needed 2023-01-08 02:45:56 -05:00
Mike McQuaid
20a200bdb7
cask/installer: ensure config_path exists.
I encountered this when installing `microsoft-edge`.

Perhaps `HOMEBREW_INSTALL_FROM_API` related.
2023-01-07 19:44:44 +00:00
Tom Forbes
42a95dc7a7 Add PYTHONDONTWRITEBYTECODE to common_stage_test_env. Closes #14274 2023-01-07 15:22:06 +00:00
謝致邦 (XIE Zhibang)
3d44f0568e
search.rb: Update Fedora URL 2023-01-07 09:13:30 +00:00
Rylan Polster
ec8adb617e
Use cask-source API when needed 2023-01-06 02:46:22 -05:00
Rylan Polster
ffc74a51fb
Load *flight blocks from API 2023-01-06 02:46:22 -05:00
Rylan Polster
52263e2917
Fix style 2023-01-06 02:46:21 -05:00
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
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
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
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
Rylan Polster
2d5d132713
Include *flight block source in cask API 2023-01-02 14:33:33 -05: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