18569 Commits
Author SHA1 Message Date
Mike McQuaid c49ef80dd3 Merge pull request #8270 from SeekingMeaning/version/more-suffixes
version: detect versions with final/full suffix
2020-08-10 10:13:22 +01:00
Mike McQuaid 4de4c3d4d4 Merge pull request #8192 from Bo98/prof-args-fix
dev-cmd/prof: improve arg passing
2020-08-10 09:57:41 +01:00
Mike McQuaid e72275eafd Merge pull request #8258 from Homebrew/dependabot/bundler/Library/Homebrew/concurrent-ruby-1.1.7
build(deps): bump concurrent-ruby from 1.1.6 to 1.1.7 in /Library/Homebrew
2020-08-10 09:49:27 +01:00
Mike McQuaid 283583c600 Merge pull request #8273 from reitermarkus/upgrade-build-from-source
Fix `upgrade --build-from-source`.
2020-08-10 09:43:43 +01:00
Mike McQuaid 510b21fb1a Merge pull request #8241 from rmNULL/patchelfrb-reading-for-everyone
patchelf.rb reading for everyone :)
2020-08-10 09:26:49 +01:00
Mike McQuaid 15fec095b2 Merge pull request #8253 from samford/livecheck-dsl-add-raise-update-docs-comments
Raise TypeError in Livecheck DSL methods, expand tests, improve documentation comments
2020-08-10 09:26:28 +01:00
Mike McQuaid 4ffe380134 Merge pull request #8272 from Homebrew/dependabot/bundler/Library/Homebrew/rdiscount-2.2.0.2
build(deps): bump rdiscount from 2.2.0.1 to 2.2.0.2 in /Library/Homebrew
2020-08-10 09:04:42 +01:00
Mike McQuaid 48dd758525 brew vendor-gems: commit updates. 2020-08-10 09:00:14 +01:00
Mike McQuaid db11d5e544 Merge pull request #8267 from issyl0/use-latest-sorbet-and-regenerate-tapioca-rbis
Use the latest Sorbet version and regenerate Tapioca RBIs
2020-08-10 09:00:07 +01:00
dependabot-preview[bot] 6139ea7086 build(deps): bump concurrent-ruby in /Library/Homebrew
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.6 to 1.1.7.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.6...v1.1.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 08:58:35 +01:00
Mike McQuaid 0d8975804b Merge pull request #8201 from Rylan12/audit-license-deprecated
audit: forbid deprecated licenses with --strict
2020-08-10 08:48:28 +01:00
Mike McQuaid 6a98b23575 bundler: use 1.17.2 again.
This was what is included with macOS system Ruby 2.6.3.
2020-08-10 08:22:03 +01:00
Markus Reiter 3d78bc2111 Fix upgrade --build-from-source. 2020-08-10 06:13:27 +02:00
dependabot-preview[bot] 4015f79ea4 build(deps): bump rdiscount from 2.2.0.1 to 2.2.0.2 in /Library/Homebrew
Bumps [rdiscount](https://github.com/davidfstr/rdiscount) from 2.2.0.1 to 2.2.0.2.
- [Release notes](https://github.com/davidfstr/rdiscount/releases)
- [Changelog](https://github.com/davidfstr/rdiscount/blob/master/CHANGELOG.md)
- [Commits](https://github.com/davidfstr/rdiscount/compare/2.2.0.1...2.2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 01:33:48 +00:00
Waldir Pimenta c66fa42efd Add language stanza to cask rubocops
Also fix the corresponding test
2020-08-09 22:07:31 +01:00
Seeker 8b55f8f9a4 version: detect versions with final/full suffix 2020-08-09 13:38:06 -07:00
Markus Reiter 984e926d19 Merge pull request #8265 from waldyrious/fix-cask-stanza-order-and-grouping
Fix order and grouping of cask stanzas
2020-08-09 19:51:51 +02:00
Markus Reiter 797c6486a0 Merge pull request #8262 from reitermarkus/cask-all
Move `cask/all` to just `cask`.
2020-08-09 19:43:24 +02:00
Waldir Pimenta 1b71d99f45 Fix order and grouping of cask stanzas
- Put `desc` stanza after the `name` stanza
- Add missing `vst3_plugin` stanza to the group containing `vst_plugin`
2020-08-09 18:27:59 +01:00
Issy Long 1921a4e4ee sorbet: Regenerate RBI hidden-definitions
- [The docs](https://sorbet.org/docs/rbi#the-hidden-definition-rbi) say
  we have to do this whenever gems are bumped.
2020-08-09 12:07:57 +01:00
Issy Long 7ce5b20858 sorbet: Regenerate Tapioca gem RBIs (excluding JSON) 2020-08-09 12:07:02 +01:00
Issy Long 25ce3875a4 Gemfile: Unpin sorbet version
- This was originally pinned in 1a6467eeea
  because we found that later versions surfaced over 100 new typing errors
  in Tapioca's autogenerated RBI files. It seems like these are able to
  be fixed now.
2020-08-09 12:03:30 +01:00
Issy Long e28a336345 Merge pull request #8261 from vidusheeamoli/sorbet-gemfile
Gemfile: drop sorbet environment
2020-08-09 11:10:40 +01:00
Markus Reiter 8a32954940 Move cask/all to just cask. 2020-08-09 01:34:07 +02:00
Markus Reiter 3b86e1f9c1 Implement RuboCop for cask desc stanza. 2020-08-08 23:04:24 +01:00
Waldir PimentaandMarkus Reiter fc6813f094 Extract formula desc auditing code to a separate module
The extracted module will be used for Cask descs as well.

Co-authored-by: Markus Reiter <me@reitermark.us>
2020-08-08 23:02:39 +01:00
Waldir Pimenta ffed8fdbb3 Add a desc stanza to the cask DSL 2020-08-08 23:02:23 +01:00
Waldir Pimenta db7ffe21f1 Fix URL of the documentation for stanza order and grouping 2020-08-08 23:01:52 +01:00
vidusheeamoli 53ebef4c67 Gemfile: drop sorbet environment 2020-08-09 02:40:01 +05:30
Sam Ford 05b3518b0c Improve documentation comments for Livecheck DSL 2020-08-07 21:52:10 -04:00
Sam Ford 47d07b2f1b Improve existing tests for Livecheck DSL 2020-08-07 21:49:09 -04:00
rmnull 043719383b remove code using patchelf, remove HOMEBREW_PATCHELF_RB var 2020-08-08 06:48:31 +05:30
rmnull 0c2d7659cf patchelf.rb reading for everyone :) 2020-08-08 06:32:34 +05:30
Sam Ford b99e8626e2 Raise TypeError in Livecheck DSL for invalid arg
We previously added `raise TypeError` logic to the `Livecheck` DSL's
`#strategy` method. This updates the existing methods to follow suit
and modifies the tests accordingly.
2020-08-07 17:25:08 -04:00
rmnull da4eb39925 bump BUNDLER_VERSION to 1.17.3(keep in sync with Gemfile.lock) 2020-08-07 23:58:24 +05:30
Rylan Polster fb5b541dcd audit: forbid deprecated licenses with --strict 2020-08-07 13:39:27 -04:00
Seeker cab2c99641 Merge pull request #8149 from SeekingMeaning/python-logging
bump-formula-pr, utils/pypi: tweak log messages
2020-08-07 08:18:26 -07:00
Claudia Pellegrino 80b73dda42 Merge pull request #8248 from Bo98/cask-method_missing_message
cask/dsl/base: fix undefined method `method_missing_message'
2020-08-07 15:08:32 +02:00
Sam Ford b8bafe4e90 Merge pull request #8156 from samford/add-strategy-to-livecheck-dsl
Add strategy to livecheck DSL
2020-08-07 09:03:16 -04:00
Bo Anderson 70b5af4162 cask/dsl/base: fix undefined method `method_missing_message' 2020-08-07 12:43:17 +01:00
Mike McQuaid cc8c0f83cc Merge pull request #8242 from Homebrew/dependabot/bundler/Library/Homebrew/codecov-0.2.5
build(deps): bump codecov from 0.2.3 to 0.2.5 in /Library/Homebrew
2020-08-07 11:20:17 +01:00
Mike McQuaid ada7227265 Merge pull request #8246 from MikeMcQuaid/fix-upgrade-args
cmd/upgrade: fix cask/formula args (again).
2020-08-07 10:46:57 +01:00
Mike McQuaid 4c23fd0156 Merge pull request #8215 from SeekingMeaning/spdx/util
utils: add SPDX module
2020-08-07 10:38:45 +01:00
Mike McQuaid 863a0964e2 cmd/upgrade: fix cask/formula args (again).
Fixes https://github.com/Homebrew/brew/issues/8228#issuecomment-670161766
2020-08-07 10:25:29 +01:00
Mike McQuaid a1dc809f5b bin/brew: don't filter GitHub Actions variables. 2020-08-07 10:19:00 +01:00
dependabot-preview[bot] 03d07beb8c build(deps): bump codecov from 0.2.3 to 0.2.5 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.2.3 to 0.2.5.
- [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.3...v0.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 10:19:00 +01:00
Mike McQuaid 3875f16782 Fix --formula and --cask flags.
These were all made `--formulae` and `--casks` for consistency but that
doesn't behave as expected because they have special behaviours in
`args`. Instead, use the singular form everywhere.
2020-08-07 09:53:30 +01:00
Mike McQuaid 21ef9d942c Merge pull request #8243 from claui/fix-reinstall-restore-backup
Fix “wrong number of arguments” error
2020-08-07 09:47:25 +01:00
Mike McQuaid a19a1d377a Merge pull request #8237 from MikeMcQuaid/more-workflows-cleanup
Cleanup more GitHub Actions usage
2020-08-07 08:53:04 +01:00
Claudia 8864287cf2 Fix “wrong number of arguments” error
This commit fixes an error introduced in 6c964d4a78, which would
surface on certain install/reinstall/upgrade failures.

Example:

```
==> Patching
patching file default_out.txt
Hunk #2 FAILED at 11.
1 out of 2 hunks FAILED -- saving rejects to file default_out.txt.rej
Error: wrong number of arguments (given 3, expected 2)
/usr/local/Homebrew/Library/Homebrew/reinstall.rb:77:in `restore_backup'
/usr/local/Homebrew/Library/Homebrew/reinstall.rb:52:in `block in reinstall_formula'
/usr/local/Homebrew/Library/Homebrew/utils.rb:377:in `ignore_interrupts'
/usr/local/Homebrew/Library/Homebrew/reinstall.rb:52:in `rescue in reinstall_formula'
/usr/local/Homebrew/Library/Homebrew/reinstall.rb:10:in `reinstall_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/reinstall.rb:71:in `block in reinstall'
/usr/local/Homebrew/Library/Homebrew/cmd/reinstall.rb:65:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/reinstall.rb:65:in `reinstall'
/usr/local/Homebrew/Library/Homebrew/brew.rb:112:in `<main>'
```
2020-08-07 08:57:54 +02:00