40357 Commits

Author SHA1 Message Date
Mike McQuaid
b38e14bce7
Further Portable Ruby cleanup
- Use the `HOMEBREW_PORTABLE_RUBY_VERSION` environment variable to
  determine the version of the Portable Ruby to use in
  `vendor-install.sh` and `ruby.sh`.
- Replace the `docs/.ruby-version` file with a symlink to
 `Library/Homebrew/.ruby-version`.
- Fix an incorrect `HOMEBREW_LIBRARY` comment.
- Use a simpler `HOMEBREW_USING_PORTABLE_RUBY` definition.
2024-06-14 12:22:02 +01:00
Mike McQuaid
9e0cbe0fd7
Rename variable to HOMEBREW_USING_PORTABLE_RUBY 2024-06-14 12:06:06 +01:00
Mike McQuaid
4bfdbe20b9
vendor-install: fix incorrect portable Ruby version reference. 2024-06-14 12:05:01 +01:00
Bo Anderson
24f74c0528
Merge pull request #17501 from Homebrew/portable-ruby-3.3.3
Portable Ruby 3.3.3
2024-06-14 04:34:01 +01:00
Bo Anderson
bfd1b18e92
Merge pull request #17500 from Homebrew/setup-ruby-ruby
cmd/setup-ruby: fix Portable Ruby install failing
2024-06-14 04:33:52 +01:00
Bo Anderson
fa91edadfd
Portable Ruby 3.3.3 2024-06-14 03:32:38 +01:00
Bo Anderson
fa2731d0c7
cmd/setup-ruby: fix Portable Ruby install failing 2024-06-14 02:26:16 +01:00
Ruoyu Zhong
9aeba61fad
Merge pull request #17495 from Homebrew/dependabot/bundler/Library/Homebrew/erubi-1.13.0 2024-06-14 02:51:33 +08:00
Ruoyu Zhong
f985c9d23d
Merge pull request #17493 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11430 2024-06-14 02:51:09 +08:00
Ruoyu Zhong
f97485aca4
Merge pull request #17497 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-expectations-3.13.1 2024-06-14 02:50:28 +08:00
BrewTestBot
fba59689de
Update RBI files for rspec-expectations.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-06-13 18:17:07 +00:00
BrewTestBot
ef352789ac
brew vendor-gems: commit updates. 2024-06-13 18:16:52 +00:00
BrewTestBot
89e39527de
Update RBI files for erubi.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-06-13 18:16:49 +00:00
BrewTestBot
78fa0b5faa
brew vendor-gems: commit updates. 2024-06-13 18:16:35 +00:00
BrewTestBot
6a6bf55d6c
brew vendor-gems: commit updates. 2024-06-13 18:16:11 +00:00
dependabot[bot]
a15d6c9d8c
build(deps-dev): bump rspec-expectations in /Library/Homebrew
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/rspec/rspec-expectations/releases)
- [Changelog](https://github.com/rspec/rspec-expectations/blob/main/Changelog.md)
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.13.0...v3.13.1)

