Douglas Eichelberger
7f4250241f
Fixd type error in 'brew audit'
2023-02-24 16:20:51 -08:00
Bo Anderson
e86a8c2477
Move HOMEBREW_NO_INSTALL_FROM_API
defaults to shell
2023-02-24 21:53:08 +00:00
BrewTestBot
7690a50b2d
Update RBI files for concurrent-ruby.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-02-24 19:06:33 +00:00
BrewTestBot
e7980e9fb5
brew vendor-gems: commit updates.
2023-02-24 19:00:52 +00:00
dependabot[bot]
ddb4229df3
build(deps): bump concurrent-ruby in /Library/Homebrew
...
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases )
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.2.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: concurrent-ruby
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 18:57:22 +00:00
Bo Anderson
ba8fd26755
Merge pull request #14803 from Bo98/cask-nil-url
...
cask: handle nil URLs
2023-02-24 18:21:41 +00:00
Bo Anderson
09dbe9f86e
readall: reject casks with no URL
2023-02-24 18:07:19 +00:00
Bo Anderson
c416e4bbee
cask: handle nil URLs
2023-02-24 18:04:18 +00:00
Mike McQuaid
9fd50a9ab0
Merge pull request #14785 from samford/livecheck/add-json-strategy
...
livecheck: Add `Json` strategy
2023-02-24 18:02:40 +00:00
Bo Anderson
51e0c685f8
Merge pull request #14801 from Bo98/generate-errors
...
generate-*-api: better errors
2023-02-24 17:15:32 +00:00
Mike McQuaid
f284c662de
Merge pull request #14800 from MikeMcQuaid/cleanup_formula_cask_json
...
Fix references to `formula.json` and `cask.json`
2023-02-24 17:00:37 +00:00
Bo Anderson
1dd3d5cc03
generate-*-api: better errors
2023-02-24 16:57:20 +00:00
Mike McQuaid
e9536cbcb7
Merge pull request #14786 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.46.0
...
build(deps): bump rubocop from 1.45.1 to 1.46.0 in /Library/Homebrew
2023-02-24 16:55:57 +00:00
Mike McQuaid
c209c0403d
Fix references to formula.json
and cask.json
...
These would be stranded after `formula.jws.json`.
2023-02-24 16:46:15 +00:00
Douglas Eichelberger
8a01478fb1
Remove stray rubocop:enable comments
2023-02-24 08:26:22 -08:00
Mike McQuaid
1c25ddb86a
Merge pull request #14797 from MikeMcQuaid/cask_github_api
...
cmd/info: handle casks with API.
2023-02-24 16:01:14 +00:00
Mike McQuaid
a72573a6bc
Merge pull request #14507 from maxim-belkin/cache-doctor-checks
...
Bash completions: cache names of 'doctor' checks
2023-02-24 15:47:17 +00:00
Mike McQuaid
4ef8632687
cmd/info: handle casks with API.
...
Fall back to default location.
2023-02-24 15:44:53 +00:00
Maxim Belkin
5382774848
Update Bash completion tests
2023-02-24 15:23:13 +00:00
Mike McQuaid
3573cf074f
Merge pull request #14795 from Bo98/cask-api-url_specs
...
cask: support url specs in API
2023-02-24 15:07:20 +00:00
Mike McQuaid
64f453ee4e
Merge pull request #14793 from Bo98/audit-api
...
Scope `HOMEBREW_NO_INSTALL_FROM_API` to core formulae in `brew audit`
2023-02-24 14:39:20 +00:00
Bo Anderson
aebc125e9c
cask: support url specs in API
2023-02-24 13:56:46 +00:00
Mike McQuaid
e95ce6967a
brew style --fix
2023-02-24 13:50:07 +00:00
Bo Anderson
559bec95bc
Scope HOMEBREW_NO_INSTALL_FROM_API
to core formulae in brew audit
2023-02-24 13:33:46 +00:00
Mike McQuaid
041545db2c
Merge pull request #14735 from reitermarkus/revert-14729-revert-14711-extract-permissions
...
Revert "Revert "Fix permissions before moving extracted files.""
2023-02-24 12:59:59 +00:00
Mike McQuaid
aeda0c473f
Merge pull request #14792 from Bo98/cask-contents-checksum
...
cask_loader: fix missing checksum in FromContentsLoader
2023-02-24 12:55:11 +00:00
Mike McQuaid
bb4d518c0b
Merge pull request #14783 from MikeMcQuaid/official_tap_formula_cask_subdirs
...
Support loading formulae/casks from subdirectories
2023-02-24 12:47:46 +00:00
Bo Anderson
09eb7b3dcb
cask_loader: fix missing checksum in FromContentsLoader
2023-02-24 12:09:34 +00:00
Markus Reiter
7a2aa85225
Only make directories writable when extracting.
2023-02-24 12:28:05 +01:00
Markus Reiter
ebfc3996fd
Allow “which” as context prefix.
2023-02-24 12:28:05 +01:00
Markus Reiter
fa2d917dec
Add test for extracting unwritable files.
2023-02-24 12:28:05 +01:00
Markus Reiter
347bc4535f
Fix permissions for extracted files.
2023-02-24 12:28:04 +01:00
Mike McQuaid
f280ce069b
Support loading formulae/casks from subdirectories
...
Previously, we required all formulae and casks to be in a specific
formula or cask directory but did not check any subdirectories.
This commit allows using subdirectories for official taps, the only
ones likely to be big enough to warrant sharding in this way and to
avoid potentially breaking backwards compatibility for existing taps.
This was inspired by the most recent issues with homebrew-cask.
2023-02-24 10:57:41 +00:00
Mike McQuaid
2d31f80f5c
Merge pull request #14773 from reitermarkus/extract-signatures
...
Add signatures for extraction functions.
2023-02-24 09:50:46 +00:00
Mike McQuaid
d5ae257efe
Merge pull request #14790 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2023-02-24 08:29:36 +00:00
Maxim Belkin
d3da5a340d
Bash completions: cache names of 'doctor' checks
2023-02-23 18:36:51 -07:00
BrewTestBot
ff43853c8f
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2023-02-24 00:29:35 +00:00
Issy Long
8d4bdbafc4
dev-cmd/contributions: CSV output of totals per maintainer
...
- Turns out in my head a few days ago I was overcomplicating this. I had a
brainwave while in the shower.
- Some refactoring so that we call `totals` to sum up the hash of hashes less,
since the grand total numbers are now used in multiple places.
2023-02-23 23:35:45 +00:00
DenizUgur
46aefe776f
fix tests
2023-02-23 11:08:39 -08:00
DenizUgur
026709962d
update tests
2023-02-23 11:02:20 -08:00
Sam Ford
a0a366e22d
PageMatch: Tweak documentation comments
2023-02-23 13:41:56 -05:00
BrewTestBot
40f286fc42
Update RBI files for rubocop.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2023-02-23 18:26:08 +00:00
BrewTestBot
30a64593f6
brew vendor-gems: commit updates.
2023-02-23 18:18:18 +00:00
Sam Ford
7735036c56
livecheck: Add Json strategy
...
This adds a generic `Json` strategy to livecheck that requires a
`strategy` block to operate. This is primarily intended as a
replacement for existing `strategy` blocks in formulae/casks that
use `JSON#parse`, as it allows us to internalize/standardize that
boilerplate while improving error-handling.
Additionally, future strategies that parse JSON data can use the
`Json#find_versions` method instead of having to reinvent the wheel
(similar to how we currently have a number of strategies that
leverage `PageMatch#find_versions`).
2023-02-23 13:17:35 -05:00
DenizUgur
f4ed502350
run_at_load set to true by default
2023-02-23 10:15:06 -08:00
dependabot[bot]
e91b60ef68
build(deps): bump rubocop from 1.45.1 to 1.46.0 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.45.1 to 1.46.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.45.1...v1.46.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 18:14:31 +00:00
Mike McQuaid
d7029e95cd
Merge pull request #14769 from dduugg/enable-types
...
Enable typing in Cask::Artifact
2023-02-23 18:02:44 +00:00
Mike McQuaid
7d7e494bc2
Merge pull request #14784 from MikeMcQuaid/super_sdk_nil
...
os/mac/extend/ENV/super: handle nil sdk.
2023-02-23 16:10:05 +00:00
Mike McQuaid
b3db997e7b
os/mac/extend/ENV/super: handle nil sdk.
...
I'm aware this is not meant to happen but: sometimes it does and the
lack of handling produces a subpar error.
2023-02-23 15:31:04 +00:00
Mike McQuaid
68859ae256
Merge pull request #14782 from MikeMcQuaid/running_as_root_but_not_owned_by_root
...
api: don't download files as root when Homebrew's not owned by root.
2023-02-23 13:34:15 +00:00