26835 Commits

Author SHA1 Message Date
Sam Ford
9e8900fb6e
Allow regex to be passed into all strategy blocks
This modifies cask-related livecheck strategies to allow passing a
regex into a `strategy` block, when appropriate. These strategies
were outliers that explicitly rejected a regex even if a `strategy`
block was used, forcing any regex to be inlined in the `strategy`
block (instead of being defined using `#regex`).

With these changes, all `strategy` blocks will be able to accept a
regex, further simplifying the mental model. This also helps to
better align the various `find_versions` and `versions_from_*`
methods across strategies.
2021-11-19 23:58:54 -05:00
fn ⌃ ⌥
56724da0b7 tap-new: add --github-packages switch 2021-11-19 12:35:50 -08:00
fn ⌃ ⌥
c0ca9275f9
bump-cask-pr: replace --write with --write-only in help text 2021-11-19 12:14:47 -08:00
fn ⌃ ⌥
93b8fa7838 pr-upload: deprecate --github-org= 2021-11-19 11:48:23 -08:00
BrewTestBot
a7c2b2273a
brew vendor-gems: commit updates. 2021-11-19 18:59:53 +00:00
dependabot[bot]
2a5288e297
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9351 to 0.5.9358.
- [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-19 18:55:39 +00:00
fn ⌃ ⌥
8f96ba3c1e extract: remove bottle blocks 2021-11-19 10:45:30 -08:00
Alexander Bayandin
27a76295a4
Merge pull request #12279 from bayandin/synced-versions-formulae
formula_auditor: add audit for formulae with synced versions
2021-11-19 12:24:33 +00:00
Mike McQuaid
7241f8db2e
Merge pull request #12450 from scpeters/unbottled_taps
dev-cmd/unbottled: don't skip non-core formulae
2021-11-19 12:20:20 +00:00
Mike McQuaid
a0660e9c1b
Merge pull request #12448 from FnControlOption/renames
Print warning if given old short name of renamed formula
2021-11-19 12:20:12 +00:00
Carlo Cabrera
601bf83fee
linkage: add --strict flag to detect opportunistic linkage
There was a previous discussion about making `brew linkage --test` fail
for unrequested dependencies (#9172). I'm not sure what the outcome of
that was, but it still seems like a good idea to try to help us find
cases of opportunistic linkage as they happen rather than when they
cause CI failures in another PR sometime later.

Let's do this by adding a `--strict` flag to `brew linkage --test`. My
intention is for `brew linkage --test --strict` failures to be warnings
rather than errors in CI, which should mitigate some of the concerns
about doing this that were raised in #9172.
2021-11-19 18:14:38 +08:00
fn ⌃ ⌥
b766799d95 Add missing --formulae/--casks aliases for --formula/--cask 2021-11-18 12:41:03 -08:00
BrewTestBot
dde131ace6
brew vendor-gems: commit updates. 2021-11-18 18:11:53 +00:00
dependabot[bot]
a45b15ce23
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9338 to 0.5.9351.
- [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-18 18:05:20 +00:00
fn ⌃ ⌥
55fc6e1c9b migrate: load specified formulae by keg to avoid rename warning 2021-11-18 09:47:25 -08:00
Steve Peters
aa4e39785c
dev-cmd/unbottled: don't skip non-core formulae
Related to Homebrew/homebrew-test-bot#705

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
2021-11-18 08:13:44 -08:00
Mike McQuaid
a2e2ea4b51
.rubocop.yml: allow OpenStruct. 2021-11-18 11:48:30 +00:00
BrewTestBot
68f1685b97
Update RBI files for rubocop. 2021-11-18 11:48:30 +00:00
BrewTestBot
7e6c6fee33
brew vendor-gems: commit updates. 2021-11-18 11:48:30 +00:00
dependabot[bot]
840db1db18
build(deps): bump rubocop from 1.22.0 to 1.23.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 11:48:30 +00:00
Mike McQuaid
f7bd2d4122
Merge pull request #12442 from Homebrew/dependabot/bundler/Library/Homebrew/rbi-0.0.7
build(deps): bump rbi from 0.0.6 to 0.0.7 in /Library/Homebrew
2021-11-18 11:33:57 +00:00
fn ⌃ ⌥
db0c1d999b Print warning if given old short name of renamed formula 2021-11-17 22:20:48 -08:00
Bo Anderson
dbe565eff2
Regenerate Tapioca RBI 2021-11-18 01:59:04 +00:00
BrewTestBot
fa3bf7804f
Update RBI files for rbi. 2021-11-18 01:39:47 +00:00
BrewTestBot
17ac7ec75d
brew vendor-gems: commit updates. 2021-11-18 01:34:22 +00:00
dependabot[bot]
f96fffbed8
build(deps): bump rbi from 0.0.6 to 0.0.7 in /Library/Homebrew
Bumps [rbi](https://github.com/Shopify/rbi) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/Shopify/rbi/releases)
- [Commits](https://github.com/Shopify/rbi/compare/v0.0.6...v0.0.7)

---
updated-dependencies:
- dependency-name: rbi
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 01:30:03 +00:00
BrewTestBot
2a4b5f7c1c
brew vendor-gems: commit updates. 2021-11-17 18:07:49 +00:00
dependabot[bot]
38e913fc20
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9327 to 0.5.9338.
- [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-17 18:04:57 +00:00
Mike McQuaid
f1121fc65a
Merge pull request #12445 from FnControlOption/csv
cask: add `#csv` to version DSL
2021-11-17 12:17:45 +00:00
Mike McQuaid
cf1e701a2c
Merge pull request #12441 from Homebrew/dependabot/bundler/Library/Homebrew/mime-types-3.4.1
build(deps): bump mime-types from 3.3.1 to 3.4.1 in /Library/Homebrew
2021-11-17 11:21:34 +00:00
BrewTestBot
d087e783d8
Update RBI files for mime-types. 2021-11-17 10:56:46 +00:00
BrewTestBot
d9786dd5bb
brew vendor-gems: commit updates. 2021-11-17 10:52:07 +00:00
Mike McQuaid
07f14c32e9
Merge pull request #12423 from FnControlOption/deps
deps: add `--graph` and `--dot` switches
2021-11-17 10:49:19 +00:00
Mike McQuaid
5e72aea97c
Merge pull request #12439 from carlocab/file-annotations
utils/github/actions: make `file` a mandatory argument
2021-11-17 10:48:57 +00:00
dependabot[bot]
3e14f3380f
build(deps): bump mime-types from 3.3.1 to 3.4.1 in /Library/Homebrew
Bumps [mime-types](https://github.com/mime-types/ruby-mime-types) from 3.3.1 to 3.4.1.
- [Release notes](https://github.com/mime-types/ruby-mime-types/releases)
- [Changelog](https://github.com/mime-types/ruby-mime-types/blob/main/History.md)
- [Commits](https://github.com/mime-types/ruby-mime-types/compare/v3.3.1...v3.4.1)

---
updated-dependencies:
- dependency-name: mime-types
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 10:48:36 +00:00
Mike McQuaid
c31e8a122e
Merge pull request #12440 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9327
build(deps-dev): bump sorbet from 0.5.9319 to 0.5.9327 in /Library/Homebrew
2021-11-17 10:48:32 +00:00
fn ⌃ ⌥
68160df041 cask: add #csv to version DSL 2021-11-16 16:34:12 -08:00
BrewTestBot
84a979d76b
Update RBI files for mime-types-data. 2021-11-16 18:20:18 +00:00
BrewTestBot
06bca8991e
brew vendor-gems: commit updates. 2021-11-16 18:15:31 +00:00
BrewTestBot
d371359c1c
brew vendor-gems: commit updates. 2021-11-16 18:10:51 +00:00
dependabot[bot]
cd779bd347
build(deps): bump mime-types-data in /Library/Homebrew
Bumps [mime-types-data](https://github.com/mime-types/mime-types-data) from 3.2021.0901 to 3.2021.1115.
- [Release notes](https://github.com/mime-types/mime-types-data/releases)
- [Changelog](https://github.com/mime-types/mime-types-data/blob/main/History.md)
- [Commits](https://github.com/mime-types/mime-types-data/compare/v3.2021.0901...v3.2021.1115)

---
updated-dependencies:
- dependency-name: mime-types-data
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-16 18:06:08 +00:00
dependabot[bot]
ebec7f98d0
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9319 to 0.5.9327.
- [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-16 18:04:45 +00:00
fn ⌃ ⌥
87e9a495d1 deps: add --graph and --dot switches 2021-11-16 08:50:39 -08:00
fn ⌃ ⌥
a188215d69 deps: minor refactoring 2021-11-16 08:45:59 -08:00
Carlo Cabrera
105d1f9cfc
utils/github/actions: make file a mandatory argument
An annotation is pretty useless if you don't specify a file to place the
annotation on, so let's just require it.
2021-11-16 23:42:03 +08:00
Mike McQuaid
762b35bbc8
Merge pull request #12438 from carlocab/actions-annotations
utils/github/actions: support notices and new annotation parameters
2021-11-16 12:10:30 +00:00
Mike McQuaid
38d5524860
Merge pull request #12436 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9319
build(deps-dev): bump sorbet from 0.5.9318 to 0.5.9319 in /Library/Homebrew
2021-11-16 12:04:48 +00:00
Mike McQuaid
06b653e968
Merge pull request #12427 from FnControlOption/pypi
update-python-resources: skip dependencies of excluded packages
2021-11-16 12:04:33 +00:00
Carlo Cabrera
6795a88520
utils/github/actions: support notices and new annotation parameters
GitHub Actions annotations also suport a "notice" annotation type. You
can also set the title of an annotion, and the set `endLine` and
`endColumn` parameters.

See https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions
2021-11-16 14:44:43 +08:00
Michka Popoff
1ce7f1fb7b
disable: allow to disable due to checksum mismatch
The rationale is that a checksum mismatch is a huge security issue.
This means that the current source file, but maybe the initial one,
might have been compromised.

In the case upstream does not respond quickly to clarify what happened,
or fails to respond, we can now rev-bump the formula, disable and unbottle it,
making sure we stop delivering the potentially malicious code

Further improvements:
- Add the url of the project in the error message to redirect users to
the closed pull request where we disabled this, to centralize the discussion
and avoid the opening of multiple new issues
- Add a warning on brew-update that something is fishy upstream
2021-11-15 20:25:37 +01:00