40981 Commits

Author SHA1 Message Date
Mike McQuaid
6278f845e7
Merge pull request #17741 from Homebrew/pr-publish-require 2024-07-14 16:36:58 -04:00
Thierry Moisan
0bb64fd312
Add --repology flag 2024-07-14 16:35:10 -04:00
William Woodruff
ad1500ad60
Apply suggestions from code review 2024-07-14 16:30:12 -04:00
Nanda H Krishna
1ae21d2731
attestation: improve error message when gh is too old 2024-07-14 16:12:56 -04:00
Patrick Linnane
e9db766624
dev-cmd/pr-publish: add missing require
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-07-14 12:43:39 -07:00
Mike McQuaid
f892ca0d5e
Merge pull request #17739 from Homebrew/bottle_missing_require 2024-07-14 15:38:59 -04:00
Markus Reiter
988c44ce20
Merge pull request #17722 from reitermarkus/ignore-interrupts
Make `ignore_interrupts` thread-safe.
2024-07-14 15:25:34 -04:00
Mike McQuaid
d9853fb412
dev-cmd/bottle: add missing require.
Another one of these.
2024-07-14 15:25:33 -04:00
Thierry Moisan
f4c263f565
brew bump: do not call repology by default 2024-07-14 15:19:46 -04:00
Markus Reiter
b8847a90d9
Remove unused argument. 2024-07-14 15:08:37 -04:00
Markus Reiter
78d18354b6
Remove ignore_interrupts in SystemCommand. 2024-07-14 15:03:31 -04:00
Mike McQuaid
fd62a158f2
Merge pull request #17728 from Homebrew/sponsors-maintainers-man-completions 2024-07-14 15:00:20 -04:00
Mike McQuaid
3e8f2c8d98
Merge pull request #17738 from Homebrew/require-backtrace 2024-07-14 14:51:40 -04:00
Mike McQuaid
8ae18f463e
cmd/--repository.rb: tweak error message. 2024-07-14 14:46:59 -04:00
Ruoyu Zhong
3bc01a4d31
Fix completion generation for --repository 2024-07-14 14:46:59 -04:00
Rylan Polster
5030ad6f28
Require utils/backtrace when install fails 2024-07-14 14:37:30 -04:00
Markus Reiter
447216a960
Avoid ignore_interrupts in safe_fork. 2024-07-14 14:32:49 -04:00
Markus Reiter
44766945fc
Fix variable type. 2024-07-14 14:32:17 -04:00
Mike McQuaid
c751dce464
Merge pull request #17737 from Homebrew/more_require_fixes 2024-07-14 14:31:31 -04:00
Mike McQuaid
4d1e601ecb
Merge pull request #17721 from Homebrew/deprecated_packages_disable_date 2024-07-14 14:15:05 -04:00
Mike McQuaid
983310c6c9
global: more require ordering fixes.
Fixes https://github.com/Homebrew/brew/pull/17730#issuecomment-2227430748
2024-07-14 14:11:42 -04:00
Mike McQuaid
55c0a9d3b4
Merge pull request #17729 from Homebrew/utils_analytics_strip 2024-07-14 14:11:19 -04:00
Mike McQuaid
9668fbf499
Merge pull request #17736 from Homebrew/ww/verify-attestations-ci 2024-07-14 14:10:30 -04:00
Mike McQuaid
87be0a47d7
Merge pull request #17735 from Homebrew/brew-h-speedup 2024-07-14 14:04:45 -04:00
William Woodruff
8d5d012adb
workflows/tests: enable attestations
Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-14 13:56:28 -04:00
Markus Reiter
6f58bffc5c
Remove useless ignore_interrupts. 2024-07-14 13:48:23 -04:00
Ruoyu Zhong
319aaefad1
brew.sh: speed up brew --help, brew -h, etc.
We can handle `brew --help` the same way as we do for `brew help`.
2024-07-14 13:41:51 -04:00
Rylan Polster
fea65f7603
Merge pull request #17719 from Moisan/sandbox_process_signals 2024-07-14 13:38:38 -04:00
Markus Reiter
27a70a40c2
Disallow nested ignore_interrupts. 2024-07-14 13:36:43 -04:00
William Woodruff
a6e6837077
Merge pull request #17724 from Homebrew/ww/fix-local-bottles 2024-07-14 13:32:36 -04:00
Ruoyu Zhong
770dec760e
Merge pull request #17733 from Homebrew/brew-repository-more-error-checking
cmd/--repository: improve tap name error checking
2024-07-14 13:31:58 -04:00
William Woodruff
fdabfd15dc
formula_auditor_spec: add wheel resource test
Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-14 13:19:36 -04:00
Mike McQuaid
5e8665c00c
Merge pull request #17732 from Moisan/vendor_utils_git 2024-07-14 13:19:12 -04:00
Markus Reiter
3c8497647e
Fix unused argument. 2024-07-14 13:18:33 -04:00
Ruoyu Zhong
64838db963
cmd/--repository: improve tap name error checking
Before:

    $ brew --repo core
    /usr/local/Homebrew/Library/Taps/core/homebrew-core

