Bo Anderson
720e867cbf
Merge pull request #18146 from Homebrew/shellcheck-brew.sh
...
brew.sh: remove some shellcheck disables
2024-08-24 20:16:29 +01:00
Carlo Cabrera
13115fee7d
brew.sh: fix handling of dirty git repo
...
We cache the output of `git describe`, but we don't check whether the
cached value is valid.
This fixes that.
2024-08-25 02:57:35 +08:00
Carlo Cabrera
4a7579c693
utils/github: use paginate_graphql
in sponsorships
...
`sponsorships` has its own implementation of GraphQL pagination. We can
simplify this by using `paginate_graphql` instead.
2024-08-25 01:34:36 +08:00
apainintheneck
fff4e0a8f0
Speed up Tap#cask_files_by_name
...
This is most noticeable when you have a large local tap and it ends
up taking a nontrivial percentage of the overall run time for simple
commands like `brew info gimp`. The improvement here is to just
create paths later on in the loop which copies what we already do
for formulae.
See b1ddb05
```console
$ hyperfine --parameter-list branch master,speed-up-cask-files-by-name --warmup 5 --setup 'git switch {branch}' 'brew info gimp'
Benchmark 1: brew info gimp (branch = master)
Time (mean ± σ): 2.737 s ± 0.010 s [User: 1.958 s, System: 0.732 s]
Range (min … max): 2.720 s … 2.748 s 10 runs
Benchmark 2: brew info gimp (branch = speed-up-cask-files-by-name)
Time (mean ± σ): 2.597 s ± 0.017 s [User: 1.828 s, System: 0.724 s]
Range (min … max): 2.577 s … 2.624 s 10 runs
Summary
brew info gimp (branch = speed-up-cask-files-by-name) ran
1.05 ± 0.01 times faster than brew info gimp (branch = master)
```
2024-08-24 10:15:09 -07:00
Carlo Cabrera
03d9a3dda5
utils/github: use #fetch
...
Co-authored-by: Markus Reiter <me@reitermark.us>
2024-08-24 23:10:39 +08:00
Carlo Cabrera
f873835b97
utils/github: fix too_many_open_prs?
...
This doesn't count PRs from forks, so it only works correctly for
maintainers (and only if they use non-fork branches).
Let's fix that, and:
- simplify the logic by using `paginate_graphql`
- return early if it's impossible for them to have too many open PRs
2024-08-24 22:51:23 +08:00
Michael Cho
04381b26dd
keg_relocate: allow spaces/tabs after shebang
2024-08-23 22:56:15 -04:00
Carlo Cabrera
ca0639998a
utils/helpers.sh: remove a shellcheck disable
...
I don't think we need this.
2024-08-24 08:54:01 +08:00
Carlo Cabrera
019fc519da
Merge pull request #18145 from Homebrew/sorbet-files-update
2024-08-24 08:50:47 +08:00
BrewTestBot
e63748bf03
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-08-24 00:21:44 +00:00
Carlo Cabrera
97403cd309
brew.sh: remove some shellcheck disables
...
We don't need these, so let's remove them.
2024-08-24 08:21:43 +08:00
Carlo Cabrera
1871e822ec
Merge pull request #18140 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11537
2024-08-24 02:57:22 +08:00
Carlo Cabrera
6c5bf07432
Merge pull request #18142 from Homebrew/dependabot/bundler/Library/Homebrew/rbs-3.5.3
2024-08-24 02:53:23 +08:00
BrewTestBot
fc6742d464
brew vendor-gems: commit updates.
2024-08-23 18:43:44 +00:00
Michael Cho
253db8def2
dev-cmd/bottle: include installed_size in metadata
2024-08-23 14:24:21 -04:00
dependabot[bot]
db08466d35
build(deps-dev): bump rbs from 3.5.2 to 3.5.3 in /Library/Homebrew
...
Bumps [rbs](https://github.com/ruby/rbs ) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/ruby/rbs/releases )
- [Changelog](https://github.com/ruby/rbs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ruby/rbs/compare/v3.5.2...v3.5.3 )
---
updated-dependencies:
- dependency-name: rbs
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-23 18:12:03 +00:00
dependabot[bot]
75d24d7bd9
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11535 to 0.5.11537.
- [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-08-23 18:11:27 +00:00
Mike McQuaid
72dec98721
Merge pull request #18138 from cho-m/gnu-tar-bottle
2024-08-23 17:22:16 +01:00
Mike McQuaid
c61b2557c2
Merge pull request #18139 from Homebrew/cask-url-type
2024-08-23 16:55:20 +01:00
Bo Anderson
0ae1dbeacf
Add typing for Cask#url and fix detected issues
2024-08-23 16:39:23 +01:00
Mike McQuaid
89a3473975
Merge pull request #18137 from cho-m/linux-note
2024-08-23 16:19:22 +01:00
Michael Cho
f627c70b71
dev-cmd/bottle: use default tar when bottling gnu-tar
2024-08-23 11:14:34 -04:00
Michael Cho
4d537fe6da
docs: use NOTE rather than NOTICE
2024-08-23 11:04:28 -04:00
Ruoyu Zhong
7bb07b88a4
Merge pull request #18136 from Homebrew/audit-typecheck
...
formula_auditor: fix typechecking failure
2024-08-23 17:31:32 +08:00
Carlo Cabrera
54f73e5ec8
formula_auditor: fix typechecking failure
...
Seen at Homebrew/homebrew-core#182065 .
https://github.com/Homebrew/homebrew-core/actions/runs/10522724092/job/29156069899?pr=182065#step:3:44
2024-08-23 17:19:02 +08:00
Mike McQuaid
0a94d225b6
Merge pull request #18135 from Homebrew/sponsors-maintainers-man-completions
2024-08-23 08:37:09 +01:00
Mike McQuaid
d1e0c078bc
Merge pull request #18128 from cho-m/python-avoid-modifying-all-links
2024-08-23 08:07:45 +01:00
BrewTestBot
0267484403
Update manpage and completions.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2024-08-23 07:07:41 +00:00
Mike McQuaid
69ae7eecd6
Merge pull request #18129 from cho-m/python-macos-linux-diffs
2024-08-23 08:07:25 +01:00
Mike McQuaid
9ee471d42c
Merge pull request #18133 from FnControlOption/ls
2024-08-23 08:06:49 +01:00
Mike McQuaid
32bba8ace1
Merge pull request #18134 from Homebrew/env-not-superenv
2024-08-23 08:05:54 +01:00
Mike McQuaid
c51a635a48
Merge pull request #18132 from Homebrew/envmethods
2024-08-23 08:05:18 +01:00
Mike McQuaid
ac530f219e
Merge pull request #18130 from Homebrew/livecheck-module_function
2024-08-23 08:04:58 +01:00
Mike McQuaid
f955eec3b5
Merge pull request #18131 from Homebrew/shared_audits-module_function
2024-08-23 08:04:14 +01:00
Bo Anderson
98fb5f9dea
Don't assume ENV is a superenv in RBI
2024-08-23 05:59:00 +01:00
fn ⌃ ⌥
9c79f2cc5c
Fix test
2024-08-22 21:48:12 -07:00
Bo Anderson
d24686ac50
extend/ENV: remove fake EnvMethods
from RBI
2024-08-23 05:28:52 +01:00
fn ⌃ ⌥
6287607ac5
cmd/list: add --poured-from-bottle
and --built-from-source
2024-08-22 21:26:16 -07:00
Bo Anderson
f877fc5058
livecheck: remove module_function
2024-08-23 04:57:28 +01:00
Bo Anderson
092dcdbeac
shared_audits: remove module_function
2024-08-23 03:34:48 +01:00
Michael Cho
36dc83c9e4
language/python: reduce some differences between macOS and Linux venv
2024-08-22 21:09:58 -04:00
Michael Cho
0e8db0155a
language/python: avoid modifying all Python symlinks
...
Homebrew Python will always have a realpath in HOMEBREW_CELLAR. Instead,
check if the symlink target points to HOMEBREW_CELLAR.
2024-08-22 19:19:19 -04:00
Carlo Cabrera
4482e25cb2
Merge pull request #18125 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11535
2024-08-23 02:03:40 +08:00
Carlo Cabrera
98351c305d
Merge pull request #18122 from Homebrew/dependabot/bundler/Library/Homebrew/rexml-3.3.6
2024-08-23 01:59:36 +08:00
Carlo Cabrera
e099871fc8
Merge pull request #18123 from Homebrew/dependabot/github_actions/github/codeql-action-3.26.4
2024-08-23 01:57:23 +08:00
BrewTestBot
1a32bcae24
brew vendor-gems: commit updates.
2024-08-22 17:48:57 +00:00
BrewTestBot
5ad56b0080
brew vendor-gems: commit updates.
2024-08-22 17:48:14 +00:00
dependabot[bot]
63f8f372db
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11532 to 0.5.11535.
- [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-08-22 17:47:40 +00:00
dependabot[bot]
2a94fee6b9
build(deps): bump github/codeql-action from 3.26.3 to 3.26.4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.26.3 to 3.26.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](883d8588e5...f0f3afee80
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-22 17:46:50 +00:00
dependabot[bot]
b40208d02b
build(deps-dev): bump rexml from 3.3.5 to 3.3.6 in /Library/Homebrew
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.3.5 to 3.3.6.
- [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.3.5...v3.3.6 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-22 17:46:42 +00:00