26835 Commits

Author SHA1 Message Date
Bo Anderson
a0e784f0ea
Update to Bundler 2 2022-10-14 01:30:38 +01:00
Bo Anderson
a776d5f02b
Workaround macOS system Ruby issue picking incorrect native gem archs 2022-10-14 01:30:38 +01:00
Bo Anderson
6858e215dd
dev-cmd/vendor-gems: add --no-commit switch 2022-10-14 01:30:37 +01:00
Bo Anderson
5e31f41a52
utils/gems: prevent lockfile modification during installation 2022-10-14 01:30:37 +01:00
Bo Anderson
c87c97e4d7
utils/gems: install Bundler into vendor directory 2022-10-14 01:30:34 +01:00
Caleb Xu
5a4840dbc8
extend/os/mac: ensure writable file for codesign 2022-10-13 17:56:53 -04:00
hyuraku
dc37364248 use ruby script instead of shasum command 2022-10-13 23:46:41 +09:00
hyuraku
f4156378d8 compare formula.json shasum to check brew updated 2022-10-13 23:16:28 +09:00
hyuraku
8843364123 add error log of download formula.json 2022-10-12 22:35:08 +09:00
Mike McQuaid
19a1d06ff0
Merge pull request #13995 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2022-10-12 12:04:58 +01:00
Issy Long
8684f953f6
Merge pull request #13989 from issyl0/sorbet-rbi-is-in-maintenance 2022-10-12 08:48:45 +01:00
BrewTestBot
c54a59c360
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-10-11 19:21:37 +00:00
Bo Anderson
bde685aae2
Merge pull request #13982 from Bo98/ruby3-part1
Preliminary compatibility fixes for Ruby 3
2022-10-11 19:42:57 +01:00
Issy Long
250f1882c8
dev-cmd/typecheck: Reinstate srb rbi hidden-definitions
- Turns out we do need this. I lulled us into a false sense of security
  by not deleting `sorbet/rbi/hidden-defintions/hidden.rbi` previously.
- If we do delete that file then Sorbet reveals >200 typechecking
  issues.
- The docs on moving from `srb rbi` to `tapioca` say that we don't need
  `hidden-definitions` anymore, but clearly we do. The blog post goes
  into a lot of detail on why `rbi hidden-defintions` exists and the
  fact that there's not an analogous command in Tapioca:
  https://sorbet.org/blog/2022/07/27/srb-tapioca#whats-happening-with-srb-rbi-hidden-definitions
- Eventually we should try out `tapioca dsl`, since that's said to be a
  "partial replacement" for `hidden-definitions`, and removing our
  reliance on deprecated commands can only be a good thing?
2022-10-11 09:58:44 +01:00
Rylan Polster
174087958b
Simulate all OS/arch combinations in brew readall 2022-10-10 23:56:37 -04:00
Bo Anderson
9b99594753
Preliminary compatibility fixes for Ruby 3 2022-10-11 02:53:27 +01:00
Issy Long
b7d997e80d
sorbet: Bump some files from typed: false to typed: true
- This was done with `brew typecheck --update --suggest-typed` which
  (as of the previous commit) uses Spoom, yet another gem. I thought I'd
  see how well it works. There are no Sorbet errors after these changes!
2022-10-11 01:09:03 +01:00
Issy Long
295d60b3a2
Gemfile*,dev-cmd/typecheck: Use Spoom for --suggest-typed
- Spoom is the gem that's recommended for automatically changing `typed`
  sigils in files now. It was recommended in the "migrate to Tapioca"
  guide at
  https://github.com/Shopify/tapioca/wiki/Migrating-to-Tapioca#things-that-do-not-need-to-happen.
2022-10-11 01:09:02 +01:00
Issy Long
84e83dd1ad
sorbet/rbi/todo: Update the comment now it's generated with Tapioca
- Again, this was automatic with `brew typecheck --update`.
2022-10-11 00:56:53 +01:00
Issy Long
bca4fa3472
dev-cmd/typecheck: Use Tapioca more as srb rbi is in maintenance
- According to https://sorbet.org/blog/2022/07/27/srb-tapioca, Tapioca
  is the recommended way to generate RBIs for Sorbet these days and `srb
  rbi` is in maintenance mode.
- There's a handy migration document -
  https://github.com/Shopify/tapioca/wiki/Migrating-to-Tapioca - and
  we're some of the way there already given we currently use Tapioca in
  some places.
2022-10-11 00:56:48 +01:00
Carlo Cabrera
f30f68be7d
Merge pull request #13978 from carlocab/rpath-prefix
formula: ensure `rpath` is passed a valid `target`
2022-10-11 02:06:20 +08:00
Adrian Ho
5155c9073b update*: enforce sane symlinks setting
Otherwise, a global `core.symlinks = false` setting, likely in a WSL context, breaks Aliases and any other places that use symlinks.

Also enforce consistency in `git config` settings across instances.

