27429 Commits

Author SHA1 Message Date
Mike McQuaid
69ef011985
Merge pull request #14221 from MikeMcQuaid/api_formula_handle_corruption
api/formula: handle JSON file corruption.
2022-12-08 10:06:50 +00:00
Mike McQuaid
639cb25c60
description*: fix argument handling of eval_all.
Fixes #14231.
2022-12-08 09:57:12 +00:00
Mike McQuaid
aa7e1304fb
Merge pull request #14229 from Homebrew/dependabot/bundler/Library/Homebrew/nokogiri-1.13.10
build(deps): bump nokogiri from 1.13.9 to 1.13.10 in /Library/Homebrew
2022-12-08 09:50:43 +00:00
Mike McQuaid
b8c4326aa8
Merge pull request #14223 from MikeMcQuaid/brew_install_output_fetches
formula_installer: output fetching headers.
2022-12-08 09:42:08 +00:00
Mike McQuaid
e67901f236
api/formula: handle JSON file corruption.
If we can't parse the file: it's corrupt. Try again up to 3 times before
bailing.
2022-12-08 09:34:05 +00:00
BrewTestBot
21500ece76
Update RBI files for nokogiri.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-08 04:31:38 +00:00
BrewTestBot
0de580d9e9
brew vendor-gems: commit updates. 2022-12-08 04:26:55 +00:00
dependabot[bot]
f978056e2c
build(deps): bump nokogiri from 1.13.9 to 1.13.10 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.9...v1.13.10)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 04:23:06 +00:00
BrewTestBot
6989e3681e
Update RBI files for public_suffix.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-07 18:11:01 +00:00
BrewTestBot
67c4992d09
brew vendor-gems: commit updates. 2022-12-07 18:05:16 +00:00
dependabot[bot]
7a582fde6b
build(deps): bump public_suffix from 5.0.0 to 5.0.1 in /Library/Homebrew
Bumps [public_suffix](https://github.com/weppos/publicsuffix-ruby) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/weppos/publicsuffix-ruby/releases)
- [Changelog](https://github.com/weppos/publicsuffix-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/weppos/publicsuffix-ruby/compare/v5.0.0...v5.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 18:01:09 +00:00
Mike McQuaid
781ffdab8e
Merge pull request #14225 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2022-12-07 15:25:22 +00:00
Kevin
fd8aaa49fd
Merge pull request #14207 from apainintheneck/cleanup-brew-prof
Cleanup `brew prof`
2022-12-06 19:07:17 -08:00
BrewTestBot
04f61a940e
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-12-07 00:27:14 +00:00
Eric Knibbe
4fe0d085bc
Merge pull request #14218 from EricFromCanada/create-prompt-name
dev-cmd/create: also prompt for name when run with `--cask`
2022-12-06 19:06:05 -05:00
Dawid Dziurla
a4d2aa8fa0
Merge pull request #14210 from dawidd6/bump-check-is-a-version
dev-cmd/bump: check if Repology output is a version first
2022-12-06 21:24:56 +01:00
EricFromCanada
8f445de261
dev-cmd/create: also prompt for name with --cask 2022-12-06 13:04:51 -05:00
Mike McQuaid
7ecc079cc2
Merge pull request #14222 from MikeMcQuaid/brew_desc_eval_all_formula_search_fix
cmd/desc: fix searching.
2022-12-06 14:26:43 +00:00
Mike McQuaid
5e7c19c8cb
formula_installer: output fetching headers.
This outputs headers for fetching to be consistent with those for
installation.
2022-12-06 14:09:49 +00:00
Mike McQuaid
28719f7fdc
cmd/desc: fix searching.
Ensure that the cache store is populated if we pass `--eval-all`.
2022-12-06 13:56:54 +00:00
Sean Molenaar
855a2b8096
Merge pull request #14209 from SMillerDev/feature/caveats/respect_require_root
caveats: print sudo in caveats if service requires it
2022-12-06 13:06:03 +01:00
Mike McQuaid
3070fd7fef
Merge pull request #14206 from apainintheneck/make-formula-default-on-linux
Make :formula? the default on Linux
2022-12-06 11:29:16 +00:00
Mike McQuaid
f656f816bf
Merge pull request #14219 from bevanjkay/cask-audit-enable-signing-flag
dev-cmd/audit: enable --[no-]signing flag for audits
2022-12-06 10:20:48 +00:00
Bevan Kay
74092bc40d
Update Library/Homebrew/dev-cmd/audit.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-12-06 20:50:00 +11:00
BrewTestBot
674f8dbd56
Update RBI files for racc.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-06 09:46:02 +00:00
BrewTestBot
1d1b325693
brew vendor-gems: commit updates. 2022-12-06 09:40:23 +00:00
dependabot[bot]
65b3ee647f
build(deps): bump racc from 1.6.0 to 1.6.1 in /Library/Homebrew
Bumps [racc](https://github.com/tenderlove/racc) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/tenderlove/racc/releases)
- [Changelog](https://github.com/ruby/racc/blob/master/ChangeLog)
- [Commits](https://github.com/tenderlove/racc/compare/v1.6.0...v1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 09:36:12 +00:00
Mike McQuaid
31538f3dd4
Merge pull request #14214 from Homebrew/dependabot/bundler/Library/Homebrew/json-2.6.3
build(deps): bump json from 2.6.2 to 2.6.3 in /Library/Homebrew
2022-12-06 09:35:29 +00:00
Mike McQuaid
0300c4aefa
Merge pull request #14213 from Homebrew/dependabot/bundler/Library/Homebrew/rack-3.0.2
build(deps): bump rack from 3.0.1 to 3.0.2 in /Library/Homebrew
2022-12-06 09:30:17 +00:00
Mike McQuaid
3a89d0cd51
Merge pull request #14216 from Homebrew/dependabot/bundler/Library/Homebrew/did_you_mean-1.6.2
build(deps): bump did_you_mean from 1.6.1 to 1.6.2 in /Library/Homebrew
2022-12-06 09:30:05 +00:00
Sam Ford
e56735a171
ElectronBuilder: Allow Date/Time deserialization
The `ElectronBuilder` strategy uses `YAML#safe_load` to parse YAML
content and this limits deserialization to appropriate classes. We
recently encountered a `Tried to load unspecified class: Time` error
when using the `ElectronBuilder` strategy on a `latest-mac.yml` file
containing `releaseDate: 2022-12-01T02:02:46.419Z`.

The electron-builder YAML files we usually encounter use single
quotes around the `releaseDate` value to ensure it's treated as a
string (e.g., `releaseDate: '2022-10-12T17:55:26.718Z'`) and this is
what we do in `electron_builder_spec.rb`. The aforementioned YAML
file doesn't use single quotes around the value, so it's treated as
a timestamp and apparently this makes Psych use `Time` (which
`#safe_load` doesn't allow by default).

Seeing as we can't control the YAML content and there's a chance we
may encounter other files like this in the future, this commit
modifies the related `#safe_load` call to allow `Time` (and `Date`
for good measure). This will resolve the aforementioned error and
allow the `ElectronBuilder` strategy to work as expected in this
scenario.
2022-12-05 21:45:18 -05:00
Bevan Kay
839746cf99
dev-cmd/audit: enable --[no]-signing flag for audits 2022-12-06 11:00:59 +11:00
BrewTestBot
d14e5e0899
Update RBI files for rack.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-05 18:13:52 +00:00
BrewTestBot
66a7a230b2
Update RBI files for json.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
2022-12-05 18:11:59 +00:00
BrewTestBot
2f74401433
brew vendor-gems: commit updates. 2022-12-05 18:09:00 +00:00
BrewTestBot
a63ab9372a
brew vendor-gems: commit updates. 2022-12-05 18:07:03 +00:00
BrewTestBot
de47bb678a
brew vendor-gems: commit updates. 2022-12-05 18:06:34 +00:00
dependabot[bot]
9bc0891f49
build(deps): bump did_you_mean from 1.6.1 to 1.6.2 in /Library/Homebrew
Bumps [did_you_mean](https://github.com/ruby/did_you_mean) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/ruby/did_you_mean/releases)
- [Changelog](https://github.com/ruby/did_you_mean/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby/did_you_mean/compare/v1.6.1...v1.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 18:02:58 +00:00
dependabot[bot]
464f1eb6b1
build(deps): bump json from 2.6.2 to 2.6.3 in /Library/Homebrew
Bumps [json](https://github.com/flori/json) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md)
- [Commits](https://github.com/flori/json/compare/v2.6.2...v2.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 18:01:32 +00:00
dependabot[bot]
1816bfb46b
build(deps): bump rack from 3.0.1 to 3.0.2 in /Library/Homebrew
Bumps [rack](https://github.com/rack/rack) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.0.1...v3.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 18:01:21 +00:00
Dawid Dziurla
33f5c41cd2
dev-cmd/bump: check if Repology output is a version first 2022-12-05 16:20:35 +01:00
Dawid Dziurla
b8a505d0d8
Merge pull request #14190 from dawidd6/bump-favor-livecheckable
dev-cmd/bump: don't use Repology version if livecheckable
2022-12-05 16:00:56 +01:00
Mike McQuaid
2538223b8b
Merge pull request #14037 from timvisher/timvisher/livecheck/strategy/sparkle/add-macos-to-possible-os-values
livecheck/strategy/sparkle.rb: Add `macos` to the candidate `os` values list
2022-12-05 13:15:23 +00:00
Sean Molenaar
0cd10ed65e
caveats: print sudo in caveats if service requires it 2022-12-05 12:12:51 +01:00
apainintheneck
35500130c4 Update parser tests
- Remove named_args linux specs now that that
  logic has been moved to the parser
2022-12-04 23:02:44 -08:00
Bevan Kay
96574c831f
fix tests 2022-12-05 15:20:45 +11:00
Bevan Kay
836efe621f
cask/artifiact/abstract_uninstall: allow wildcard entries for launchctl 2022-12-05 15:08:23 +11:00
apainintheneck
c8f256b21d Cleanup brew prof
- Add exception in brew.rb require check for ruby-prof
2022-12-04 20:07:31 -08:00
apainintheneck
b7e28ef48f Make :formula? the default on Linux
This makes :formula? the default whenever
defined throughout the codebase on Linux.
It also makes :cask? illegal for all Linux
users.
2022-12-04 19:43:12 -08:00
Bevan Kay
40fd8f7d78
unversioned_cask_checker: check installer artifacts 2022-12-05 14:26:38 +11:00