19338 Commits

Author SHA1 Message Date
Seeker
51d167c122 utils/github: add create_bump_pr 2020-09-04 13:39:15 -07:00
Seeker
a4d4fb574c bump-formula-pr: expedite check for missing mirror argument 2020-09-04 12:53:37 -07:00
dependabot-preview[bot]
0046e6fa2a
build(deps): bump codecov from 0.2.9 to 0.2.10 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.2.9 to 0.2.10.
- [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.9...v0.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 19:22:22 +00:00
Maxim Belkin
2c5eec509b system_config.rb: refactor code into worker functions
Break down `dump_verbose_config` function into "worker" functions that
display information for specific categories:

- `core_tap_config` for Core tap info
- `homebrew_config` for Homebrew/brew info
- `homebrew_env_config` for environment-related information
- `host_software_config` for Host software

Also, factor out code related to Clang into `describe_clang` function,
so that we can do:

```
f.puts "Clang: #{describe_clang}"
```
2020-09-04 18:27:12 +00:00
Seeker
2314ddf9f5
Merge pull request #8606 from SeekingMeaning/bump-formula-pr/dry-run-write
bump-formula-pr: make `--dry-run` conflict with `--write`
2020-09-04 11:07:55 -07:00
Seeker
88ebbd5692 bump-formula-pr: make --dry-run conflict with --write
Also add `--commit` to a create commit without opening a pull request
2020-09-04 10:22:13 -07:00
Mike McQuaid
7710670fba
Merge pull request #8591 from maxim-belkin/system-ruby-config
system_config.rb: show system Ruby info on Linux
2020-09-04 16:37:00 +01:00
Vidushee Amoli
3b43b8d9ea
Merge pull request #8601 from Homebrew/tapioca-update
sorbet: update RBI files using Tapioca.
2020-09-04 20:42:03 +05:30
Maxim Belkin
40f1994eec system_config.rb: rename SYSTEM_RUBY_PATH to HOST_RUBY_PATH
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-09-04 13:46:53 +00:00
Mike McQuaid
537a93ceef
Merge pull request #8599 from Luthaf/cask-reinstall
Do not suggest use of deprecated brew cask reinstall
2020-09-04 14:12:06 +01:00
Markus Reiter
d8a67a8400
Merge pull request #8598 from reitermarkus/audit-problem
Fix missing method `problem` in `Cask::Audit`.
2020-09-04 15:10:16 +02:00
BrewTestBot
5cb3b1d428 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-04 12:12:53 +00:00
Luthaf
3376646b06 Do not suggest use of deprecated brew cask reinstall 2020-09-04 11:37:37 +02:00
Mike McQuaid
2d46ab18bd
Merge pull request #8594 from Homebrew/tapioca-update
sorbet: update RBI files using Tapioca.
2020-09-04 08:58:06 +01:00
Mike McQuaid
5588beb3db
Merge pull request #8597 from dtrodrigues/creator-license
formula_creator: autodetect license from GitHub when available
2020-09-04 08:57:44 +01:00
Markus Reiter
5008a841fc Fix missing method problem in Cask::Audit. 2020-09-04 08:08:44 +02:00
Markus Reiter
4cc111ce6d
Merge pull request #8595 from reitermarkus/skip-appcast
Support `--no-appcast` for `brew cask audit`.
2020-09-04 06:54:23 +02:00
Dustin Rodrigues
70c1f39ec0 formula_creator: autodetect license from GitHub when available 2020-09-04 00:20:53 -04:00
Dustin Rodrigues
b3c991a674 search: use https for fink query url 2020-09-04 00:06:43 -04:00
Markus Reiter
f1bf6c03c3 Add tests for implications. 2020-09-04 05:29:56 +02:00
Markus Reiter
16c17433d5 Fix passing options through Auditor. 2020-09-04 05:19:33 +02:00
Markus Reiter
7c05b2f231 Support --no-appcast for brew cask audit. 2020-09-04 04:47:31 +02:00
Markus Reiter
e5b56e485f Move cask audit implications into Audit. 2020-09-04 04:47:31 +02:00
BrewTestBot
bfea8621d0 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-04 00:20:03 +00:00
Maxim Belkin
de736ffb7d system_config.rb: show system Ruby info on Linux 2020-09-03 19:25:58 +00:00
Markus Reiter
793ab30bb0
Merge pull request #8593 from reitermarkus/homebrew-debug
Re-add `HOMEBREW_DEBUG` environment variable.
2020-09-03 20:43:42 +02:00
Markus Reiter
2dbaaf35aa
Merge pull request #8592 from reitermarkus/desc-cache-ignore-exceptions
Ignore `FormulaUnreadableError` in `Formula.each`.
2020-09-03 20:21:02 +02:00
Markus Reiter
e0202e3ba9 Re-add HOMEBREW_DEBUG environment variable. 2020-09-03 20:16:16 +02:00
Markus Reiter
8fb769e60c Ignore FormulaUnreadableError in Formula.each. 2020-09-03 19:48:18 +02:00
Maxim Belkin
896c93b819 cleanup.rb: quiet down Ruby test 2020-09-03 17:24:25 +00:00
Sean Molenaar
9ac31942fb
audit: allow pre-releases in cask-versions 2020-09-03 17:38:37 +02:00
Dustin Rodrigues
5ce013b0d0
Merge pull request #8576 from dtrodrigues/revision-audit
audit: compare current version to last committed version when seeing if revision should be reset
2020-09-03 10:32:42 -04:00
Dustin Rodrigues
76ec69e3c3 audit: compare current version to last committed version when seeing if revision should be removed 2020-09-03 10:02:28 -04:00
Mike McQuaid
64c99822fc
Merge pull request #8586 from MikeMcQuaid/formula_patches
compat/formula: re-add super.
2020-09-03 13:53:35 +01:00
Mike McQuaid
2c2b7ef2a6 compat/formula: re-add super.
I missed the `respond_to?(:patches)` here which broke patches.
2020-09-03 13:28:22 +01:00
BrewTestBot
d900b8e81f 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-03 12:09:52 +00:00
Issy Long
ef1181cd0d
Merge pull request #8583 from issyl0/pr-publish-github-missing-require
utils/github: Fix 'uninitialized constant Utils::Shell'
2020-09-03 11:16:43 +01:00
Mike McQuaid
2e5272d04c Deprecate/disable code for Homebrew 2.5.0.
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
Mike McQuaid
2b3d1e7a52
Merge pull request #8582 from Homebrew/tapioca-update
sorbet: update RBI files using Tapioca.
2020-09-03 10:25:55 +01:00
Issy Long
c92ba20be3
utils/github: Fix 'uninitialized constant Utils::Shell'
- I tried `brew pr-publish` on Linux (as we don't have an auto-merge
  Action over there) and it failed with the following error:

```
Error: uninitialized constant Utils::Shell
Please report this issue:
  https://docs.brew.sh/Troubleshooting
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:69:in `initialize'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:278:in `exception'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:278:in `raise'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:278:in `raise_api_error'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:228:in `open_api'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/github.rb:464:in `workflow_dispatch_event'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-publish.rb:43:in `block in pr_publish'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-publish.rb:33:in `each'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/pr-publish.rb:33:in `pr_publish'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'
```
2020-09-03 10:24:09 +01:00
Mike McQuaid
0aed6e9121
Merge pull request #8306 from maxim-belkin/fix-cleanup-ruby-logic
Fix cleanup ruby logic
2020-09-03 10:16:09 +01:00
BrewTestBot
5c2abf5077 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-03 09:02:14 +00:00
Maxim Belkin
a6d29894d9 cleanup: fix and reuse portable ruby logic.
Align the logic in `cleanup_portable_ruby` with that in `ruby.sh`.

Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-09-03 09:43:41 +01:00
dependabot-preview[bot]
bad97317bc
build(deps): bump sorbet from 0.5.5888 to 0.5.5890 in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.5888 to 0.5.5890.
- [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-03 07:24:05 +00:00
dependabot-preview[bot]
2a5afb2896
build(deps): bump sorbet-runtime in /Library/Homebrew
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) from 0.5.5888 to 0.5.5890.
- [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-03 06:52:39 +00:00
miccal
5d0957ac81 cask/artifact/symlinked: allow --force to overwrite symbolic links 2020-09-03 13:28:29 +08:00
Sean Molenaar
742b3faaa4
Merge pull request #8351 from SMillerDev/audit/pre_release
add cask pre-release check
2020-09-02 22:00:39 +02:00
Dustin Rodrigues
f5b71af6de
Merge pull request #8575 from dtrodrigues/typo-fixes
minor typo fixes
2020-09-02 13:46:47 -04:00
Sean Molenaar
74ba8cc2df
Style fix in cask audit
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-09-02 19:13:46 +02:00
Mike McQuaid
8604cdb15a
Merge pull request #8541 from claui/fix-patch-stdout
Return standard output in `popen_write`
2020-09-02 17:48:12 +01:00