dependabot[bot]
e295fe0cbf
build(deps-dev): bump rbi from 0.1.13 to 0.1.14 in /Library/Homebrew
...
Bumps [rbi](https://github.com/Shopify/rbi ) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/Shopify/rbi/releases )
- [Commits](https://github.com/Shopify/rbi/compare/v0.1.13...v0.1.14 )
---
updated-dependencies:
- dependency-name: rbi
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-17 18:23:10 +00:00
Bo Anderson
f40330c42d
attestation: avoid touching working directory
2024-07-17 19:18:09 +01:00
Carlo Cabrera
4025df1929
Merge pull request #17786 from Homebrew/git-submodule-uid
2024-07-17 19:12:01 +02:00
Carlo Cabrera
49b27767aa
download_strategy: fix UID handling for Git submodules
...
Source builds that use Git checkouts with submodules can choke when the
process UID does not match its EUID.
We can fix this by using the `reset_uid` option added in #17782 .
2024-07-17 18:59:02 +02:00
Bo Anderson
f84b8ebf69
Merge pull request #17782 from Homebrew/system_command-uid
...
Fix UID handling with cask `installer script:`
2024-07-17 16:07:20 +01:00
Carlo Cabrera
ce31ab8b4d
Merge pull request #17783 from shivammathur/fix-pr-req
2024-07-17 11:20:48 +02:00
Shivam Mathur
7b604ef924
dev-cmd/pr-automerge: add missing require
2024-07-17 05:56:20 +00:00
Bo Anderson
ec41f66ee7
cask/artifact/installer: reset UID when running scripts
2024-07-17 06:33:08 +01:00
Bo Anderson
19617cb161
system_command: add reset_uid option
2024-07-17 06:33:03 +01:00
Issy Long
2cdc092a26
Merge pull request #17780 from Homebrew/fix-more-types
...
formula_assertions: Fix `pipe_output` type sig
2024-07-16 22:18:44 -04:00
Issy Long
5ab32eeadb
formula_assertions: Fix pipe_output
type sig
...
```
❯ brew test zstd
==> Testing zstd
Error: zstd: failed
An exception occurred within a child process:
TypeError: Parameter 'cmd': Expected type String, got type Pathname with value #<Pathname:/opt/homebrew/Cellar/zstd/1.5.6/bin/zstd>
Caller: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/z/zstd.rb:58
Definition: /opt/homebrew/Library/Homebrew/formula_assertions.rb:40 (Homebrew::Assertions#pipe_output)
```
2024-07-16 22:07:31 -04:00
Kevin Montag
74a84a0d12
Fix missing requires for tap-info
command
...
Previously, running `brew tap-info --installed --json` in a github
actions linux runner would throw:
```
Error: uninitialized constant Homebrew::API
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/tap.rb:1359:in `formula_names'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/tap.rb:868:in `to_hash'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/tap-info.rb:87:in `map'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/tap-info.rb:87:in `print_tap_json'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/tap-info.rb:37:in `run'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'
```
After the setup steps:
```
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
token: ${{ github.token }}
- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v3
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems-
- name: Install Homebrew Bundler RubyGems
if: steps.cache.outputs.cache-hit != 'true'
run: brew install-bundler-gems
```
2024-07-16 21:19:37 +02:00
Rylan Polster
9538f424b5
Merge pull request #17762 from samford/formula-require-utils-backtrace
2024-07-16 12:41:19 -04:00
Patrick Linnane
6672e6bd18
Merge pull request #17776 from Homebrew/dependabot/bundler/Library/Homebrew/rexml-3.3.2
2024-07-16 09:37:18 -07:00
Patrick Linnane
dce9d09134
Merge pull request #17777 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-sorbet-0.8.4
2024-07-16 09:36:19 -07:00
BrewTestBot
7ee68e905a
brew vendor-gems: commit updates.
2024-07-16 16:25:08 +00:00
BrewTestBot
948202e743
brew vendor-gems: commit updates.
2024-07-16 16:24:59 +00:00
Bo Anderson
e1d0ccccd2
Merge pull request #17775 from Homebrew/analytics
...
utils/analytics: fix handling of newlines
2024-07-16 17:18:07 +01:00
dependabot[bot]
357a104797
build(deps-dev): bump rubocop-sorbet in /Library/Homebrew
...
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet ) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases )
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.8.3...v0.8.4 )
---
updated-dependencies:
- dependency-name: rubocop-sorbet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 16:16:44 +00:00
dependabot[bot]
c557dff7b1
build(deps-dev): bump rexml from 3.3.1 to 3.3.2 in /Library/Homebrew
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.3.1...v3.3.2 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 16:16:26 +00:00
Bo Anderson
af429d4f1a
utils/analytics: fix handling of newlines
2024-07-16 17:06:38 +01:00
Eric Knibbe
af61acddd2
Merge pull request #17768 from khipp/fix-audit_min_os
...
cask/audit: handle cask_min_os is nil
2024-07-16 10:46:45 -04:00
Klaus Hipp
d90c5c55d2
cask/audit: handle cask_min_os is nil
2024-07-16 10:35:47 -04:00
Carlo Cabrera
1f028bdfc3
Merge pull request #17772 from branchvincent/require-utils-inreplace
2024-07-16 12:13:06 +02:00
Branch Vincent
959bf283ae
formula: add std_npm_args
2024-07-15 23:43:37 -07:00
Branch Vincent
9b4c211625
cleaner: rewrite node shebangs
2024-07-15 21:40:39 -07:00
Branch Vincent
62b2786934
formula: fix missing require
2024-07-15 21:37:31 -07:00
Patrick Linnane
df27448ea7
Merge pull request #17770 from Homebrew/sorbet-files-update
2024-07-15 21:37:04 -07:00
BrewTestBot
fa432491bd
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-07-16 00:22:02 +00:00
Sam Ford
11d6785bea
Add utils/backtrace requires
...
This is primarily intended to resolve the `uninitialized constant
Utils::Backtrace` error in `formula_versions.rb:60` but I expanded it
to try to cover all existing usage of `Utils::Backtrace`.
I've followed the existing pattern, where `utils/backtrace` is
required in the context of where it's used. Many of these cases use
`Backtrace` in a conditional manner, so I've tried to ensure that the
`require` follows suit.
2024-07-15 17:48:47 -04:00
Nanda H Krishna
75e77db9f4
Merge pull request #17769 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2024-07-15 16:06:36 -04:00
BrewTestBot
f8cbcffeba
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-07-15 19:56:06 +00:00
Nanda H Krishna
9e7eef33a6
Merge pull request #17748 from Homebrew/brew_bump_all
...
`brew bump`: cleanup and improve `--eval-all` handling
2024-07-15 15:55:27 -04:00
Ruoyu Zhong
628d34b15f
Merge pull request #17758 from Homebrew/shell-command-stubs
...
Add `ShellCommand` module for shell command stubs
2024-07-15 15:53:46 -04:00
Ruoyu Zhong
dba8a13b74
shell_command: fix typecheck error
2024-07-15 15:39:10 -04:00
Ruoyu Zhong
5fc0fe21a7
Add a RuboCop for shell command stubs
2024-07-15 14:49:25 -04:00
Ruoyu Zhong
22c5bdf2af
dev-cmd/rubocop: use ShellCommand
2024-07-15 14:49:23 -04:00
Ruoyu Zhong
0e111e39a9
cmd/vendor-install: use ShellCommand
2024-07-15 14:48:37 -04:00
Ruoyu Zhong
1b62371455
cmd/update: use ShellCommand
2024-07-15 14:48:37 -04:00
Ruoyu Zhong
fdeb61094c
cmd/update-reset: use ShellCommand
2024-07-15 14:48:36 -04:00
Ruoyu Zhong
02aaf67d55
cmd/shellenv: use ShellCommand
2024-07-15 14:48:36 -04:00
Ruoyu Zhong
f7e3873ecd
cmd/setup-ruby: use ShellCommand
2024-07-15 14:48:36 -04:00
Ruoyu Zhong
e0db9061d1
cmd/formulae: use ShellCommand
2024-07-15 14:48:36 -04:00
Ruoyu Zhong
2ef745445b
cmd/casks: use ShellCommand
2024-07-15 14:48:36 -04:00
Ruoyu Zhong
06610bf807
cmd/--version: use ShellCommand
2024-07-15 14:48:36 -04:00
Ruoyu Zhong
23db47dba5
cmd/--repository: use ShellCommand
2024-07-15 14:48:36 -04:00
Ruoyu Zhong
d611e3e0f9
Add ShellCommand
module for shell command stubs
2024-07-15 14:48:36 -04:00
Ruoyu Zhong
cb48a95bbd
Merge pull request #17765 from Homebrew/sync-shared-config
...
Synchronize shared configuration
2024-07-15 14:16:22 -04:00
Rylan Polster
86bf1eacdb
Merge pull request #17763 from Homebrew/fix-tap-git-head
2024-07-15 14:11:34 -04:00
Rylan Polster
b563d9920b
FormulaURILoader: use regex to validate refs before attempting to cast
2024-07-15 14:07:55 -04:00