---
updated-dependencies:
- dependency-name: rspec-expectations
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 18:16:01 +00:00
dependabot[bot]
7342471c39
build(deps-dev): bump erubi from 1.12.0 to 1.13.0 in /Library/Homebrew
Bumps [erubi](https://github.com/jeremyevans/erubi) from 1.12.0 to 1.13.0.
- [Changelog](https://github.com/jeremyevans/erubi/blob/master/CHANGELOG)
- [Commits](https://github.com/jeremyevans/erubi/compare/1.12.0...1.13.0)

---
updated-dependencies:
- dependency-name: erubi
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 18:15:42 +00:00
dependabot[bot]
d343a4007b
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11429 to 0.5.11430.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 18:15:16 +00:00
Patrick Linnane
216884ff56
Merge pull request #17492 from Homebrew/dependabot/github_actions/codecov/codecov-action-4.5.0 2024-06-13 07:34:00 -07:00
dependabot[bot]
79e6e612d6
build(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](125fc84a9a...e28ff129e5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 14:23:33 +00:00
Mike McQuaid
9e4002dff5
Merge pull request #17491 from Homebrew/brew_style_docs 2024-06-13 13:05:33 +01:00
Mike McQuaid
a707c708c1
Fix/reenable brew style docs
- start running this check again
- check the `docs` basename correctly
- use a different name (to a symlink) for the docs rubocop
  configuration so that path relativity is done correctly:
  https://docs.rubocop.org/rubocop/configuration.html#path-relativity
- add more wildcards to fix docs rubocop exclusions
2024-06-13 12:31:47 +01:00
Mike McQuaid
df2387fd56
Merge pull request #17482 from samford/fix-brew-style-tap-checking 2024-06-13 11:37:22 +01:00
Mike McQuaid
ca2ac3dd06
workflows/docs: temporarily disable brew style docs check. 2024-06-13 09:55:31 +01:00
Mike McQuaid
1b8bddd8bf
docs: brew style --fix 2024-06-13 09:55:31 +01:00
Mike McQuaid
349627e3dd
style: ignore actionlint false-positive. 2024-06-13 09:55:30 +01:00
Mike McQuaid
9e863aa4a9
style: fix path checking.
Add all necessary files to the path, using globs when necessary.
2024-06-13 09:26:41 +01:00
Sam Ford
af02d94f73
style: fix tap checking
`brew style` tap support was broken in 7d0ac4d (#17357), so now
something like `brew style homebrew/core` exits without checking
anything. This happens because the new file-handling logic doesn't
do anything with a tap path. Previously, a tap path would be added
to `ruby_files` but now it isn't added to any of the arrays of files
to check.

This fixes the issue by adding some logic to add the path to the
`ruby_files` array if it's a tap.
2024-06-13 09:26:41 +01:00
Mike McQuaid
4f35bc1e12
Merge pull request #17449 from Homebrew/brew-mark 2024-06-13 09:11:00 +01:00
Mike McQuaid
1c09f14518
Merge pull request #17488 from Homebrew/fix_docs_style_ci 2024-06-13 08:58:34 +01:00
Mike McQuaid
1e0add6d66
Merge pull request #17373 from tesaguri/cp-reflink 2024-06-13 08:57:20 +01:00
Mike McQuaid
dfe2b5b2ca
style: tweak style.
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2024-06-13 08:47:59 +01:00
Ruoyu Zhong
9cd5078efb
cmd/tab: new command
Add `brew tab`, a new command to edit tab information, as previously
discussed in https://github.com/Homebrew/brew/pull/17125#issuecomment-2068473483.
Currently, this supports marking or unmarking formulae as installed on
request.

Sample usage:

    $ brew tab --installed-on-request curl
    ==> curl is now marked as installed on request.
    $ brew autoremove --dry-run
    [no output]
    $ brew tab --no-installed-on-request curl
    ==> curl is now marked as not installed on request.
    $ brew autoremove --dry-run
    ==> Would autoremove 2 unneeded formulae:
    curl
    rtmpdump

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-06-13 11:44:14 +08:00
Daiki Mizukami
a30cd15a73
extend/os/mac/utils/copy: typed: strict 2024-06-13 06:56:18 +09:00
Ruoyu Zhong
c997fa5327
Merge pull request #17489 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.180.0
build(deps): bump ruby/setup-ruby from 1.179.1 to 1.180.0
2024-06-13 02:55:12 +08:00
Ruoyu Zhong
10944cc879
Merge pull request #17484 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.3.3.0
build(deps-dev): bump parser from 3.3.2.0 to 3.3.3.0 in /Library/Homebrew
2024-06-13 02:48:52 +08:00
Ruoyu Zhong
eaa4d1a2b1
Merge pull request #17485 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11429
build(deps-dev): bump sorbet from 0.5.11428 to 0.5.11429 in /Library/Homebrew
2024-06-13 02:48:20 +08:00
dependabot[bot]
2785cfe75a
build(deps): bump ruby/setup-ruby from 1.179.1 to 1.180.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.179.1 to 1.180.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](78c01b705f...ff740bc00a)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 18:43:58 +00:00
Mike McQuaid
ed0d6b7f61
docs: fix brew style 2024-06-12 19:17:17 +01:00
BrewTestBot
e9a5ac20ff
Update RBI files for parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-06-12 18:10:50 +00:00
BrewTestBot
5bbb805623
brew vendor-gems: commit updates. 2024-06-12 18:07:32 +00:00
BrewTestBot
86ab52377d
brew vendor-gems: commit updates. 2024-06-12 18:07:12 +00:00
dependabot[bot]
901aa69627
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11428 to 0.5.11429.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 18:06:35 +00:00
dependabot[bot]
00b9b64c83
build(deps-dev): bump parser in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.3.2.0 to 3.3.3.0.
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.3.2.0...v3.3.3.0)

---
updated-dependencies:
- dependency-name: parser
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 18:06:17 +00:00
Mike McQuaid
dbe03743f8
Merge pull request #17483 from leoheitmannruiz/patch-1 2024-06-12 16:04:55 +01:00
Leo Heitmann Ruiz
4ac57d85b2 Read ZDOTDIR environment variable 2024-06-12 16:53:43 +02:00
Daiki Mizukami
e4fefc94eb
Utils::Copy: Fix tests for generic OS 2024-06-12 19:30:04 +09:00
Mike McQuaid
dce94717a9
Merge pull request #17480 from Homebrew/version-cleanup 2024-06-12 08:41:23 +01:00
Daiki Mizukami
8e8d0c0248
brew style --fix 2024-06-12 12:28:42 +09:00
Bo Anderson
1962a37e94
version: enable strict typing 2024-06-11 23:03:53 +01:00