23277 Commits

Author SHA1 Message Date
Markus Reiter
540fa4e84b Pass quiet when tapping external commands. 2020-09-09 21:49:22 +02:00
Misty De Meo
6474e651a2
Merge pull request #8670 from mistydemeo/fix_multiple_version_messaging
Fix printing MultipleVersionsInstalledError details
2020-09-09 12:30:31 -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
Markus Reiter
27dcba9f66
Merge pull request #8662 from SeekingMeaning/audit/cask-prerelease
cask/audit: detect tag from URL
2020-09-09 19:30:41 +02:00
Seeker
e0645f3950 cask/audit: detect tag from URL 2020-09-09 08:57:56 -07:00
Jonathan Chang
21e05e2c1d
Merge pull request #8652 from jonchang/doc-cleanup
docs: various updates
2020-09-09 23:00:53 +10: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
Jonathan Chang
e7a61bb13a docs: don't migrate formulae out of core/cask 2020-09-09 19:21:22 +10:00
Jonathan Chang
6dd04bee2f docs: talk about custom Requirements 2020-09-09 19:21:22 +10:00
Jonathan Chang
412be8e024 docs: add discussion forums to troubleshooting 2020-09-09 19:21:22 +10:00
Jonathan Chang
83f62d1fad docs: update outdated formula references for Node 2020-09-09 19:21:22 +10:00
Jonathan Chang
15a56655c8 docs: move supporters into its own group 2020-09-09 19:21:22 +10:00
Jonathan Chang
c68bf84e21 docs: update FAQ with current Homebrew behavior 2020-09-09 19:21:22 +10:00
Jonathan Chang
d0b0dafb0b docs: update cross-compiler practice in core 2020-09-09 19:21:22 +10:00
Jonathan Chang
379431791e docs: clarify and clean up analytics docs 2020-09-09 19:21:22 +10:00
Jonathan Chang
6f924b08ae docs: livecheck is now internal command 2020-09-09 19:21:10 +10: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
Issy Long
b94f9dccd7
Merge pull request #8657 from miccal/cbmc_audit
Remove cbmc from GITHUB_PRERELEASE_ALLOWLIST
2020-09-08 23:00:12 +01:00
miccal
c22c6c4a93 Remove cbmc from GITHUB_PRERELEASE_ALLOWLIST 2020-09-09 05:27:18 +08:00
Claudia Pellegrino
455965de80
Merge pull request #8655 from claui/fix-
Use monochrome ✔, which works better with filter
2020-09-08 22:09:35 +02: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
Claudia
e2b3bdb4e5
Use monochrome ✔, which works better with filter 2020-09-08 20:08:35 +02: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
Seeker
b94f04b7bc
Merge pull request #8611 from SeekingMeaning/bump-formula-pr/validate_tar_download
utils: add `tar`
2020-09-08 07:57:00 -07: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
Claudia Pellegrino
08ab2d739e
Merge pull request #8627 from claui/pr-diagram
Add flowchart for managing ready-to-merge PRs
2020-09-08 16:22:01 +02: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.
2.5.0
2020-09-08 08:31:12 +01:00
Markus Reiter
947832d185
Merge pull request #8645 from miccal/pock_audit
Add pock to GITHUB_PRERELEASE_ALLOWLIST
2020-09-08 08:14:23 +02: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
Claudia
4bb396bca9
Apply suggested changes to diagram and guidelines 2020-09-07 23:51:33 +02:00