24217 Commits

Author SHA1 Message Date
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
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
fn ⌃ ⌥
dddce0de74 Style fixes 2021-11-15 10:49:07 -08:00
BrewTestBot
62d0f14e3c
brew vendor-gems: commit updates. 2021-11-15 18:07:33 +00:00
dependabot[bot]
14a3b2dca2
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9318 to 0.5.9319.
- [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-15 18:03:27 +00:00
Carlo Cabrera
7bd5374dcc
Revert "linkage_checker: check variable references with dlopen"
Trying to `dlopen` some Qt libraries causes Ruby to crash.

This reverts commit 0191a275ccc3e1a9377c956751bbc1c4ba7b0cea.
2021-11-16 01:32:42 +08:00
Carlo Cabrera
b39fbc9c8c
Merge pull request #12429 from carlocab/variable-dlopen
linkage_checker: check variable references with dlopen
2021-11-15 23:09:56 +08:00
Mike McQuaid
819eea5669
Merge pull request #12426 from EricFromCanada/issues-url-condition
Also show issues URL on macOS arm64
2021-11-15 14:24:11 +00:00
BrewTestBot
d7395863c0
spdx: update license data.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml).
2021-11-15 00:07:49 +00:00
Carlo Cabrera
0191a275cc
linkage_checker: check variable references with dlopen
The linkage check currently does nothing to check the validity of
variable-referenced libraries (prefixed with an `@`).

We could rectify that by mimicking the dynamic linker in looking up the
variable-referenced library, but this could get quite complicated.
Instead, let's let the linker do the hard work by checking if we can
`dlopen` libraries and bundles that contain variable linkage. The
`dlopen` will fail if the linker cannot resolve the variable reference.

There are at least two disadvantages to this approach relative to the
alternative suggested above:
1. This doesn't work for binary executables.
2. This doesn't identify which variable references are broken.

It's still better than not checking them at all, which is what we do
currently, and saves us from having to carry around code that parses and
verifies variable references directly.
2021-11-15 02:24:16 +08:00
Dawid Dziurla
55244c845b
rubocops/text: forbid "go get" only in install method 2021-11-14 14:04:14 +01:00
fn ⌃ ⌥
e6e730f49d update-python-resources: skip dependencies of excluded packages 2021-11-14 03:52:44 -08:00
EricFromCanada
3515059941
Also show issues URL on macOS arm64 2021-11-13 15:00:10 -05:00
BrewTestBot
b4fd89c811
Update RBI files for mechanize. 2021-11-12 18:09:43 +00:00
BrewTestBot
4fda2c335c
brew vendor-gems: commit updates. 2021-11-12 18:05:53 +00:00
dependabot[bot]
234cd2e664
build(deps): bump mechanize from 2.8.1 to 2.8.3 in /Library/Homebrew
Bumps [mechanize](https://github.com/sparklemotion/mechanize) from 2.8.1 to 2.8.3.
- [Release notes](https://github.com/sparklemotion/mechanize/releases)
- [Changelog](https://github.com/sparklemotion/mechanize/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/mechanize/compare/v2.8.1...v2.8.3)

---
updated-dependencies:
- dependency-name: mechanize
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 18:03:22 +00:00
XuehaiPan
50cde98fd3 utils/shfmt.sh: allow single line if blocks 2021-11-12 19:57:32 +08:00
XuehaiPan
391e7e22f8 utils/shfmt.sh: add != and =~ to within test regex 2021-11-12 19:57:28 +08:00
XuehaiPan
2345a34095 utils/shfmt.sh: rename regex variables 2021-11-12 19:29:09 +08:00