34077 Commits

Author SHA1 Message Date
Dawid Dziurla
b1b5dbb44b
Merge pull request #14460 from p-linnane/remove-lion-ref
docs: Remove Lion reference
2023-01-31 01:06:52 +01:00
Dawid Dziurla
6bc4c32951
Merge pull request #14459 from Homebrew/dawidd6-patch-1
docs: mention Linux on site description
2023-01-31 01:06:30 +01:00
BrewTestBot
a63c289d88
Update RBI files for tzinfo.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-01-30 18:12:20 +00:00
BrewTestBot
268f3fc8ed
brew vendor-gems: commit updates. 2023-01-30 18:05:21 +00:00
dependabot[bot]
d457b63581
build(deps): bump tzinfo from 2.0.5 to 2.0.6 in /Library/Homebrew
Bumps [tzinfo](https://github.com/tzinfo/tzinfo) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/tzinfo/tzinfo/releases)
- [Changelog](https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md)
- [Commits](https://github.com/tzinfo/tzinfo/compare/v2.0.5...v2.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 18:01:07 +00:00
Patrick Linnane
a544d6fe6a
docs: Remove Lion reference 2023-01-28 19:29:18 -08:00
Dawid Dziurla
c775513127
docs: mention Linux on site description 2023-01-28 22:09:17 +01:00
Rylan Polster
4b3d64d307
Merge pull request #14453 from Rylan12/languages-in-cask-api
Add `languages` to cask API
2023-01-28 14:46:21 -06:00
Douglas Eichelberger
e98e668a34 remove redundant string extension 2023-01-28 08:26:11 -08:00
Issy Long
1ce6a38730
cli/parser: Casks can be specified with --cask or --casks 2023-01-28 12:55:57 +00:00
hyuraku
653930bed8 mv files to os/*/cmd/ 2023-01-28 21:38:40 +09:00
Rylan Polster
f38ac3943f
Fix tests 2023-01-28 02:39:23 -06:00
Rylan Polster
2c78840f57
Fix typecheck issue 2023-01-28 02:16:09 -06:00
Rylan Polster
014b603b1f
Fix tests 2023-01-28 02:15:05 -06:00
Rylan Polster
32a0877cad
Remove CaskSource API 2023-01-28 02:15:00 -06:00
Rylan Polster
c1fdcbdd0e
Support languages when installing from the API 2023-01-28 01:42:19 -06:00
Rylan Polster
0f79b24203
Add languages to cask API 2023-01-28 01:05:54 -06:00
Douglas Eichelberger
220becda96 remove undent 🐵-patch 2023-01-27 22:55:38 -08:00
Douglas Eichelberger
dc78e91edd missed a few 2023-01-27 22:54:14 -08:00
Douglas Eichelberger
1dbeee826d replace undent with squiggly heredoc 2023-01-27 22:52:44 -08:00
Issy Long
8881ea74b5
cli/parser: Don't treat args with --cask as formulae
- For the command `brew install --cask racket`, a user was reporting the
  behaviour where despite `--cask` in the command, they were getting
  output about the `racket` formula having been renamed:

```
$ brew install --cask racket
Warning: Use minimal-racket instead of deprecated racket
==> Downloading https://mirror.racket-lang.org/installers/8.7/racket-8.7-x86_64-macosx-cs.
==> Installing Cask racket
[...]
racket was successfully installed!
```

- The "instead of deprecated ..." messaging comes from the `TapLoader`
  class `formula_name_path` method, so _something_ must be assuming
  that everything is initially a formula before _later_ learning from
  further args parsing that there's a `--cask` qualifier to scope to
  only casks.

- There are always `@formula_options` and args parsing is recursive,
  going through each option, so we check that the original `argv` items
  include a `--cask` and skip calling the `formulae` method if that's
  the case.

- After this change, the "formula renames" words no longer show up.

```
$ brew install --cask racket
==> Downloading https://mirror.racket-lang.org/installers/8.7/racket-8.7-aarch64-macosx-cs.dmg
==> Installing Cask racket
[...]
racket was successfully installed!
```
2023-01-27 21:49:20 +00:00
BrewTestBot
ebe8a70954
Update RBI files for webrick.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-01-27 18:14:26 +00:00
BrewTestBot
f9facbf2b6
brew vendor-gems: commit updates. 2023-01-27 18:08:11 +00:00
dependabot[bot]
ab69719957
build(deps): bump webrick from 1.7.0 to 1.8.1 in /Library/Homebrew
Bumps [webrick](https://github.com/ruby/webrick) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/ruby/webrick/releases)
- [Commits](https://github.com/ruby/webrick/compare/v1.7.0...v1.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 18:04:08 +00:00
Mike McQuaid
10845a1122
Merge pull request #14444 from dduugg/resolve-rubocop-todo
Resolve rubocop todo
2023-01-27 10:17:50 +00:00
Douglas Eichelberger
97a7d26255 Clamp metrics 2023-01-26 22:08:40 -08:00
Douglas Eichelberger
a836793e62 Move Style/Documentation config 2023-01-26 22:04:39 -08:00
Douglas Eichelberger
863c1b505b Allow Homebrew nodoc 2023-01-26 22:02:35 -08:00
Douglas Eichelberger
9578fc6665 Remove completed todos 2023-01-26 21:53:50 -08:00
Douglas Eichelberger
dead4de3fc Resolve Lint/EmptyBlock todos 2023-01-26 21:18:24 -08:00
Bo Anderson
12f3fb8252
Merge pull request #14201 from Homebrew/setup-homebrew-test
Adapt to setup-homebrew changes
2023-01-27 02:26:05 +00:00
Bo Anderson
dc2f41cb8d
workflows: set working directory to repo location 2023-01-27 01:48:26 +00:00
Bo Anderson
2ec4c82fe2
Merge pull request #14443 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-01-27 01:35:44 +00:00
BrewTestBot
f44772b95a
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-01-27 00:30:13 +00:00
Bo Anderson
0464970894
Merge pull request from GHSA-h7hq-48hm-3mfj
analytics: fix URL typo
2023-01-26 23:57:01 +00:00
Francois-Xavier Coudert
2b07d0d5bb analytics: fix URL typo 2023-01-26 21:24:50 +01:00
Mike McQuaid
72f10e52c0
Merge pull request #14440 from dduugg/avoid-stub_const
Enable RSpec/LeakyConstantDeclaration
2023-01-26 19:46:11 +00:00
Mike McQuaid
a1ff3f299d
Merge pull request #14441 from Homebrew/dependabot/bundler/Library/Homebrew/bootsnap-1.16.0
build(deps): bump bootsnap from 1.15.0 to 1.16.0 in /Library/Homebrew
2023-01-26 19:45:43 +00:00
Douglas Eichelberger
37940a9419 Revert "brew typecheck --update"
This reverts commit cb67974b69eeab1fcc7779b46f22b311cc86cc2a.
2023-01-26 10:57:05 -08:00
BrewTestBot
0ed9d7eeab
Update RBI files for bootsnap.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-01-26 18:12:48 +00:00
BrewTestBot
8851283730
brew vendor-gems: commit updates. 2023-01-26 18:06:04 +00:00
dependabot[bot]
9f7e90c2b2
build(deps): bump bootsnap from 1.15.0 to 1.16.0 in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: bootsnap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 18:02:07 +00:00
Douglas Eichelberger
cb67974b69 brew typecheck --update 2023-01-26 09:47:47 -08:00
Douglas Eichelberger
cd4ef92115 Use anonymous class constants instead 2023-01-26 09:42:57 -08:00
Mike McQuaid
fd18c7b0ac
Tweak cask-source API handling
- Use raw.githubusercontent.com to download cask source rather than
  formulae.brew.sh. This allows us to remove these files
- output the tap's current `HEAD` for both formulae and cask JSON
- use this `HEAD` for the cask-source API to get the exact file on
  raw.githubusercontent.com rather than just whatever is newest (which
  is what the previous API did)
- set the `Tap` correctly when creating a `Cask` from the API
- if the `formula.json` file exists: print its modified time include
  `brew config`
- memoize `tap.git_head` as we'll be calling it a lot in the same
  process with the same value
2023-01-26 17:36:40 +00:00
Douglas Eichelberger
259e4ae718 Enable RSpec/LeakyConstantDeclaration 2023-01-26 09:24:38 -08:00
Mike McQuaid
1c85a717cc
Merge pull request #14421 from hyuraku/move_check_binary_arches-to-extend-os
move `check_binary_arches` to `extend/os`
2023-01-26 15:26:44 +00:00
hyuraku
2d864d70e0 apply extend/os to migrate_gcc_dependents_if_needed 2023-01-26 22:21:45 +09:00
hyuraku
420d66532d remove a line 2023-01-26 21:42:46 +09:00
hyuraku
3f553a8ead add linux's binary_executable_or_library_files to keg 2023-01-26 21:41:45 +09:00