28144 Commits

Author SHA1 Message Date
Mike McQuaid
0b4c0350c2
Merge pull request #15201 from hyuraku/remove_cask/cmd/audit
remove `cask/cmd/audit`
2023-04-19 10:01:06 +01:00
Nanda H Krishna
bdc55b443c
Merge pull request #15262 from Homebrew/dependabot/bundler/Library/Homebrew/mechanize-2.9.1
build(deps): bump mechanize from 2.9.0 to 2.9.1 in /Library/Homebrew
2023-04-18 23:58:16 -04:00
Razvan Azamfirei
3d5c4aaf50
add check that hash is a string 2023-04-18 23:14:48 -04:00
Razvan Azamfirei
063324a116
fix bump-cask-pr handling of sha256 :no_check 2023-04-18 19:49:02 -04:00
Vítor Galvão
4437b95397
Cask audit: check binary signature and notarisation 2023-04-18 19:26:14 +01:00
BrewTestBot
52f222d9a4
Update RBI files for mechanize.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-18 18:21:29 +00:00
BrewTestBot
7b626d2005
Update RBI files for rubocop-rspec.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-18 18:18:39 +00:00
BrewTestBot
8144b28108
Update RBI files for parallel.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-18 18:17:54 +00:00
BrewTestBot
cf61696f41
brew vendor-gems: commit updates. 2023-04-18 18:13:47 +00:00
BrewTestBot
7058d2e1d6
brew vendor-gems: commit updates. 2023-04-18 18:13:00 +00:00
BrewTestBot
74b68f731d
brew vendor-gems: commit updates. 2023-04-18 18:12:02 +00:00
dependabot[bot]
61e895d73e
build(deps): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.19.0...v2.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 18:08:42 +00:00
dependabot[bot]
04cdbbcdc1
build(deps): bump mechanize from 2.9.0 to 2.9.1 in /Library/Homebrew
Bumps [mechanize](https://github.com/sparklemotion/mechanize) from 2.9.0 to 2.9.1.
- [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.9.0...v2.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 18:08:11 +00:00
dependabot[bot]
ebe02a160c
build(deps): bump parallel from 1.22.1 to 1.23.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.22.1 to 1.23.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.22.1...v1.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 18:08:00 +00:00
Mike McQuaid
22fb173e39
Merge pull request #15258 from Bo98/download_strategy-escape-fix
download_strategy: fix bad unescaping in basename parsing
2023-04-18 15:05:15 +01:00
Douglas Eichelberger
d7d8f2cacb Revert language mixins back to module_function 2023-04-18 06:17:22 -07:00
Bo Anderson
6cf18e3810
download_strategy: fix bad unescaping in basename parsing 2023-04-18 13:42:34 +01:00
Mike McQuaid
4ef6a2c21e
Merge pull request #15256 from dduugg/rm-yaml-require
Remove yaml require for 5% init speedup
2023-04-18 08:46:45 +01:00
Mike McQuaid
434f897717
Merge pull request #15255 from reitermarkus/open3-tty-width
Pass TTY width to `Open3`.
2023-04-18 08:43:53 +01:00
Mike McQuaid
71e333f3c8
Merge pull request #15250 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.19.1
build(deps): bump rubocop-rails from 2.19.0 to 2.19.1 in /Library/Homebrew
2023-04-18 08:42:22 +01:00
Douglas Eichelberger
6879dcad13 Remove stringio require too 2023-04-17 19:06:30 -07:00
Douglas Eichelberger
e2fed0202a Remove yaml require for 5% speedup 2023-04-17 15:12:37 -07:00
Markus Reiter
c480adad4f
Pass TTY width to Open3. 2023-04-17 23:30:25 +02:00
BrewTestBot
3442b85139
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-17 19:15:41 +00:00
BrewTestBot
999867ea6c
Update RBI files for rubocop-rails.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-04-17 19:14:33 +00:00
BrewTestBot
ed47b6c3fa
brew vendor-gems: commit updates. 2023-04-17 19:08:46 +00:00
BrewTestBot
57026ce6e5
brew vendor-gems: commit updates. 2023-04-17 19:07:09 +00:00
dependabot[bot]
0ca62aa85a
build(deps): bump rubocop from 1.50.1 to 1.50.2 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.50.1 to 1.50.2.
- [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.50.1...v1.50.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 19:04:25 +00:00
dependabot[bot]
932fe90d9c
build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.19.0...v2.19.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 19:02:34 +00:00
Douglas Eichelberger
df5c5842cc Fix tests 2023-04-17 11:30:12 -07:00
Douglas Eichelberger
95bea08a3b Fix visibility modifiers 2023-04-17 11:10:40 -07:00
Douglas Eichelberger
7fdd75ad41 brew style --fix 2023-04-17 11:00:55 -07:00
Douglas Eichelberger
09c679e75f Refactor module_function to reduce rbi need 2023-04-17 10:37:59 -07:00
Ruoyu Zhong
a196d33482
github_packages: fix bottle manifest schema violation
According to [^1] [^2], image manifest annotations need to be a
string-string map.

This should fix the errors seen in Homebrew/homebrew-core#128517,
Homebrew/homebrew-core#128558, et al.

[^1]: 2879913ce4/schema/image-manifest-schema.json (L35)
[^2]: 2879913ce4/schema/defs-descriptor.json (L22)
2023-04-17 23:17:20 +08:00
Razvan Azamfirei
a2b80e4ec2
fix origin_branch_name 2023-04-17 09:57:06 -04:00
Douglas Eichelberger
6f813eba13 Fix 'undefined method git_default_origin_branch?' 2023-04-17 06:32:15 -07:00
Mike McQuaid
775cddf6d9
Merge pull request #15032 from dduugg/rm-git-extend
Refactor GitRepositoryExtension to avoid monkey-patching
2023-04-17 12:21:11 +01:00
Mike McQuaid
7b32e6e9af
Merge pull request #15241 from colindean/add-size-to-ghp-manifest
Add bottle file size to GHP manifest annotations
2023-04-17 12:17:53 +01:00
Colin Dean
2787eead89 Add bottle file size to GHP manifest annotations
This will reduce the number of requests necessary to ascertain the size
of formulas' bottle archives for analysis purposes.

Currently, getting the size of each bottle requires 1 request for the
formula.json and followed by N requests per formula-version, which
for most formulae is 7— more than 47k requests!

After this change, size retrieval can ascertain all bottle sizes for a
formula-version in a single request, at the cost of one additional
request per formula-version if that formula-version has not been
rebuilt since this change was introduced.

To start, size retrieval will incur an additional P requests where
P is the number of packages. Over the next few weeks and months,
the retrieval will go a lot faster as all new and updated packages will
require only one request.
2023-04-16 21:32:47 +00:00
apainintheneck
1322b9cb79 cask: remove os_versions
This was originally used by the API but was replaced months
ago by SimulateSystem. Essentially, it's only current use
was in the #to_h method but is not used internally at all
when creating cask instances from the API JSON.
2023-04-16 13:52:24 -07:00
Douglas Eichelberger
403f08db8b Remove delegation 2023-04-16 09:30:21 -07:00
Mike McQuaid
d84aeb955a
Merge pull request #15238 from issyl0/rm-useless-test
Delete a Cask RuboCop test for an edge case that is not fixed
2023-04-16 10:55:58 +01:00
Kevin
db40abd5ce
Merge pull request #15231 from reitermarkus/shell-profile
Don't use deprecated `Kernel#shell_profile`.
2023-04-16 00:07:20 -07:00
JBYoshi
2e85f2beb2
Merge remote-tracking branch 'origin/master' into cask-move-contents 2023-04-15 21:37:56 -05:00
Douglas Eichelberger
b90897e280 Create git_repo attr 2023-04-15 19:35:13 -07:00
Douglas Eichelberger
a6fbf5f1ac brew style --fix 2023-04-15 19:35:13 -07:00
Douglas Eichelberger
1ffb77f821 cleanup 2023-04-15 19:35:13 -07:00
Douglas Eichelberger
8307255ce8 Update call sites 2023-04-15 19:35:13 -07:00
Douglas Eichelberger
3d1232eeac rename methods 2023-04-15 19:35:13 -07:00
Douglas Eichelberger
429f23dcc6 Create GitRepoPath 2023-04-15 19:35:12 -07:00