29185 Commits

Author SHA1 Message Date
Douglas Eichelberger
cccbb5c705 Enable Style/InvertibleUnlessCondition cop 2023-04-25 09:26:24 -07:00
Bob Lail
8847719b68 Install cached bottles if curl --head fails
Fixes #15302

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-04-25 07:35:27 -07:00
Mike McQuaid
67c118009b
Merge pull request #15308 from ZhongRuoyu/workflows-macos-13
workflows: run on `macos-13`
2023-04-25 15:10:37 +01:00
Carlo Cabrera
e69e8e04c1
Merge pull request #15309 from carlocab/longer-big-sur-timeout
github_runner_matrix: set `timeout` on macOS
2023-04-25 17:52:51 +08:00
Carlo Cabrera
f3ff42f9c5
github_runner: fix test 2023-04-25 17:06:17 +08:00
Carlo Cabrera
0c21ad20cd
macos_runner_spec: fix test 2023-04-25 17:05:05 +08:00
Carlo Cabrera
1a86a91c1b
determine-test-runners: fix test 2023-04-25 16:42:02 +08:00
Carlo Cabrera
2568e5aec4
github_runner_matrix: fix test 2023-04-25 16:41:24 +08:00
Mike McQuaid
c343e545c0
Merge pull request #15307 from woodruffw-forks/die-pipgrip
utils/pypi: replace `pipgrip` with `pip`'s built in dependency resolution
2023-04-25 09:36:23 +01:00
Carlo Cabrera
1bcabbfa57
test_runner_formula: fix caching 2023-04-25 14:59:08 +08:00
Carlo Cabrera
97655276b2
github_runner_matrix: simplify 2023-04-25 14:54:44 +08:00
Carlo Cabrera
3baacbbc72
github_runner_matrix: set timeout on macOS
This will allow us to set a slightly longer timeout on Intel Big Sur,
which is useful because the Intel Big Sur runner often exceeds our short
time limit by itself.
2023-04-25 14:42:36 +08:00
Douglas Eichelberger
24cf6076e8 brew style --fix 2023-04-24 20:42:39 -07:00
Douglas Eichelberger
7224ff5f77 Include T::Sig in Module 2023-04-24 20:42:38 -07:00
Ruoyu Zhong
6eaa0b2940
dev-cmd/tap-new: run brew test-bot on macos-13 2023-04-25 11:24:00 +08:00
William Woodruff
62df91f09c
pypi: document normalization
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:52:35 -06:00
William Woodruff
1f671862d5
pypi: brew style --fix
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:29:05 -06:00
William Woodruff
12613ea2b0
pypi: unused arg
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:27:31 -06:00
Douglas Eichelberger
e1f01c26ca Enable Sorbet/RedundantExtendTSig 2023-04-24 19:13:14 -07:00
William Woodruff
57af1abb6c
pypi: namespacing
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:12:09 -06:00
William Woodruff
ce8834e43e
[WIP] pypi: more name normalization
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 20:11:24 -06:00
William Woodruff
6e798a7ab8
[WIP] pypi: hackety hack
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:56:33 -06:00
William Woodruff
92225e9ec0
[WIP] pypi: filter_map sadness
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:55:18 -06:00
William Woodruff
727a88d025
[WIP] pypi: hackety hack
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:53:09 -06:00
William Woodruff
48a604e31c
[WIP] pypi: hackety hack
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:33:17 -06:00
William Woodruff
0316b9659f
[WIP] pypi: hackety hack
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:28:53 -06:00
William Woodruff
953c24a7c4
[WIP] pypi: fix python executable
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:23:22 -06:00
William Woodruff
ab7af6355d
[WIP] pypi: cut out pipgrip
Signed-off-by: William Woodruff <william@yossarian.net>
2023-04-24 17:05:51 -06:00
JBYoshi
07fdbd3fd9
Handle zap successor. 2023-04-24 17:08:13 -05:00
BrewTestBot
432726a5b2
Update RBI files for parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-24 19:10:52 +00:00
BrewTestBot
c5fdbe0e26
brew vendor-gems: commit updates. 2023-04-24 19:05:19 +00:00
dependabot[bot]
3a52f50ea2
build(deps): bump parser from 3.2.2.0 to 3.2.2.1 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.2.2.0 to 3.2.2.1.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.2.2.0...v3.2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 19:00:39 +00:00
Mike McQuaid
0841d1a25e
Merge pull request #15301 from Bo98/bundle-clean
utils/gems: run `bundle clean` when install not required
2023-04-24 17:20:54 +01:00
Bo Anderson
5b3cf28bbc
utils/gems: don't silently install gems during tests 2023-04-24 17:05:38 +01:00
JBYoshi
432e0c6b5b
Extract artifact checks to matching_artifact? function. 2023-04-24 10:59:01 -05:00
JBYoshi
f97bce040f
Update for feedback. 2023-04-24 10:50:01 -05:00
Mike McQuaid
96066f4507
Merge pull request #15272 from dawidd6/fish-linux-cask
completions/fish: fix cask references for Linux
2023-04-24 16:37:54 +01:00
Bo Anderson
e6c188affe
utils/gems: run bundle clean when install not required 2023-04-24 15:51:12 +01:00
Carlo Cabrera
4f179c54a3
Merge pull request #15300 from carlocab/git-repo-str
git_repository: implement `#to_s`
2023-04-24 22:48:47 +08:00
Carlo Cabrera
2f37877858
git_repository: implement #to_s instead 2023-04-24 22:34:09 +08:00
Carlo Cabrera
93c3775147
git_repository: define #to_str
Fixes:

    Error: no implicit conversion of GitRepository into String

