29841 Commits

Author SHA1 Message Date
Mike McQuaid
120dab2816
Merge pull request #12505 from EricFromCanada/docs-section-1
Docs: updates for section 1, add mdl files
2021-12-03 13:01:08 +00:00
Mike McQuaid
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
EricFromCanada
a237699936
Update Troubleshooting.md 2021-12-02 22:59:01 -05:00
EricFromCanada
b71644e735
Update Shell-Completion.md 2021-12-02 22:59:00 -05:00
EricFromCanada
cb9db80157
Update Installation.md 2021-12-02 22:59:00 -05:00
EricFromCanada
b41ed744c1
Update Homebrew-on-Linux.md 2021-12-02 22:59:00 -05:00
EricFromCanada
02cb1a14cb
Update FAQ.md 2021-12-02 22:59:00 -05:00
EricFromCanada
2e3bc0b4a3
Update Common-Issues.md 2021-12-02 22:58:56 -05:00
EricFromCanada
77efcdf8fb
Add & remove line breaks 2021-12-02 22:58:31 -05:00
EricFromCanada
45bf8b0118
docs: add mdl for Markdown linting
Run with `mdl -c docs/.mdlrc docs/*.md`.
2021-12-02 22:58:31 -05:00
Bo Anderson
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 Anderson
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
Bo Anderson
9424e03d05
Merge pull request #12512 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9408
build(deps-dev): bump sorbet from 0.5.9396 to 0.5.9408 in /Library/Homebrew
2021-12-03 02:29:34 +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]
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]
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
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](073c4177b5/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
Mike McQuaid
073c4177b5
Merge pull request #12504 from Bo98/ruby-branch-fix
utils/ruby.sh: fix error with older Bash
2021-12-02 08:51:21 +00:00
Bo Anderson
c6ca375d5a
utils/ruby.sh: fix error with older Bash
Fixes #12472.
2021-12-02 02:14:11 +00:00
Bo Anderson
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
Bo Anderson
7f393712ed
Merge pull request #12483 from Bo98/versions-abi-stability
docs/Versions: require ABI stability
2021-12-02 02:08:54 +00:00
Bo Anderson
b0a0a0020f
Merge pull request #12501 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9396
build(deps-dev): bump sorbet from 0.5.9368 to 0.5.9396 in /Library/Homebrew
2021-12-01 22:58:41 +00:00
Carlo Cabrera
be908f679d
Merge pull request #12502 from carlocab/bug-template
bug.yml: fix missing `label` property
2021-12-02 04:30:29 +08:00
Carlo Cabrera
4d768e85c2
bug.yml: fix missing label property
Submitting bug reports hasn't worked for a while because of the missing
`label`.

My editor complained about `labels` needing to be an array, so I've made
that one too. It was also complaining about the missing label property
for the checkboxes, so I guess it knows what it's talking about here.
2021-12-02 04:05:37 +08: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]
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 McQuaid
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
Mike McQuaid
2d80356c06
Merge pull request #12499 from Homebrew/dependabot/bundler/Library/Homebrew/yard-0.9.27
build(deps): bump yard from 0.9.26 to 0.9.27 in /Library/Homebrew
2021-12-01 10:34:08 +00:00
Julian Pawlowski
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]
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]
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 McQuaid
fa4f239cd6
Merge pull request #12496 from dduugg/yard-tag-cleanup
Remove unknown YARD tags
2021-11-30 17:25:00 +00:00
Carlo Cabrera
b6d78d0ddf
Merge pull request #12497 from carlocab/bottled-dependent-check
upgrade: fix undefined method error
2021-12-01 01:10:00 +08: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 Molenaar
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 Cabrera
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 McQuaid
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 McQuaid
13314ca3eb
Merge pull request #12494 from jpawlowski/patch-1
Add shellenv template for PowerShell
2021-11-30 13:01:52 +00:00
Sean Molenaar
e482a9f03d
Merge pull request #12460 from SMillerDev/feature/service/interval_systemd
service: add timer support for systemd
2021-11-30 11:25:26 +01:00
Sean Molenaar
4cb8afeeef
service: add timer support for systemd 2021-11-30 11:05:11 +01:00
Julian Pawlowski
cec3f2190a
Add shellenv template for PowerShell 2021-11-30 10:47:56 +01:00