22703 Commits

Author SHA1 Message Date
Carlo Cabrera
a7133d2a8d
cleanup: allow users to specify formulae to skip cleaning
This allows users to set `HOMEBREW_NO_CLEANUP_FORMULAE` to a
comma-separated list of formulae that `brew` will refuse to clean with
`brew cleanup`.

We currently allow a less granular version of this with
`HOMEBREW_NO_INSTALL_CLEANUP`. All this changes is how much control
users have over what is and isn't cleaned.

Fixes #11924.
2021-08-27 18:21:19 +08:00
XuehaiPan
728efbdf2f Show warnings on brew shellenv if users modified env vars explicitly 2021-08-27 15:55:31 +08:00
Rylan Polster
5d536d66fc
Rename HOMEBREW_JSON_CORE to HOMEBREW_INSTALL_FROM_API 2021-08-27 00:24:15 -04:00
Rylan Polster
6da8630f4e
Merge pull request #11926 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.20.0
build(deps): bump rubocop from 1.19.1 to 1.20.0 in /Library/Homebrew
2021-08-27 00:11:24 -04:00
Rylan Polster
8690d661fd
Merge pull request #11859 from Rylan12/cask-json
Allow casks to be installed using the `cask-source` API
2021-08-26 23:58:51 -04:00
Rylan Polster
e08d5f113c
Make Homebrew::API::Versions#latest_cask_version tests macOS-only 2021-08-26 23:35:33 -04:00
Rylan Polster
d04beed361
style: exclude utils/gems.rb from Bundler/GemFilename cop 2021-08-26 23:29:47 -04:00
Rylan Polster
186c839525
Fix tests 2021-08-26 23:21:48 -04:00
Rylan Polster
3ba44225e0
Use updated cask versions API 2021-08-26 22:52:43 -04:00
FnControlOption
794510f4e0 cmd/cache: add --bottle-tag flag 2021-08-26 14:46:30 -07:00
FnControlOption
b9fc4e36f0 fetch: fix --bottle-tag when unbottled on host system 2021-08-26 14:44:53 -07:00
BrewTestBot
c56c7d91ba
Update RBI files for rubocop. 2021-08-26 18:07:57 +00:00
BrewTestBot
91b5351608
brew vendor-gems: commit updates. 2021-08-26 18:05:48 +00:00
BrewTestBot
d0804cb1d6
brew vendor-gems: commit updates. 2021-08-26 18:05:35 +00:00
dependabot[bot]
531ced5145
build(deps): bump rubocop from 1.19.1 to 1.20.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.19.1 to 1.20.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.19.1...v1.20.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-08-26 18:03:24 +00:00
dependabot[bot]
29fe1178d1
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9070 to 0.5.9076.
- [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-08-26 18:03:10 +00:00
Mike McQuaid
37739df38a
Merge pull request #11923 from FnControlOption/cli
cli/parser: allow commands that look like options
2021-08-26 13:18:57 +01:00
Bo Anderson
858f3fbaac
Merge pull request #11921 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9070
build(deps-dev): bump sorbet from 0.5.9064 to 0.5.9070 in /Library/Homebrew
2021-08-25 22:59:09 +01:00
FnControlOption
326321c1fd cli/parser: allow commands that look like options 2021-08-25 14:34:57 -07:00
Bo Anderson
16ad5841af
Merge pull request #11922 from Bo98/sandbox-winch
sandbox: restore old WINCH trap
2021-08-25 22:33:59 +01:00
Rylan Polster
34c5eea3bd
Merge pull request #11915 from Rylan12/cask-hash-os-versions
Add per-os versions to `Cask::Cask#to_h`
2021-08-25 15:46:16 -04:00
Bo Anderson
be41b12e4c
sandbox: restore old WINCH trap 2021-08-25 20:35:11 +01:00
BrewTestBot
9ef8616a16
brew vendor-gems: commit updates. 2021-08-25 18:06:18 +00:00
dependabot[bot]
48c3069ba0
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9064 to 0.5.9070.
- [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-08-25 18:03:25 +00:00
Rylan Polster
c3a8b3841e
Only include differring versions
Move the resetting of `MacOS.version` to an `ensure` block.

Fix the tests by adding a test OS and new fixture that has a
different version for that test OS.
2021-08-25 10:30:38 -04:00
Michael Cho
3d2d7c93e7
audit: gitlab prerelease check keep time/zone 2021-08-24 20:10:01 -07:00
Michael Cho
79cb9e051b
bump-cask-pr: use similar logic to brew fetch 2021-08-24 18:29:03 -07:00
Nanda H Krishna
7d3f073e9d
Merge pull request #11917 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9064
build(deps-dev): bump sorbet from 0.5.9058 to 0.5.9064 in /Library/Homebrew
2021-08-25 00:03:53 +05:30
BrewTestBot
6a35643e63
Update RBI files for rubocop-ast. 2021-08-24 18:09:47 +00:00
BrewTestBot
3c3f993865
brew vendor-gems: commit updates. 2021-08-24 18:07:12 +00:00
BrewTestBot
b219262ad5
brew vendor-gems: commit updates. 2021-08-24 18:06:50 +00:00
dependabot[bot]
7e104ef09f
build(deps): bump rubocop-ast from 1.10.0 to 1.11.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop-hq/rubocop-ast) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-ast/compare/v1.10.0...v1.11.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-08-24 18:03:14 +00:00
dependabot[bot]
9b364fdcb3
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9058 to 0.5.9064.
- [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-08-24 18:03:03 +00:00
Rylan Polster
663cc40139
Add per-os versions to Cask::Cask#to_h 2021-08-24 11:35:19 -04:00
Bo Anderson
d4c691e91e
sandbox: check if stdin/out is associated with a tty 2021-08-24 16:17:39 +01:00
Mike McQuaid
aa04277dc2
sandbox: add comment. 2021-08-24 14:46:00 +01:00
Bo Anderson
0f900edfa2
sandbox: start sandbox in a pseudoterminal 2021-08-24 14:29:17 +01:00
fn ⌃ ⌥
7beed25227
cmd/cache: add --HEAD switch 2021-08-23 20:37:02 -07:00
BrewTestBot
314168c10e
brew vendor-gems: commit updates. 2021-08-23 18:08:28 +00:00
dependabot[bot]
c043686ff7
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9053 to 0.5.9058.
- [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-08-23 18:03:55 +00:00
Mike McQuaid
c9f4d1d900
Merge pull request #11901 from Bo98/srb-5067
dev-cmd/typecheck: stop suppressing error 5067
2021-08-23 14:48:26 +01:00
Mike McQuaid
6f21758b2a
Merge pull request #11667 from bevanjkay/livecheck-extractplist-qlplugins
unversioned_cask_checker: check for versions in qlplugins
2021-08-23 14:45:51 +01:00
Rui Chen
4474818d07 create(go): add -s -w ldflags to reduce the artifact size
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-08-22 14:30:26 -04:00
Bo Anderson
856ad5738b
dev-cmd/typecheck: stop suppressing error 5067
The problem with it was solved in Sorbet 0.5.9051.
2021-08-22 16:24:01 +01:00
Michka Popoff
d14fc2db12
Merge pull request #11896 from iMichka/homepage
formula_auditor: use brewed curl for homepage check when needed
2021-08-21 18:37:36 +02:00
BrewTestBot
70318c451a
Update RBI files for sorbet. 2021-08-20 18:10:47 +00:00
BrewTestBot
d3dbf826b5
brew vendor-gems: commit updates. 2021-08-20 18:08:09 +00:00
dependabot[bot]
5328922d39
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.9048 to 0.5.9053.
- [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-08-20 18:04:10 +00:00
Michka Popoff
bbfa52fcaa
formula_auditor: use brewed curl for homepage check when needed
If the download url is using brewed curl, use that too for the homepage check.
Ideally one would introduce the "using: :homebrew_curl" stanza for the homepage
line in the DSL, but it is easier to implicitely use the same logic
for homepages and url's and define the "using:" only once.
2021-08-20 10:14:50 +02:00
Rylan Polster
05fa1f0cb8
tap_auditor: use short names when checking exception lists 2021-08-20 02:36:14 -04:00