Commit Graph
24332 Commits
Author SHA1 Message Date
BrewTestBot fbb6c07228 brew vendor-gems: commit updates. 2021-12-03 18:07:11 +00:00
dependabot[bot]andGitHub aa5ebcc783 build(deps): bump rubocop-sorbet in /Library/Homebrew
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases)
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.6.2...v0.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-03 18:04:31 +00:00
Bo AndersonandGitHub 371122da55 Merge pull request #12510 from boblail/lail/silence-advice.detachedHead-always
Silence the detachedHead warning when ref_type is a revision
2021-12-03 15:15:59 +00:00
Mike McQuaidandGitHub c882ee7803 Merge pull request #12509 from boblail/lail/resolve-NoMethodError-when-tap-is-nil
Bypass searching for open Issues when failing to install a formula without a tap
2021-12-03 13:00:18 +00:00
Bo AndersonandGitHub c75aaed831 Merge pull request #12513 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.14.0
build(deps): bump rubocop-ast from 1.13.0 to 1.14.0 in /Library/Homebrew
2021-12-03 02:30:47 +00:00
Bo AndersonandGitHub 710bdfaf12 Merge pull request #12500 from jpawlowski/patch-1
Add support for PowerShell-preview package to shellenv
2021-12-03 02:30:11 +00:00
BrewTestBot 7b9d50217e Update RBI files for rubocop-ast. 2021-12-02 18:11:06 +00:00
BrewTestBot 946fd51207 brew vendor-gems: commit updates. 2021-12-02 18:06:54 +00:00
BrewTestBot 285f81681d brew vendor-gems: commit updates. 2021-12-02 18:06:46 +00:00
dependabot[bot]andGitHub 8789b95ada build(deps): bump rubocop-ast from 1.13.0 to 1.14.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.13.0...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-02 18:04:22 +00:00
dependabot[bot]andGitHub 4120d58ef9 build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9396 to 0.5.9408.
- [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-12-02 18:03:59 +00:00
Bob Lail 68245e0f60 Silence the detachedHead warning when ref_type is a revision
The PR that added this #8622 didn't actually resolve the problem because you see the warning when the `@ref_type` you've specified is a `:revision` (not a `:branch` or `:tag`).

The output looks like this:
```
==> Checking out revision 3b3527f5050270cf1acd280691b09b5abe130e73
Note: switching to '3b3527f5050270cf1acd280691b09b5abe130e73'

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

   git switch -c <new-branch-name>

Or undo this operation with:

   git switch -

Turn off this advice by setting config variable advice.detachedHead to false
```
2021-12-02 11:07:39 -06:00
Bob Lail 31a831ae11 Bypass searching for open Issues when failing to install a formula without a tap
Given a formula with a broken build, if you install it locally with `brew install path/to/formula.rb`, when the build fails, Homebrew will attempt to [search for open issues on the tap](https://github.com/Homebrew/brew/blob/073c4177b5d2f3c869181fb6eaab2bfa33d368ce/Library/Homebrew/exceptions.rb#L489); but in this case `formula.tap` is `nil` and `tap.full_name` would raise a `NoMethodError` yielding this output:

```
$ brew install ./erg.rb
Error: Failed to load cask: ./erg.rb
Cask 'erg' is unreadable: wrong constant name #<Class:0x00007fd89b246cd0>
Warning: Treating ./erg.rb as a formula.
==> Downloading https://github.com/square/erg/archive/v1.1.1.tar.gz
Already downloaded: /Users/lail/Library/Caches/Homebrew/downloads/54e3fce84302901d76d50b53aa7fe760cfcf81c9842a232d6b29e771de6ec9c5--erg-1.1.1.tar.gz
Warning: Cannot verify integrity of '54e3fce84302901d76d50b53aa7fe760cfcf81c9842a232d6b29e771de6ec9c5--erg-1.1.1.tar.gz'.
No checksum was provided for this resource.
For your reference, the checksum is:
  sha256 "8dbcff3dfd67b8f6e8f2dfd4f57cf818ce0cd6ce4b52566611e698fc8778507f"
==> go get github.com/square/erg
Last 15 lines from /Users/lail/Library/Logs/Homebrew/erg/01.go:
2021-12-02 16:45:31 +0000

go
get
github.com/square/erg

go: downloading github.com/square/erg v1.2.1
go: downloading vbom.ml/util v0.0.3
go: downloading vbom.ml/util/sortorder v1.0.2
go: downloading github.com/square/grange v0.0.0-20201015231752-48d66acdd125
go: downloading github.com/deckarep/golang-set v0.0.0-20170202203032-fc8930a5e645
go: downloading github.com/fvbommel/sortorder v1.0.1
go: downloading github.com/orcaman/concurrent-map v0.0.0-20160823150647-8bf1e9bacbf6
github.com/square/erg imports
	vbom.ml/util/sortorder: cannot find module providing package vbom.ml/util/sortorder

Do not report this issue to Homebrew/brew or Homebrew/core!

/usr/local/Homebrew/Library/Homebrew/utils/github.rb:64:in `issues_for_formula': undefined method `full_name' for nil:NilClass (NoMethodError)
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:489:in `fetch_issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:485:in `issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:539:in `dump'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:155:in `rescue in <main>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:143:in `<main>'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2306:in `block in system': Failed executing: go get github.com/square/erg (BuildError)
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2242:in `open'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2242:in `system'
	from /Users/lail/Code/homebrew-formulas/erg.rb:13:in `install'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:172:in `block (3 levels) in install'
	from /usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:134:in `block (2 levels) in install'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:1297:in `block in brew'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2472:in `block (2 levels) in stage'
	from /usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2471:in `block in stage'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:126:in `block (2 levels) in unpack'
	from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in `chdir'
	from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in `chdir'
	from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:102:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:122:in `block in unpack'
	from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `block in run'
	from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
	from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `run'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:208:in `mktemp'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:121:in `unpack'
	from /usr/local/Homebrew/Library/Homebrew/resource.rb:96:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/lib/ruby/2.6.0/forwardable.rb:230:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:2451:in `stage'
	from /usr/local/Homebrew/Library/Homebrew/formula.rb:1290:in `brew'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:129:in `block in install'
	from /usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:124:in `install'
	from /usr/local/Homebrew/Library/Homebrew/build.rb:224:in `<main>'
```
2021-12-02 10:56:44 -06:00
Bo Anderson c6ca375d5a utils/ruby.sh: fix error with older Bash
Fixes #12472.
2021-12-02 02:14:11 +00:00
Bo AndersonandGitHub 6e116ffbf3 Merge pull request #12484 from Bo98/core-versioned-dependent-check
upgrade: skip dependent check on core versioned formulae
2021-12-02 02:09:18 +00:00
BrewTestBot c31a9d0c45 Update RBI files for sorbet. 2021-12-01 18:10:57 +00:00
BrewTestBot e728772e19 brew vendor-gems: commit updates. 2021-12-01 18:06:17 +00:00
dependabot[bot]andGitHub a9fadfe0e7 build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9368 to 0.5.9396.
- [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-12-01 18:03:10 +00:00
Mike McQuaidandGitHub d7e6f197d7 Merge pull request #12498 from Homebrew/dependabot/bundler/Library/Homebrew/rbi-0.0.9
build(deps): bump rbi from 0.0.8 to 0.0.9 in /Library/Homebrew
2021-12-01 10:34:23 +00:00
Julian PawlowskiandGitHub 29f08603bf Add support for PowerShell-preview package 2021-12-01 09:55:33 +01:00
BrewTestBot aa9e2e529a Update RBI files for yard. 2021-11-30 18:16:47 +00:00
BrewTestBot 574e4e5972 Update RBI files for rbi. 2021-11-30 18:14:41 +00:00
BrewTestBot fa918bb341 brew vendor-gems: commit updates. 2021-11-30 18:10:50 +00:00
BrewTestBot bbeaf067c8 brew vendor-gems: commit updates. 2021-11-30 18:09:42 +00:00
dependabot[bot]andGitHub 764b3945ca build(deps): bump yard from 0.9.26 to 0.9.27 in /Library/Homebrew
Bumps [yard](https://github.com/lsegal/yard) from 0.9.26 to 0.9.27.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.26...v0.9.27)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 18:06:36 +00:00
dependabot[bot]andGitHub 442846dbda build(deps): bump rbi from 0.0.8 to 0.0.9 in /Library/Homebrew
Bumps [rbi](https://github.com/Shopify/rbi) from 0.0.8 to 0.0.9.
- [Release notes](https://github.com/Shopify/rbi/releases)
- [Commits](https://github.com/Shopify/rbi/compare/v0.0.8...v0.0.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 18:06:24 +00:00
Mike McQuaidandGitHub fa4f239cd6 Merge pull request #12496 from dduugg/yard-tag-cleanup
Remove unknown YARD tags
2021-11-30 17:25:00 +00:00
Carlo Cabrera ea72daf7bb upgrade: fix undefined method error
Fixes Homebrew/discussions#2567.
2021-12-01 00:42:06 +08:00
Douglas Eichelberger 65f1766497 Remove unknown YARD tags 2021-11-30 08:01:20 -08:00
Sean MolenaarandGitHub a285ef6eac Merge pull request #12462 from SMillerDev/feature/service/cron
service: add basic cron support
2021-11-30 14:55:08 +01:00
Sean Molenaar 302975829d service: add basic cron support 2021-11-30 14:29:22 +01:00
Carlo CabreraandGitHub 8f858331f8 Merge pull request #12493 from carlocab/pyoxidizer
rubocops/lines: disallow `pyoxidizer` as a build/runtime dependency
2021-11-30 21:10:35 +08:00
Mike McQuaidandGitHub dfd50a9d8d Merge pull request #12491 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.0.3.1
build(deps): bump parser from 3.0.3.0 to 3.0.3.1 in /Library/Homebrew
2021-11-30 13:03:46 +00:00
Mike McQuaidandGitHub 13314ca3eb Merge pull request #12494 from jpawlowski/patch-1
Add shellenv template for PowerShell
2021-11-30 13:01:52 +00:00
Sean Molenaar 4cb8afeeef service: add timer support for systemd 2021-11-30 11:05:11 +01:00
Julian PawlowskiandGitHub cec3f2190a Add shellenv template for PowerShell 2021-11-30 10:47:56 +01:00
Carlo Cabrera 0f26522fad rubocops/lines: disallow pyoxidizer as a build/runtime dependency
PyOxidizer downloads pre-built versions of Rust and Python, and embeds
this Python into the binaries it produces.

This goes against a number of our packaging policies, so let's make sure
formulae in Homebrew/core don't do this.

See Homebrew/homebrew-core#90025.
2021-11-30 17:36:26 +08:00
Carlo CabreraandGitHub 2c6b979f65 Merge pull request #12487 from carlocab/no-upgrade-source-builds
upgrade: don't upgrade unbottled dependents of upgraded formulae
2021-11-30 08:04:30 +08:00
BrewTestBot df0258b9f8 Update RBI files for parser. 2021-11-29 18:13:05 +00:00
BrewTestBot d3d05f47ff brew vendor-gems: commit updates. 2021-11-29 18:08:41 +00:00
dependabot[bot]andGitHub 214a0ae2de build(deps): bump parser from 3.0.3.0 to 3.0.3.1 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.0.3.0 to 3.0.3.1.
- [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.3.0...v3.0.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 18:04:24 +00:00
b30d821a9c Tweak warning message wording
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-11-29 20:42:41 +08:00
EricFromCanada ed3042c37a livecheck: use brewed curl if called for by download URL 2021-11-28 12:57:24 -05:00
Carlo Cabrera 1ffbcc04d4 rubocops/lines: allow OS.foo? in service blocks
These seem more natural, and I don't think we need to be able to mock
service blocks on other OSs.

See Homebrew/homebrew-core#90091.
2021-11-28 21:47:21 +08:00
Carlo Cabrera 4b36a0eee5 upgrade: don't upgrade unbottled dependents of upgraded formulae
We upgrade dependents of upgraded formulae to make sure that an upgrade
doesn't break anything. However, this reasoning applies only when a
dependent is bottled, since attempting a source build is just as likely
to break things, if not more.

I've opted not to restrict this to, say, users only on outdated versions
of macOS in order to cleanly handle other cases where this change should
also apply: Linux, or current versions of macOS in a non-default prefix.
2021-11-27 15:51:57 +08:00
Bo AndersonandGitHub 4c3f325347 Merge pull request #12482 from Bo98/zero_ar_date
ENV/super: enable deterministic archive generation
2021-11-26 23:37:43 +00:00
BrewTestBot 01cb606410 Update RBI files for tapioca. 2021-11-26 18:14:13 +00:00
BrewTestBot 18d3070d92 brew vendor-gems: commit updates. 2021-11-26 18:09:57 +00:00
dependabot[bot]andGitHub 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 McQuaidandGitHub e119bdc571 Merge pull request #12477 from MikeMcQuaid/env_hints
Output environment variable hints.
2021-11-26 13:46:27 +00:00