BrewTestBot
18d3070d92
brew vendor-gems: commit updates.
2021-11-26 18:09:57 +00:00
dependabot[bot]
3f8d235668
build(deps-dev): bump tapioca from 0.5.4 to 0.5.5 in /Library/Homebrew
...
Bumps [tapioca](https://github.com/Shopify/tapioca ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/Shopify/tapioca/releases )
- [Commits](https://github.com/Shopify/tapioca/compare/v0.5.4...v0.5.5 )
---
updated-dependencies:
- dependency-name: tapioca
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-26 18:03:37 +00:00
Mike McQuaid
e119bdc571
Merge pull request #12477 from MikeMcQuaid/env_hints
...
Output environment variable hints.
2021-11-26 13:46:27 +00:00
Mike McQuaid
6913c7c84e
Output environment variable hints.
...
Output hints for disabling automatic `brew update`, `brew cleanup` and
`brew upgrade`/`brew reinstall` of dependents. Also provide a
`HOMEBREW_NO_ENV_HINTS` to disable this messaging.
2021-11-26 13:14:10 +00:00
Bo Anderson
d47344b1e8
upgrade: skip dependent check on core versioned formulae
2021-11-26 13:05:50 +00:00
Bo Anderson
6337dbfac9
ENV/super: enable deterministic archive generation
2021-11-26 13:04:33 +00:00
BrewTestBot
0c1389d97c
Update RBI files for simplecov-cobertura.
2021-11-25 21:49:20 +00:00
BrewTestBot
dd92818a78
brew vendor-gems: commit updates.
2021-11-25 21:45:40 +00:00
dependabot[bot]
9a222b7f00
build(deps): bump simplecov-cobertura in /Library/Homebrew
...
Bumps [simplecov-cobertura](https://github.com/dashingrocket/simplecov-cobertura ) from 1.4.2 to 2.0.0.
- [Release notes](https://github.com/dashingrocket/simplecov-cobertura/releases )
- [Commits](https://github.com/dashingrocket/simplecov-cobertura/compare/v1.4.2...v2.0.0 )
---
updated-dependencies:
- dependency-name: simplecov-cobertura
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 21:43:24 +00:00
BrewTestBot
c4b49c52af
Update RBI files for rbi.
2021-11-25 21:00:41 +00:00
BrewTestBot
1cb4f1765c
brew vendor-gems: commit updates.
2021-11-25 20:55:05 +00:00
dependabot[bot]
35b2cee1cc
build(deps): bump rbi from 0.0.7 to 0.0.8 in /Library/Homebrew
...
Bumps [rbi](https://github.com/Shopify/rbi ) from 0.0.7 to 0.0.8.
- [Release notes](https://github.com/Shopify/rbi/releases )
- [Commits](https://github.com/Shopify/rbi/compare/v0.0.7...v0.0.8 )
---
updated-dependencies:
- dependency-name: rbi
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 20:51:21 +00:00
BrewTestBot
9f9cd757a1
Update RBI files for parser.
2021-11-25 18:15:27 +00:00
BrewTestBot
ad74bc7b4f
brew vendor-gems: commit updates.
2021-11-25 18:08:28 +00:00
dependabot[bot]
881b0b2181
build(deps): bump parser from 3.0.2.0 to 3.0.3.0 in /Library/Homebrew
...
Bumps [parser](https://github.com/whitequark/parser ) from 3.0.2.0 to 3.0.3.0.
- [Release notes](https://github.com/whitequark/parser/releases )
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/whitequark/parser/compare/v3.0.2.0...v3.0.3.0 )
---
updated-dependencies:
- dependency-name: parser
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-25 18:03:42 +00:00
Mike McQuaid
11c5f8f05a
Improve discovery of some environment variables
...
There's a few bits of functionality that Homebrew has changed over the
years, makes sense as a sensible default but some people find really
annoying:
- automatically running `brew update`
- automatically running `brew cleanup`
- automatically upgrading outdated dependents
- automatically reinstalling broken dependents
For each of these: let's improve the documentation of the commands
whose behaviour is changed and the environment variables themselves.
2021-11-25 09:10:59 +00:00
Mike McQuaid
91a502c4e0
Merge pull request #12471 from FnControlOption/migrate
...
Print given argument instead of rename if matching keg not found
2021-11-25 08:23:07 +00:00
fn ⌃ ⌥
9b611be759
Print given argument instead of rename if matching keg not found
2021-11-24 11:39:52 -08:00
BrewTestBot
7ab4226488
Update RBI files for bootsnap.
2021-11-24 18:13:53 +00:00
BrewTestBot
b8fcd39095
brew vendor-gems: commit updates.
2021-11-24 18:09:44 +00:00
dependabot[bot]
c8ec1cd883
build(deps): bump bootsnap from 1.9.1 to 1.9.3 in /Library/Homebrew
...
Bumps [bootsnap](https://github.com/Shopify/bootsnap ) from 1.9.1 to 1.9.3.
- [Release notes](https://github.com/Shopify/bootsnap/releases )
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.9.1...v1.9.3 )
---
updated-dependencies:
- dependency-name: bootsnap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 18:03:24 +00:00
BrewTestBot
fb6f5e4122
brew vendor-gems: commit updates.
2021-11-23 18:09:30 +00:00
dependabot[bot]
200bcf9f76
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.9363 to 0.5.9368.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 18:05:11 +00:00
Xuehai Pan
62a63063bb
Apply suggestions from code review
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Signed-off-by: XuehaiPan <XuehaiPan@pku.edu.cn>
2021-11-24 01:06:27 +08:00
XuehaiPan
d1aac8857a
tests/utils/git_spec: update tests for ensure_formula_installed!
2021-11-24 00:30:26 +08:00
XuehaiPan
9ef52080e3
utils: extract common word "for" in reason
2021-11-23 23:59:09 +08:00
XuehaiPan
466f29a16a
cmd/update-report: redirect stdout to stderr when it is not a TTY
2021-11-23 23:55:06 +08:00
XuehaiPan
c0826f1890
utils: add method ensure_executable!
2021-11-23 23:32:32 +08:00
XuehaiPan
d749173adc
utils: mark reason
as keyword argument in ensure_formula_installed!
2021-11-23 23:31:22 +08:00
XuehaiPan
7baaebe544
utils: send output to stderr by default for ensure_formula_installed!
2021-11-23 23:09:42 +08:00
XuehaiPan
3376479e95
utils: add method ensure_formula_installed!
2021-11-23 22:48:39 +08:00
Mike McQuaid
9be410b348
Merge pull request #12465 from XuehaiPan/bat-back-to-cat
...
dev-cmd/cat: auto-install `bat` when running `brew cat ...` with `HOMEBREW_BAT` set
2021-11-23 14:10:28 +00:00
XuehaiPan
c6719e5854
dev-cmd/cat: require "formula" only when necessary
2021-11-23 21:35:44 +08:00
Mike McQuaid
96f03339fc
Merge pull request #12467 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9363
...
build(deps-dev): bump sorbet from 0.5.9358 to 0.5.9363 in /Library/Homebrew
2021-11-23 11:55:35 +00:00
Mike McQuaid
5c0d0effe3
Merge pull request #12459 from FnControlOption/tap-new
...
tap-new: add `--github-packages` switch
2021-11-23 11:55:22 +00:00
XuehaiPan
687dbe5268
dev-cmd/cat: auto-install bat
when running brew cat ...
with HOMEBREW_BAT
set
2021-11-23 15:20:57 +08:00
fn ⌃ ⌥
5657e109af
Apply suggestions from code review
2021-11-22 16:34:47 -08:00
Carlo Cabrera
1a722a086b
Merge pull request #12345 from alebcay/std_go_args-output-name
...
formula: allow optional output path in std_go_args
2021-11-23 02:13:14 +08:00
BrewTestBot
1afe8b467e
brew vendor-gems: commit updates.
2021-11-22 18:09:19 +00:00
dependabot[bot]
2d40c4ecf6
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.9358 to 0.5.9363.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 18:04:27 +00:00
Mike McQuaid
591c67f4e3
Merge pull request #12453 from FnControlOption/extract
...
extract: remove bottle blocks
2021-11-22 12:26:55 +00:00
Mike McQuaid
ef4e329ce4
Merge pull request #12457 from FnControlOption/pr-upload
...
pr-upload: deprecate `--github-org=`
2021-11-22 12:26:23 +00:00
Mike McQuaid
a8429df637
Merge pull request #12458 from FnControlOption/patch-11
...
bump-cask-pr: replace `--write` with `--write-only` in help text
2021-11-22 12:24:18 +00:00
Mike McQuaid
2a7c955090
Merge pull request #12449 from samford/livecheck/allow-passing-regex-in-all-strategy-blocks
...
Allow passing a regex in all livecheck `strategy` blocks
2021-11-22 12:12:35 +00:00
Carlo Cabrera
001bd96fa3
Merge pull request #12454 from carlocab/strict-linkage
...
linkage: add `--strict` flag to detect opportunistic linkage
2021-11-22 20:02:28 +08:00
Caleb Xu
97bc320836
std_go_args: accept ldflags as string or Array(string)
2021-11-21 07:02:23 -05:00
Caleb Xu
3f357861aa
formula: allow optional output path in std_go_args
2021-11-21 07:02:22 -05:00
Sam Ford
f8ded0a435
PageMatch: Enforce requirements in #find_versions
...
This aligns `PageMatch` with how cask strategies handle requirements
in their `#find_versions` methods. This moves related logic from
`Livecheck#latest_version` into the `PageMatch` strategy, which feels
a bit more appropriate.
2021-11-20 00:39:00 -05:00
Sam Ford
085827f605
Handle variable strategy block arguments
...
There are times where a regex isn't needed in a `strategy` block and
these changes explicitly handle that situation.
This allows the Symbol Proc format used in some `Sparkle` `livecheck`
blocks (e.g., `strategy :sparkle, &:version`) to continue working
instead of failing with a "wrong number of arguments (given 1,
expected 0)" error. This error would occur because a Symbol Proc only
only expects one argument (e.g., an `Item`, not an `Item` and a
regex/nil).
There's an argument to be made for avoiding the Symbol Proc format
for `strategy` blocks but I haven't found a way of selectively
disabling the Style/SymbolProc cop only for a `strategy` DSL method
call. That is to say, if we don't use the Symbol Proc format, `brew
style` will give a "Pass &:version as an argument to strategy instead
of a block." offense.
Besides that, this also replaces the `block` type signatures in
livecheck strategies with `T.untyped`. Sorbet doesn't know how to
handle a `Proc` with a variable number of arguments and can't be
taught how (i.e., `T.any` with a `Proc` signature for each variation
doesn't work). The aforementioned changes cause Sorbet to complain
about there being both too many and too few arguments, so the only
way to win is not to play the game. Hopefully we can restore the
`block` type signatures in the future (if upstream resolves this
years-old issue) but `T.untyped` seems to be our only option for now.
2021-11-19 23:58:55 -05:00
Sam Ford
e73524b093
livecheck: Fix debug strategy info printing
...
The `ExtractPlist` strategy doesn't return certain values (e.g.,
`:url`), so it's necessary to also ensure these values are present
before printing related debug info. Without these changes, we end up
printing info for a blank value (e.g., "URL (strategy):").
2021-11-19 23:58:55 -05:00