18716 Commits

Author SHA1 Message Date
Markus Reiter
540fa4e84b Pass quiet when tapping external commands. 2020-09-09 21:49:22 +02:00
Maxim Belkin
b1cc9bdee7
brew.sh: update implied HOMEBREW_VERSION
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-09-09 12:05:40 -07:00
Misty De Meo
c06848c487
Fix printing MultipleVersionsInstalledError details
The refactor in 6e8f5d0958247e4b4d629866099ed2836a0e0863 means that the
exception no longer exposes the name of the package with multiple versions,
and as a result the rescuer is unable to print this information.

Because we now have a path in which MultipleVersionsInstalledError doesn't
have the name at all, we can't reasonably restore the old behaviour.
And since rack resolution happens purely internal to the function that
raises the exception, the caller has no way to know what name to use.
However, since the exception text gets printed anyway, we can just move
this text into the exception itself.

Fixes the following error:

```
Error: mpd has multiple installed versions
Error: undefined method `name' for #<MultipleVersionsInstalledError:0x00007fc6009d8870>
/usr/local/Homebrew/Library/Homebrew/cmd/uninstall.rb:137:in `rescue in uninstall'
/usr/local/Homebrew/Library/Homebrew/cmd/uninstall.rb:135:in `uninstall'
/usr/local/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'
```
2020-09-09 11:56:53 -07:00
Issy Long
1654de3279
Merge pull request #8664 from issyl0/typecheck-update-todo-file
dev-cmd/typecheck: Update the Sorbet TODO file in `--update-definitions`
2020-09-09 19:42:06 +01:00
Issy Long
42a4e86af5
dev-cmd/typecheck: Update the Sorbet TODO file in --update-definitions
- [Sorbet's TODO file](https://sorbet.org/docs/rbi#the-todo-rbi-file) is
  useful to be periodically regenerated when we're trying to deal with
  typing errors. The result is an updated `sorbet/rbi/todo.rbi` file that
  defines missing constants. During GSoC, we [did update this file on
  occasional Tapioca updates](https://github.com/Homebrew/brew/blame/master/Library/Homebrew/sorbet/rbi/todo.rbi),
  according to the history. That suggests to me that it should be part of
  this command.
2020-09-09 19:06:33 +01:00
Maxim Belkin
56901775bf brew.sh: use HOMEBREW_GIT instead of git 2020-09-09 12:22:45 -05:00
Dawid Dziurla
4b6318b2ad
curl: allow passing print_stdout parameter 2020-09-09 18:01:48 +02:00
Dawid Dziurla
36c35efcd8
bintray: don't output raw JSON 2020-09-09 18:01:47 +02:00
Seeker
e0645f3950 cask/audit: detect tag from URL 2020-09-09 08:57:56 -07:00
Mike McQuaid
3403836cc1
Merge pull request #8660 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.5895
build(deps): bump sorbet from 0.5.5891 to 0.5.5895 in /Library/Homebrew
2020-09-09 13:51:51 +01:00
Markus Reiter
196d7badfa Improve RSpec annotations. 2020-09-09 10:24:20 +02:00
Mike McQuaid
959d2b7fbb
Merge pull request #8644 from shcai97/update_latest_tag_fix
update: fix latest_tag in homebrew/brew update
2020-09-09 08:48:14 +01:00
Mike McQuaid
b59f91a2d9
Merge pull request #8649 from tschoonj/fix-std-meson-args
std_meson_args: add --wrap-mode=nofallback
2020-09-09 08:40:13 +01:00
dependabot-preview[bot]
0c145d0473
build(deps): bump sorbet from 0.5.5891 to 0.5.5895 in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.5891 to 0.5.5895.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 07:36:57 +00:00
Mike McQuaid
a69bb1c836
Merge pull request #8659 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-0.5.5895
build(deps): bump sorbet-runtime from 0.5.5891 to 0.5.5895 in /Library/Homebrew
2020-09-09 08:35:42 +01:00
Mike McQuaid
91ee29d93c
Merge pull request #8653 from Rylan12/help-external-command-fix
help: show help text for tapped external command
2020-09-09 08:31:51 +01:00
dependabot-preview[bot]
79047fc1f5
build(deps): bump sorbet-runtime in /Library/Homebrew
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.5891 to 0.5.5895.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 06:53:11 +00:00
shcai97
1789c27b32
use --key and --numeric-sort
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
2020-09-09 10:21:46 +08:00
miccal
c22c6c4a93 Remove cbmc from GITHUB_PRERELEASE_ALLOWLIST 2020-09-09 05:27:18 +08:00
Rylan Polster
5b393cb049 help: show help text for tapped external command
Previously, running e.g. `brew help bundle` when homebrew-bundle was not
tapped would tap homebrew-bundle and then run `brew bundle` showing
`Error: No Brewfile found` instead of the expected help text.
2020-09-08 15:44:13 -04:00
shcai97
77f2a24a6b use sort to fix latest_tag 2020-09-09 01:12:58 +08:00
Seeker
6d1de3a72b
Merge pull request #7986 from SeekingMeaning/bump-cask-pr
dev-cmd: add bump-cask-pr command
2020-09-08 09:40:55 -07:00
Mike McQuaid
8118aee85d
Merge pull request #8651 from Homebrew/imgbot
[ImgBot] Optimize images
2020-09-08 17:14:00 +01:00
Markus Reiter
66555af904
Merge pull request #8639 from reitermarkus/rspec-github-actions
Add RSpec formatter for Github Actions.
2020-09-08 17:50:30 +02:00
Seeker
0a4fbf7f6a dev-cmd: add bump-cask-pr 2020-09-08 08:26:05 -07:00
Seeker
be92ef2889 utils/git: add origin_branch 2020-09-08 08:26:05 -07:00
Rylan Polster
7d92454a56
Merge pull request #8635 from Rylan12/deprecate_disable_info
deprecate_disable: refactor and add to `info`
2020-09-08 11:17:44 -04:00
ImgBotApp
1a7b3e87ee
[ImgBot] Optimize images
*Total -- 61.65kb -> 43.73kb (29.07%)

/docs/assets/img/docs/managing-pull-requests.drawio.svg -- 61.61kb -> 43.69kb (29.08%)
/Library/Homebrew/test/support/fixtures/test.gif -- 0.04kb -> 0.03kb (18.6%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-08 14:34:34 +00:00
Seeker
15af7189eb utils: add tar
Includes `validate_file` method to be used by `bump-formula-pr`
2020-09-08 07:08:07 -07:00
Tom Schoonjans
6af2b6db31 std_meson_args: add --wrap-mode=nofallback
Otherwise projects may download missing dependencies and build and
install them. GNOME projects do this a lot in particular.
2020-09-08 14:58:24 +01:00
Seeker
17a9b58b59
Merge pull request #8638 from SeekingMeaning/bump-formula-pr/update-mirrors
bump-formula-pr: update mirrors automatically
2020-09-08 06:53:28 -07:00
Dustin Rodrigues
17d92a2d81
Merge pull request #8630 from dtrodrigues/bottle-lutime
bottle: use File.lutime instead of system call
2020-09-08 09:51:33 -04:00
Mike McQuaid
2ec8266697
Merge pull request #8642 from Homebrew/tapioca-update
sorbet: update RBI files using Tapioca.
2020-09-08 08:31:12 +01:00
miccal
f2ff0c21ba Add pock to GITHUB_PRERELEASE_ALLOWLIST 2020-09-08 12:06:26 +08:00
shcai97
249e8e29f9 fix latest_tag in homebrew/brew update 2020-09-08 10:41:45 +08:00
BrewTestBot
9c40130ebe sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-08 00:42:30 +00:00
Markus Reiter
4d8dcb1d81 Add RSpec formatter for Github Actions. 2020-09-07 23:50:44 +02:00
Seeker
ccde62082b bump-formula-pr: update mirrors automatically 2020-09-07 10:34:16 -07:00
Rylan Polster
a8bcd92628 deprecate_disable: refactor and add to info 2020-09-07 13:00:02 -04:00
Markus Reiter
d0e1595fcf
Merge pull request #8634 from Homebrew/dependabot/bundler/Library/Homebrew/codecov-0.2.11
build(deps): bump codecov from 0.2.10 to 0.2.11 in /Library/Homebrew
2020-09-07 18:46:47 +02:00
Seeker
bf7fc0be7d
Merge pull request #8610 from SeekingMeaning/bump-formula-pr/missing-mirror
bump-formula-pr: expedite check for missing mirror argument
2020-09-07 08:24:25 -07:00
Maxim Belkin
1792cdf1d5
Merge pull request #8608 from maxim-belkin/system_config_code_reorg
system_config.rb: refactor code into worker functions
2020-09-07 10:22:05 -05:00
dependabot-preview[bot]
ee5db3b149
build(deps): bump codecov from 0.2.10 to 0.2.11 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.2.10...v0.2.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 14:10:58 +00:00
Rui Chen
55e045d238 audit: fix lmod hashcat cert issue 2020-09-06 20:24:22 -04:00
Rui Chen
c858f9a3ab audit: fix jinx homepage cert issue 2020-09-06 20:23:18 -04:00
Rui Chen
483fcd52c0 audit: fix lmod homepage cert issue 2020-09-06 20:17:48 -04:00
Rui Chen
1615bc31fa audit: fix micropython homepage cert issue 2020-09-06 20:17:30 -04:00
Dustin Rodrigues
8ab5ea5249 bottle: use File.lutime instead of system call 2020-09-06 19:43:30 -04:00
Vidushee Amoli
b2d9594ca7
Merge pull request #8628 from Homebrew/tapioca-update 2020-09-06 09:43:56 +05:30
Vidushee Amoli
a3ca1db7c6
Merge pull request #8617 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.5891
build(deps): bump sorbet from 0.5.5890 to 0.5.5891 in /Library/Homebrew
2020-09-06 07:20:08 +05:30