29755 Commits

Author SHA1 Message Date
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
d63c4d2761
Merge pull request #12431 from EricFromCanada/docs-section-2
Updates for Docs section 2
2021-11-16 14:59:26 +00:00
EricFromCanada
fd0ae2bd5c
Update Tips-N'-Tricks.md 2021-11-16 09:31:29 -05:00
EricFromCanada
66830f9d17
Update Taps.md 2021-11-16 09:31:29 -05:00
EricFromCanada
f1b3d6ec4c
Update Interesting-Taps-and-Forks.md 2021-11-16 09:26:29 -05:00
EricFromCanada
84509282fe
Update Bottles.md 2021-11-16 09:26:29 -05:00
EricFromCanada
8b8c5e6e54
Update Analytics.md 2021-11-16 09:26:29 -05:00
EricFromCanada
c1531cd7b3
Add line breaks & indentation 2021-11-16 09:26:29 -05: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
adb3d683b0
Merge pull request #12433 from Homebrew/dependabot/bundler/docs/em-websocket-0.5.3
build(deps): bump em-websocket from 0.5.2 to 0.5.3 in /docs
2021-11-16 12:06:30 +00:00
Mike McQuaid
f0d7e0057e
Merge pull request #12434 from Homebrew/dependabot/bundler/docs/http_parser.rb-0.8.0
build(deps): bump http_parser.rb from 0.6.0 to 0.8.0 in /docs
2021-11-16 12:06:09 +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
Mike McQuaid
b0360de569
Merge pull request #12437 from iMichka/mismatch
disable: allow to disable due to checksum mismatch
2021-11-16 12:03:58 +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
dependabot[bot]
8027b5c074
build(deps): bump http_parser.rb from 0.6.0 to 0.8.0 in /docs
Bumps [http_parser.rb](https://github.com/tmm1/http_parser.rb) from 0.6.0 to 0.8.0.
- [Release notes](https://github.com/tmm1/http_parser.rb/releases)
- [Commits](https://github.com/tmm1/http_parser.rb/compare/v0.6.0...v0.8.0)

---
updated-dependencies:
- dependency-name: http_parser.rb
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 18:01:50 +00:00
dependabot[bot]
44090f6bcd
build(deps): bump em-websocket from 0.5.2 to 0.5.3 in /docs
Bumps [em-websocket](https://github.com/igrigorik/em-websocket) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/igrigorik/em-websocket/releases)
- [Changelog](https://github.com/igrigorik/em-websocket/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/igrigorik/em-websocket/compare/v0.5.2...v0.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 18:01:35 +00:00
Carlo Cabrera
ee02773c09
Merge pull request #12432 from carlocab/dlopen-revert
Revert "linkage_checker: check variable references with dlopen"
2021-11-16 01:54:41 +08: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
3.3.4
2021-11-15 14:24:11 +00:00
Mike McQuaid
6f105970b9
Merge pull request #12430 from Homebrew/spdx-update
spdx: update license data.
2021-11-15 14:18:33 +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
Dawid Dziurla
d44ed9adad
Merge pull request #12428 from Homebrew/gogetinstall
rubocops/text: forbid "go get" only in install method
2021-11-14 23:48:35 +01: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
Rylan Polster
1f0ab4a1ee
Merge pull request #12424 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2021-11-12 19:37:20 -05:00
Rylan Polster
de27b9c2c4
Merge pull request #12422 from Homebrew/dependabot/bundler/Library/Homebrew/mechanize-2.8.3
build(deps): bump mechanize from 2.8.1 to 2.8.3 in /Library/Homebrew
2021-11-12 19:36:33 -05:00
BrewTestBot
587272bc93
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-11-13 00:06:28 +00: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
Mike McQuaid
d677926d7a
Merge pull request #12421 from XuehaiPan/shfmt-if-align
utils/shfmt.sh: improve shell formatter usage
2021-11-12 12:38:42 +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
Mike McQuaid
3d4f367bd9
Merge pull request #12419 from EricFromCanada/list-no-such-keg
list: raise NoSuchKegError if formula exists but isn't installed
2021-11-12 08:59:12 +00:00
EricFromCanada
6e0e96eb1d
list: raise NoSuchKegError if formula exists but isn't installed 2021-11-11 17:40:32 -05:00
Mike McQuaid
53f890bbe9
Merge pull request #12418 from EricFromCanada/bump-livecheck-presence
bump: skip PR check if livecheck does not return a version
2021-11-11 15:35:54 +00:00
EricFromCanada
dd439b4c11
bump: skip PR check if livecheck does not return a version 2021-11-11 10:02:30 -05:00
Carlo Cabrera
3b41be9983
Merge pull request #12417 from carlocab/rosetta-arm
vendor-install: handle native ARM running under Rosetta
2021-11-11 18:00:44 +08:00
Carlo Cabrera
f114b89750
brew.sh: move comment closer to code it references 2021-11-11 17:33:28 +08:00