Ref: https://github.com/Homebrew/homebrew-core/issues/112539
2022-10-08 22:03:37 +08:00
Carlo Cabrera
933129dcdb
Make error message clearer
Co-authored-by: Bo Anderson <mail@boanderson.me>
2022-10-08 11:43:43 +08:00
Bo Anderson
60b0c337df
formula: fix inreplace errors not being printed 2022-10-07 21:00:46 +01:00
Bo Anderson
3a57d0904b
Merge pull request #13980 from Bo98/ventura-xcode-14.1
os/mac/xcode: require Xcode 14.1 on Ventura
2022-10-07 20:03:39 +01:00
Bo Anderson
a7c4de27e0
Merge pull request #13977 from Bo98/sorbet-update
Update Sorbet to 0.5.10461
2022-10-07 19:51:02 +01:00
Bo Anderson
cd6b81b28d
os/mac/xcode: require Xcode 14.1 on Ventura 2022-10-07 19:28:35 +01:00
Dawid Dziurla
38026e6d8d
test: update for default.target 2022-10-07 20:22:13 +02:00
Sean Molenaar
d70d837687
service: use default.target on Linux 2022-10-07 20:22:12 +02:00
Bo Anderson
89dd402e23
Update RBI files 2022-10-07 19:21:12 +01:00
Bo Anderson
e3ee061db0
version/null: fix major_minor(_patch) type signature 2022-10-07 19:21:11 +01:00
Bo Anderson
7744ccd57c
brew vendor-gems: commit updates. 2022-10-07 19:21:11 +01:00
Bo Anderson
af234779af
test: support non-master init.defaultbranch 2022-10-07 18:44:03 +01:00
Bo Anderson
246eabac01
formula_auditor: support non-master default branch for downgrade audit 2022-10-07 18:42:51 +01:00
Carlo Cabrera
4c2d903738
raise instead of odie
Change based on review comments.
2022-10-08 00:25:38 +08:00
Carlo Cabrera
252e398b78
formula: ensure rpath is passed a valid target
Setting `target` to a path outside `HOMEBREW_PREFIX` is not portable,
and will be invalid for some Homebrew installations.

If we want to add an `rpath` outside of `HOMEBREW_PREFIX`, we should
just use the absolute path instead.

See discussion at Homebrew/homebrew-core#110520.
2022-10-08 00:15:37 +08:00
BrewTestBot
d0394762f9
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-10-05 00:38:15 +00:00
Mike McQuaid
c49f2e8b4c
Merge pull request #13941 from apainintheneck/default-no-casks-on-linux
Warn linux users about using --cask
2022-10-04 09:39:28 +01:00
Mike McQuaid
e2494a7ca3
Merge pull request #13940 from jacktose-forks/info-json-time
add installed time to `git info --json` output
2022-10-04 09:04:47 +01:00
Mike McQuaid
9ad7f9178b
Merge pull request #13961 from Homebrew/dependabot/bundler/Library/Homebrew/bindata-2.4.12
build(deps): bump bindata from 2.4.11 to 2.4.12 in /Library/Homebrew
2022-10-04 09:03:54 +01:00
apainintheneck
6301de9dcc Move Args#only_formula_or_cask to extend/os/linux 2022-10-03 18:13:33 -07:00
BrewTestBot
9093180a7e
Update RBI files for zeitwerk.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-10-03 18:16:03 +00:00
BrewTestBot
0ffe68795c
Update RBI files for bindata.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-10-03 18:15:04 +00:00
BrewTestBot
c80d021b2b
brew vendor-gems: commit updates. 2022-10-03 18:08:41 +00:00
BrewTestBot
196879ad70
brew vendor-gems: commit updates. 2022-10-03 18:07:40 +00:00
dependabot[bot]
86f3fc773b
build(deps): bump zeitwerk from 2.6.0 to 2.6.1 in /Library/Homebrew
Bumps [zeitwerk](https://github.com/fxn/zeitwerk) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/fxn/zeitwerk/releases)
- [Changelog](https://github.com/fxn/zeitwerk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fxn/zeitwerk/compare/v2.6.0...v2.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 18:04:33 +00:00
dependabot[bot]
d5317646fb
build(deps): bump bindata from 2.4.11 to 2.4.12 in /Library/Homebrew
Bumps [bindata](https://github.com/dmendel/bindata) from 2.4.11 to 2.4.12.
- [Release notes](https://github.com/dmendel/bindata/releases)
- [Changelog](https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc)
- [Commits](https://github.com/dmendel/bindata/compare/v2.4.11...v2.4.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 18:03:38 +00:00
Jack Haden-Enneking
316568e78d
Merge branch 'Homebrew:master' into info-json-time 2022-10-03 09:53:08 -07:00
Jack Haden-Enneking
d1283549da
change to epoch
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-10-03 09:47:56 -07:00
Mike McQuaid
9c0708f2b5
Merge branch 'master' into add-dry-run-option-to-brew-install 2022-10-03 10:10:58 +01:00