37083 Commits

Author SHA1 Message Date
BrewTestBot
62edabf7e2
brew vendor-gems: commit updates. 2023-10-02 18:33:42 +00:00
dependabot[bot]
db2cf5ba29
build(deps-dev): bump unicode-display_width in /Library/Homebrew
Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width) from 2.4.2 to 2.5.0.
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v2.4.2...v2.5.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-10-02 18:28:38 +00:00
Mike McQuaid
b855a9eae8
Merge pull request #16071 from Homebrew/pkg_tweaks
workflows/build-pkg: tweak some variables.
2023-10-02 16:55:51 +01:00
Mike McQuaid
def7ab4103
brew.sh: improve/add comment for supported macOSs. 2023-10-02 16:41:51 +01:00
Mike McQuaid
a94ff572f7
workflows/build-pkg: tweak some variables.
- instead of setting a static `PKG_KEYCHAIN_PASSWORD` secret, generate
  a random password from `openssl rand` instead.
- use `PKG_APPLE_ID_EMAIL` which makes the fact it's an email a bit
  more obvious. I've created this new secret already and will delete the
  old one after this is merged.
- bump the latest supported version of macOS
2023-10-02 16:41:31 +01:00
Mike McQuaid
78e74018a3
Merge pull request #16070 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2023-10-02 12:47:52 +01:00
Mike McQuaid
d2f07f884d
Merge pull request #16069 from apainintheneck/handle-name-conflicts-in-to_paths
cli/named_args: better handle name conflicts in #to_paths
2023-10-02 12:45:12 +01:00
BrewTestBot
dda5db8ba7
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-10-02 00:05:50 +00:00
apainintheneck
23b277bbd7 cli/named_args: better handle name conflicts in #to_paths
Before we used to evaluate all named arguments as local paths
first. This means that the following could be a name conflict.

$ brew edit src

If there was a local file or directory named src, it would default
to that. Otherwise it would search for a formula/cask with the
same name and return that.

Now it will only default to the local path if the named argument
starts or ends with a slash ('/') or includes a period ('.').
This means that in the event of a name clash with a normal package
name it will default to the package instead of the local file.

It also fixes an edge case where the following would be interpreted
as a tap name.

$ brew edit /src
2023-10-01 15:51:02 -07:00
Mike McQuaid
affc4c01aa
Merge pull request #16068 from J-M0/fish-shellenv
fix `eval (brew shellenv)` from exiting with status 1 in fish
4.1.14
2023-10-01 18:58:57 +01:00
Mike McQuaid
034a6d65a5
Merge pull request #16066 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2023-10-01 16:13:32 +01:00
Mike McQuaid
c325404054
Merge pull request #16061 from MikeMcQuaid/sudo_through_sudo_user
Add HOMEBREW_SUDO_THROUGH_SUDO_USER
2023-10-01 16:04:21 +01:00
Mike McQuaid
a0805d8678
Merge pull request #16059 from MikeMcQuaid/whoami
Improve use of `whoami`
2023-10-01 16:04:00 +01:00
BrewTestBot
9fe00217cf
Update sponsors.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2023-10-01 00:07:05 +00:00
James Morris
793831cb93 fix eval (brew shellenv) from exiting with status 1 in fish
fish's `set` doesn't modify the exit status when assigning a variable.
This means that `set -q VAR; or set VAR ...` will return an exit status
of 1 even if the variable is suceessfully set. By switching the commands
to `! set -q VAR; and set VAR ...`, this prevents the 1 from propogating
when running `eval (brew shellenv)`.
2023-09-30 17:39:39 -04:00
Mike McQuaid
eb1355e624
Add HOMEBREW_SUDO_THROUGH_SUDO_USER
This environment variable allows telling Homebrew to use the `SUDO_USER`
variable to `sudo` through that user when Homebrew (Cask) attempts to
run `sudo`.

While we're here, clarify in some messaging that we're running `sudo`
and that that's the password we're asking for; the specific password is
configuration dependent and not the specific password for the user.

