Caleb Xu
934398dd9a
test: conditionally deny network access in sandbox
2024-04-22 22:39:45 -04:00
Caleb Xu
a3cfff72fd
formula_installer: conditionally deny network access in sandbox
2024-04-22 22:39:45 -04:00
Caleb Xu
aac156ccdf
fork: pass error_pipe path to yielded block
2024-04-22 22:39:45 -04:00
Caleb Xu
7c11699d73
formula: add methods for allowing/denying network access
2024-04-22 22:39:44 -04:00
Caleb Xu
c938f89c28
env_config: new variables for allowing/denying network access
2024-04-22 22:36:00 -04:00
Caleb Xu
3d5c3a0589
sandbox: add methods for allowing/denying network access
2024-04-22 22:36:00 -04:00
Mike McQuaid
a49fc9d558
Merge pull request #17127 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.63.3
...
build(deps-dev): bump rubocop from 1.63.2 to 1.63.3 in /Library/Homebrew
2024-04-22 19:31:35 +01:00
BrewTestBot
10a44bfc7b
Update RBI files for rubocop.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-04-22 18:21:26 +00:00
BrewTestBot
9f9bbbcc30
brew vendor-gems: commit updates.
2024-04-22 18:20:58 +00:00
dependabot[bot]
dbe06d9dbb
build(deps-dev): bump rubocop from 1.63.2 to 1.63.3 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.63.2 to 1.63.3.
- [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.63.2...v1.63.3 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 18:20:07 +00:00
Mike McQuaid
b0c4202954
Merge pull request #17126 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2024-04-22 13:50:50 +01:00
BrewTestBot
0e01fd5865
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.
2024-04-22 12:38:11 +00:00
Mike McQuaid
af2d356c39
Merge pull request #17122 from Homebrew/deps-simulated-os-and-arch
...
cmd/deps: add `--os` and `--arch`
2024-04-22 13:37:09 +01:00
Michael Cho
77a16c2e15
cmd/deps: add --os and --arch
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-21 17:56:59 -04:00
Douglas Eichelberger
54bea636b4
Merge pull request #17113 from Homebrew/dependabot/bundler/Library/Homebrew/rbi-0.1.11
...
build(deps-dev): bump rbi from 0.1.10 to 0.1.11 in /Library/Homebrew
4.2.19
2024-04-21 14:50:58 -07:00
Douglas Eichelberger
cfa3f9278d
Merge pull request #17030 from Homebrew/strict-parser
...
Enable strict typing in `CLI::Parser`
2024-04-21 14:49:38 -07:00
Douglas Eichelberger
c1bacaea4a
Revert prism bump
2024-04-21 14:40:41 -07:00
Douglas Eichelberger
11720132bb
cleanup
2024-04-21 14:34:55 -07:00
Mike McQuaid
ed6f3064e5
cli/parser: improve mutable constant comment.
2024-04-21 14:16:26 -07:00
Douglas Eichelberger
98d36c30c5
Apply suggestions from code review
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-04-21 14:16:25 -07:00
Douglas Eichelberger
cb71938fff
Enable strict typing in CLI::Parser
2024-04-21 14:16:25 -07:00
Mike McQuaid
eead9dd625
Merge pull request #17121 from daeho-ro/livecheck-ssh-git
...
download_strategy: add ssh://git scheme for git download strategy
2024-04-21 20:03:34 +01:00
Mike McQuaid
c9d5b4ae90
Merge pull request #17116 from branchvincent/ignore-home
...
formula: configure git/npm to ignore .brew_home
2024-04-21 19:58:52 +01:00
Mike McQuaid
2ab0af6f59
Merge pull request #17110 from Homebrew/tap-new-improvements
...
dev-cmd/tap-new: various improvements
2024-04-21 19:56:11 +01:00
Daeho Ro
5680ffe2e6
add ssh://git scheme for git download strategy
2024-04-21 18:57:04 +09:00
Patrick Linnane
8810b7f041
Merge pull request #17119 from Homebrew/dependabot/bundler/Library/Homebrew/multi-817dfa0ff9
2024-04-20 18:43:34 -07:00
BrewTestBot
15b249575b
brew vendor-gems: commit updates.
2024-04-21 01:33:14 +00:00
dependabot[bot]
35c724c0a2
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-runtime` from 0.5.11351 to 0.5.11352
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static-and-runtime` from 0.5.11351 to 0.5.11352
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-21 01:32:23 +00:00
Ruoyu Zhong
401500e70a
Merge pull request #17115 from Homebrew/dependabot/bundler/Library/Homebrew/multi-4c7f517a6b
...
build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
2024-04-20 05:29:31 +08:00
Branch Vincent
46a3bbe3c5
formula: configure git/npm to ignore .brew_home
2024-04-19 11:45:25 -07:00
BrewTestBot
3c8c8b9259
brew vendor-gems: commit updates.
2024-04-19 18:12:02 +00:00
BrewTestBot
069a3cd7a3
Update RBI files for rbi.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-04-19 18:11:40 +00:00
dependabot[bot]
590982d05a
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
...
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ) and [sorbet-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-static-and-runtime` from 0.5.11350 to 0.5.11351
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11350 to 0.5.11351
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 18:11:11 +00:00
BrewTestBot
716ad73106
brew vendor-gems: commit updates.
2024-04-19 18:11:09 +00:00
dependabot[bot]
358f1ba91a
build(deps-dev): bump rbi from 0.1.10 to 0.1.11 in /Library/Homebrew
...
Bumps [rbi](https://github.com/Shopify/rbi ) from 0.1.10 to 0.1.11.
- [Release notes](https://github.com/Shopify/rbi/releases )
- [Commits](https://github.com/Shopify/rbi/compare/v0.1.10...v0.1.11 )
---
updated-dependencies:
- dependency-name: rbi
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 18:10:17 +00:00
Ruoyu Zhong
ea37708591
dev-cmd/tap-new: simplify
2024-04-19 23:14:35 +08:00
Mike McQuaid
47c2c6deed
Merge pull request #17106 from woodruffw-forks/ww/upgrade-fix-attestation
...
ensure_executable!: add opt_bin path to search
2024-04-19 08:36:18 +01:00
Ruoyu Zhong
82ad03fe28
dev-cmd/tap-new: various improvements
...
1. Update `actions/cache` to `v4`.
2. Unset GitHub Packages tokens if unused.
3. Quote shell variables.
2024-04-19 11:10:29 +08:00
Ruoyu Zhong
7e43853216
dev-cmd/tap-new: fix GitHub Packages user
...
It should be `github.repository_owner` rather than `github.actor`.
2024-04-19 11:09:58 +08:00
Ruoyu Zhong
adbe6edc84
dev-cmd/tap-new: use actions/upload-artifact@v4
2024-04-19 11:09:56 +08:00
Ruoyu Zhong
54a5690391
dev-cmd/tap-new: throw an error when tap is installed
2024-04-19 11:02:25 +08:00
William Woodruff
0f0dee42b4
ensure_executable!: add opt_bin path to search
...
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-18 11:11:26 -07:00
Ruoyu Zhong
03bf6cc431
Merge pull request #17105 from Homebrew/dependabot/bundler/Library/Homebrew/multi-9dafcbff1e
...
build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
2024-04-19 01:31:33 +08:00
BrewTestBot
ace7cf02e9
brew vendor-gems: commit updates.
2024-04-18 17:19:17 +00:00
dependabot[bot]
00c97f3b54
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
...
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ) and [sorbet-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-static-and-runtime` from 0.5.11349 to 0.5.11350
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11349 to 0.5.11350
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-18 17:18:19 +00:00
Mike McQuaid
3c72da93b9
Merge pull request #17102 from Homebrew/only-brew-desc-search-needs-eval-all
...
Only `brew desc --search` needs `--eval-all`
2024-04-18 10:30:41 +01:00
Issy Long
151e2faffa
Merge pull request #17010 from Homebrew/bye-byebug
...
Bye `byebug`, hi `debug`!
2024-04-18 10:30:19 +01:00
Issy Long
69c31d275f
Only brew desc --search needs --eval-all
...
- It was suggested in https://github.com/Homebrew/brew/issues/ 16733 that
`brew desc <formula_or_cask>` should work like `brew info <formula_or_cask>`
and print the description of the package without needing `--eval-all`.
- Looking at the code, it seems like it's only searching that needs
`--eval-all`, so limit the check to that.
Before:
```shell
$ brew desc hello
Error: `brew desc` needs `--eval-all` passed or `HOMEBREW_EVAL_ALL` set!
```
After:
```shell
$ brew desc hello
hello: Program providing model for GNU coding standards and practices
$ brew desc --search hello
Error: Invalid usage: `brew desc --search` needs `--eval-all` passed or `HOMEBREW_EVAL_ALL` set!
$ brew desc --search --eval-all hello
==> Formulae
dsh: Dancer's shell, or distributed shell
hello: Program providing model for GNU coding standards and practices
```
2024-04-17 23:54:45 +01:00
Issy Long
4c64193b9b
Set HOMEBREW_DEBUG when running brew tests --debug
...
- This will cause the "debug" gem to be required in `spec_helper.rb`, so we can do interactive debugging.
2024-04-17 23:26:40 +01:00
Issy Long
9cf5334469
Load debug.so extensions along with the debug gem itself
...
- This doesn't work still, but now for new reasons.
```
NoMethodError:
undefined method `b' for #<Binding:0x0000000107a7e088>
binding.b
^^
# ./test/migrator_spec.rb:72:in `block (3 levels) in <top (required)>'
```
and if I add `require "debug"` to the spec_helper again it gives:
```
LoadError:
cannot load such file -- debug
```
but, doing a `require "debug"; binding.b` in `migrator_spec` _does_ work.
Where is the require coming from where it works some of the time but not through all of the layers we have?
2024-04-17 23:26:40 +01:00