40981 Commits

Author SHA1 Message Date
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
Patrick Linnane
7865cc5730
Merge pull request #17479 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-3.0.1 2024-06-11 10:04:46 -07:00
BrewTestBot
daada85383
brew vendor-gems: commit updates. 2024-06-11 16:39:24 +00:00
dependabot[bot]
4fa7a92f97
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 16:38:29 +00:00
Patrick Linnane
739418f840
Merge pull request #17478 from Homebrew/path-suffix-cop 2024-06-11 09:36:08 -07:00
Patrick Linnane
e151f78add
rubocop: remove SpecFilePathSuffix
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-06-11 09:21:15 -07:00
Mike McQuaid
30d48a8029
Merge pull request #17472 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-3.0.0 2024-06-11 17:02:10 +01:00
Mike McQuaid
5dcd0425a6
Merge pull request #17476 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.11428 2024-06-11 16:46:28 +01:00
Mike McQuaid
47e071ed64
Merge pull request #17474 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-0.5.11428 2024-06-11 16:44:10 +01:00
Patrick Linnane
cd782582c2
tapioca: remove unnecessary gems
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-06-11 08:43:47 -07:00
Patrick Linnane
e818531033
Merge pull request #17475 from Homebrew/dependabot/bundler/Library/Homebrew/rexml-3.3.0 2024-06-11 08:39:51 -07:00
Patrick Linnane
41a7f2ca09
Merge pull request #17473 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11428 2024-06-11 08:38:26 -07:00
Patrick Linnane
75359a483b
rubocop: remove obsolete config
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-06-11 08:31:29 -07:00
BrewTestBot
4e566b3a12
brew vendor-gems: commit updates. 2024-06-11 15:28:30 +00:00
BrewTestBot
b4103efb8e
brew vendor-gems: commit updates. 2024-06-11 15:28:16 +00:00
BrewTestBot
d2ffa22c52
brew vendor-gems: commit updates. 2024-06-11 15:28:08 +00:00
BrewTestBot
99f35794ad
brew vendor-gems: commit updates. 2024-06-11 15:27:41 +00:00
dependabot[bot]
52cdca13a8
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.11422 to 0.5.11428.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 15:27:22 +00:00
BrewTestBot
434ed02b5a
brew vendor-gems: commit updates. 2024-06-11 15:27:21 +00:00
dependabot[bot]
d14bd34938
build(deps-dev): bump rexml from 3.2.9 to 3.3.0 in /Library/Homebrew
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.9 to 3.3.0.
- [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.2.9...v3.3.0)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 15:27:08 +00:00
dependabot[bot]
c452bd9102
build(deps): bump sorbet-runtime in /Library/Homebrew
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.11422 to 0.5.11428.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 15:26:58 +00:00
dependabot[bot]
0f55e04421
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11422 to 0.5.11428.
- [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-11 15:26:39 +00:00
dependabot[bot]
222d540ce8
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.31.0 to 3.0.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.31.0...v3.0.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 15:26:22 +00:00
Mike McQuaid
b514158050
Merge pull request #17470 from Homebrew/docs_workflow_tweaks 2024-06-11 14:30:48 +01:00
Mike McQuaid
faedd41dfb
docs: more workflow improvements.
- Add a special step to handle formulae.brew.sh API samples generation.
- Ignore the root URL: it always works and often is a false-positive
  failure.

While we're here:
- Autofix some RuboCop offenses in the Rakefile.
2024-06-11 13:53:16 +01:00
Mike McQuaid
c6c0be6f7f
Merge pull request #17469 from Homebrew/docs_pages_read 2024-06-11 13:33:39 +01:00
Mike McQuaid
35b3be3625
workflows/docs: allow reading GitHub Pages.
This isn't technically needed for Homebrew/brew but is needed for
private repositories that reuse this workflow.
2024-06-11 12:49:45 +01:00