when doing `brew pr-pull --autosquash`. See [1].

I contemplated implementing only `#to_s`, but we've historically used
these as `Pathname`s, and `Pathname` defines `#to_str`.

[1] https://github.com/Homebrew/homebrew-core/actions/runs/4784638305/jobs/8506369135#step:10:54
2023-04-24 21:53:05 +08:00
Douglas Eichelberger
f52cbbb9da
Vendor mechanize gem outside Gemfile
We only need a single file and it avoids pulling in e.g. `nokogiri`
which is vulnerable.

Allow updating it using `brew vendor-gems`.
2023-04-24 14:03:55 +01:00
Mike McQuaid
763c41f006
Merge pull request #15290 from apainintheneck/substitute-home-dir-in-caveats
formulary: sub home placeholder in caveats
2023-04-24 09:24:05 +01:00
Mike McQuaid
eec937f233
Merge pull request #15293 from carlocab/git-download-fsmonitor
download_strategy: disable Git fsmonitor
2023-04-24 09:22:50 +01:00
apainintheneck
e82867a755 cmd/install: warn on cask install when already installed
This was the default behavior before #15273 got merged in to
refactor the `cask/cmd/install` logic into `cmd/install`.
2023-04-23 11:04:25 -07:00
Carlo Cabrera
35a8a5dd3d
download_strategy: disable Git fsmonitor
Enabling the fsmonitor isn't useful for these repositories. Moreover,
disabling them will get rid of the warning shown from trying to copy
sockets from a repo watched by the fsmonitor.
2023-04-23 16:42:58 +08:00
EricFromCanada
e67abce950
formula: consider arbitrary formula source paths 2023-04-22 18:56:01 -04:00
Issy Long
935649abaf
Merge pull request #15263 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.20.0
build(deps): bump rubocop-rspec from 2.19.0 to 2.20.0 in /Library/Homebrew
2023-04-22 18:58:03 +01:00
apainintheneck
d57f291a1e formulary: sub home placeholder in caveats
We set a placeholder for the home directory when generating
API JSON so we should substitute the actual home directory
back in when printing caveats locally. This allows people
to use `Dir.home` in caveats and have it display correctly
no matter the platform or operating system.
2023-04-22 10:17:16 -07:00
Carlo Cabrera
f4692ddb40
dev-cmd/audit: fix audit annotations
Emitting annotations currently produces:

    Error: no implicit conversion of Symbol into Integer

The issue is that `problem` is an `Array` of problems which we need to
handle individually.
2023-04-22 15:13:35 +08:00