Similarly, remove the `Package installers may write to any location`
output; it's kinda spammy and doesn't feel like the right place.
2023-09-29 18:49:44 +01:00
Mike McQuaid
5ec560a4ba
Merge pull request #16060 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-09-29 15:04:23 +01:00
BrewTestBot
6101577a4f
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-09-29 13:51:28 +00:00
Bo Anderson
196b26bc4e
Merge pull request #16056 from Bo98/test-ruby-3.1
Test on Ruby 3.1
2023-09-29 14:50:26 +01:00
Mike McQuaid
39bbc33a27
Improve use of whoami
If you're e.g. running Homebrew over `sudo`: shelling out to `whoami`
is less effective than just telling people which user you're running
as when we run the check.
2023-09-29 12:32:22 +01:00
Bo Anderson
af7d744af0
Fixes for Ruby 3 2023-09-29 05:25:48 +01:00
Bo Anderson
71f558229a
Test on Ruby 3.1 2023-09-29 04:46:16 +01:00
Bo Anderson
e7b0110898
Merge pull request #16055 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2023-09-29 01:52:40 +01:00
Bo Anderson
f2c8b2e7ce
Merge pull request #15955 from Bo98/newer-ruby-bootstrap
Install gems automatically on newer Ruby
2023-09-29 01:52:06 +01:00
Bo Anderson
daa49a1323
Install gems automatically on newer Ruby 2023-09-29 01:34:39 +01:00
Bo Anderson
1f86ad4b0f
standalone/load_path: rename to init 2023-09-29 01:26:31 +01:00
BrewTestBot
f47afa31f2
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-09-29 00:05:40 +00:00
Kevin
e1071e136c
Merge pull request #16054 from Homebrew/revert-16026-support-multiple-sockets-in-service-dsl
Revert "service: support multiple sockets in DSL"
2023-09-28 10:13:47 -07:00
Kevin
653f333d73
Revert "service: support multiple sockets in DSL" 2023-09-28 09:58:03 -07:00
Mike McQuaid
d73e1fc413
Merge pull request #16053 from Bo98/betterer-readall
readall: check hash generation works
2023-09-28 15:21:11 +01:00
Bo Anderson
9bd8087982
readall: check hash generation works 2023-09-28 14:51:45 +01:00
Mike McQuaid
6b01bc1773
Merge pull request #16007 from Bo98/better-readall
Improve performance of `brew readall`
2023-09-28 14:44:21 +01:00
Mike McQuaid
b5c3130391
Merge pull request #16052 from Bo98/to_hash-perf
Improve performance of `Formula#to_hash`
2023-09-28 14:38:00 +01:00
Bo Anderson
0c08a3cccb
Improve performance of Formula#to_hash 2023-09-28 14:07:25 +01:00
Bo Anderson
e4623cc8f4
Improve performance of brew readall 2023-09-28 14:05:09 +01:00
Mike McQuaid
eadbe0f184
Merge pull request #16051 from apainintheneck/expand-paths-in-to-paths
cli/named_args: expand paths in #to_paths
2023-09-28 12:41:32 +01:00
Mike McQuaid
9359f95b64
Merge pull request #16026 from apainintheneck/support-multiple-sockets-in-service-dsl
service: support multiple sockets in DSL
2023-09-28 12:41:08 +01:00
Mike McQuaid
7e109ac441
Merge pull request #16049 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-09-28 12:38:44 +01:00
apainintheneck
b1c47969a6 cli/named_args: expand paths in #to_paths
This will make the output clearer for `brew edit --print-path`.
2023-09-27 23:16:20 -07:00
apainintheneck
5fb9f90457 service: prefer symbols over strings in DSL
This is more in keeping with the other DSL methods and Ruby
convention along with the fact that these socket names are
just used internally by launchd.
2023-09-27 22:30:30 -07:00
BrewTestBot
3ddf12e960
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-09-28 00:25:23 +00:00
Bo Anderson
92d2cec5fa
Merge pull request #16048 from Bo98/pr_upload-group-fix
Gemfile: fix pr_upload group typo
2023-09-27 20:29:36 +01:00
Bo Anderson
7d3edd5c0c
Merge pull request #16047 from Bo98/bundle-stderr
utils/gems: redirect bundler output to stderr
2023-09-27 20:22:01 +01:00
Bo Anderson
44ea3b217d
Gemfile: fix pr_upload group typo 2023-09-27 20:12:47 +01:00
Bo Anderson
22cb5dbf02
utils/gems: redirect bundler output to stderr 2023-09-27 20:05:03 +01:00
Mike McQuaid
4ec5f04e9a
Merge pull request #15953 from Bo98/more-groups
Further split up Gemfile into groups
2023-09-27 19:20:55 +01:00
Mike McQuaid
67fab9ae07
Merge pull request #16046 from Bo98/to_paths-only-fix
cli/named_args: don't interpret `--formula`/`--cask` args as paths
2023-09-27 19:20:26 +01:00
Mike McQuaid
5380fb7625
Merge pull request #16045 from Bo98/unbottled-perf
dev-cmd/unbottled: speed up dependent fetching
2023-09-27 18:09:02 +01:00
Bo Anderson
ba2ecede1a
cli/named_args: don't interpret --formula/--cask args as paths 2023-09-27 17:56:42 +01:00
Bo Anderson
835ebedd18
dev-cmd/unbottled: speed up dependent fetching 2023-09-27 17:45:29 +01:00