After:

    $ brew --repo core
    Error: Invalid tap name: core
2024-07-14 13:17:26 -04:00
Mike McQuaid
2d345d89eb
utils/analytics: strip out more data.
We've filter this out in `brew formula-analytics` too but let's avoid
sending it here in the first place so we can delete the
formula-analytics filtering later.
2024-07-14 13:15:09 -04:00
Mike McQuaid
2b6b091dfc
Merge pull request #17730 from Homebrew/fix_os_which 2024-07-14 13:13:55 -04:00
Thierry Moisan
7b98a0e8c5
vendor_gems: require utils/git 2024-07-14 13:09:18 -04:00
William Woodruff
1ef8aeea49
resource_auditor: typechecking
Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-14 13:04:06 -04:00
William Woodruff
bc7261c667
resource_auditor: fix wheel URL audit
Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-14 13:01:05 -04:00
Mike McQuaid
c36a3f576d
global: fix require order.
Fixes https://github.com/Homebrew/brew/issues/17723
2024-07-14 13:00:46 -04:00
Mike McQuaid
2d26c89e81
Merge pull request #17726 from Homebrew/brew-repository-speedup 2024-07-14 12:57:52 -04:00
William Woodruff
e8ce1841d5
pypi: source wheel -> universal wheel
Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-14 12:51:41 -04:00
Nanda H Krishna
562e151aca
Merge pull request #17725 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2024-07-14 12:16:09 -04:00
Ruoyu Zhong
96cf5513c8
Port brew --repository to Bash
This provides a significant speedup:

    $ hyperfine 'git checkout master; brew --repo homebrew/core' 'git checkout brew-repository-speedup; brew --repo homebrew/core'
    Benchmark 1: git checkout master; brew --repo homebrew/core
      Time (mean ± σ):      1.737 s ±  0.388 s    [User: 0.743 s, System: 0.323 s]
      Range (min … max):    1.336 s …  2.438 s    10 runs

    Benchmark 2: git checkout brew-repository-speedup; brew --repo homebrew/core
      Time (mean ± σ):     459.1 ms ±  91.9 ms    [User: 100.5 ms, System: 142.1 ms]
      Range (min … max):   366.5 ms … 594.0 ms    10 runs

    Summary
      git checkout brew-repository-speedup; brew --repo homebrew/core ran
        3.78 ± 1.13 times faster than git checkout master; brew --repo homebrew/core
2024-07-14 12:07:11 -04:00
BrewTestBot
25364eb479
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-07-14 16:06:07 +00:00
Mike McQuaid
b33e28c95f
Merge pull request #17716 from Homebrew/attestations_wider_rollout 2024-07-14 12:05:23 -04:00
Mike McQuaid
a0ebf85c45
Merge pull request #17710 from Homebrew/help_bash 2024-07-14 12:04:58 -04:00
William Woodruff
547e33ccb7
pypi: allow source wheels as resources
Signed-off-by: William Woodruff <william@yossarian.net>
2024-07-14 11:58:36 -04:00
Mike McQuaid
4c012a41c6
Port brew help (without arguments) to Bash
This provides a decent speedup:
```
$ hyperfine 'git checkout master; brew help' 'git checkout help_bash; brew help'
Benchmark 1: git checkout master; brew help
  Time (mean ± σ):     506.4 ms ±  50.9 ms    [User: 223.7 ms, System: 99.9 ms]
  Range (min … max):   454.6 ms … 634.1 ms    10 runs

Benchmark 2: git checkout help_bash; brew help
  Time (mean ± σ):     109.5 ms ±  57.1 ms    [User: 1
```

and compares favourably to `pip3 help`:
```
$ hyperfine 'brew help' 'pip3 help'
Benchmark 1: brew help
  Time (mean ± σ):      72.9 ms ±  15.9 ms    [User: 4.9 ms, System: 6.3 ms]
  Range (min … max):    53.6 ms … 126.6 ms    31 runs

Benchmark 2: pip3 help
  Time (mean ± σ):     171.5 ms ±   6.1 ms    [User: 131.6 ms, System: 24.7 ms]
  Range (min … max):   164.2 ms … 189.3 ms    15 runs

Summary
  brew help ran
    2.35 ± 0.52 times faster than pip3 help
```
2024-07-14 11:54:05 -04:00