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
Markus Reiter
56ed27af15
Merge pull request #8187 from reitermarkus/args-verbose-debug
...
Remove usages of `Homebrew.args.verbose?` and `Homebrew.args.debug?`.
2020-08-06 20:55:24 +02:00
Mike McQuaid
3e4da13934
Cleanup more GitHub Actions usage
...
Increase consistency between workflows, use more of our actions and
`@main`.
2020-08-06 19:35:39 +01:00
Seeker
36c7a3f27f
bump-formula-pr, utils/pypi: tweak log messages
2020-08-06 11:31:56 -07:00
Seeker
6ecef73131
test: add spdx spec
2020-08-06 11:14:24 -07:00
Seeker
753b8621df
utils: add SPDX module
2020-08-06 10:16:23 -07:00
Seeker
c5d3a4a0ed
Merge pull request #8225 from SeekingMeaning/cask/create/new-style
...
cask/create: update template to match new style
2020-08-06 10:11:48 -07:00
Seeker
a3fa266bf4
Merge pull request #8223 from SeekingMeaning/bump-formula-pr/exact-match
...
bump-formula-pr: only check closed PRs for exact match
2020-08-06 09:52:01 -07:00
Seeker
3a2dc79153
cask/create: update template to match new style
2020-08-06 09:39:07 -07:00
Markus Reiter
1535892818
Don't deprecate Homebrew.args.value
yet.
2020-08-06 16:28:07 +02:00
Markus Reiter
5d3881e1ab
Don't skip RuboCop on non-existent ARGV
methods.
2020-08-06 16:28:07 +02:00
Markus Reiter
536c963274
Deprecate global Homebrew.args
.
2020-08-06 16:14:07 +02:00
Markus Reiter
6524802079
Pass remaining args to Help
.
2020-08-06 16:13:14 +02:00
Markus Reiter
490e503b1b
Replace Homebrew.args
with Context
.
2020-08-06 16:13:14 +02:00
Markus Reiter
9d6350037f
Use try
instead of send
.
2020-08-06 16:13:14 +02:00
Markus Reiter
62671b1703
Remove wrong test.
2020-08-06 16:13:14 +02:00
Markus Reiter
bace9ecc34
Pass verbose?
to Formula#verify_download_integrity
.
2020-08-06 16:13:14 +02:00
Markus Reiter
6c964d4a78
Pass verbose?
to Keg#link
, Keg#unlink
and Keg#optlink
.
2020-08-06 16:12:52 +02:00
Markus Reiter
e9d8f09da1
Pass debug?
, quiet?
and verbose?
to FormulaInstaller
.
2020-08-06 16:12:52 +02:00
Markus Reiter
5db764f3cb
Pass debug?
and verbose?
in brew style
.
2020-08-06 16:12:52 +02:00
Markus Reiter
5caafe413e
Pass debug?
to Formula#brew
and Formula#run_test
.
2020-08-06 16:12:52 +02:00
Markus Reiter
75a692d08b
Make ohai
, oh1
and odebug
use #debug?
and verbose?
of the current object when possible.
2020-08-06 16:12:52 +02:00
Markus Reiter
add10377b8
Pass debug?
and verbose?
to Cleaner
.
2020-08-06 16:12:52 +02:00
Markus Reiter
26688145f0
Don't use global Homebrew.args
in brew.rb
.
2020-08-06 16:12:52 +02:00
Markus Reiter
7926f7fc82
Pass args.verbose?
to BuildError#dump
.
2020-08-06 16:12:52 +02:00
Markus Reiter
57fa48b758
Remove unneeded call to #shutup!
in spec.
2020-08-06 16:12:52 +02:00
Markus Reiter
2dce2ace2c
Pass args.verbose?
to Bintray
.
2020-08-06 16:12:52 +02:00
Mike McQuaid
99bff13cbb
cmd/tap-info: improve comma usage.
...
Broken in https://github.com/Homebrew/brew/pull/8230 .
2020-08-06 14:00:56 +01:00
Mike McQuaid
fb0a6338b1
Remove more tap pinning code.
...
This was deprecated and removed a while ago.
2020-08-06 12:24:10 +01:00
Mike McQuaid
4f502daf90
Merge pull request #8234 from Homebrew/revert-8216-deprecate-global-args
...
Revert "Deprecate global `Homebrew.args`."
2020-08-06 11:44:14 +01:00
Mike McQuaid
8d884e7c3b
Merge pull request #8221 from MikeMcQuaid/homebrew-actions
...
workflows/tests: use setup-homebrew GitHub Action.
2020-08-06 11:26:27 +01:00
Mike McQuaid
e514ec823d
Merge pull request #8232 from miccal/cask_upgrade
...
cask/cmd/upgrade: output cask upgrades on new line
2020-08-06 11:19:28 +01:00
Mike McQuaid
fab1009c00
Revert "Deprecate global Homebrew.args
."
2020-08-06 11:09:20 +01:00
Mike McQuaid
b0d26b0dcf
workflows/tests: use setup-homebrew GitHub Action.
...
This allows more code reuse.
2020-08-06 10:55:18 +01:00
Mike McQuaid
c761c04e26
Merge pull request #8231 from MikeMcQuaid/audit-tap
...
audit: add --tap argument.
2020-08-06 10:54:14 +01:00
miccal
3b2a7a0340
cask/cmd/upgrade: output cask upgrades on new line
2020-08-06 17:25:46 +08:00