34115 Commits

Author SHA1 Message Date
Mike McQuaid
17f19a85fe
Merge pull request #14637 from Bo98/api-git-clone 2023-02-15 07:25:46 +00:00
Mike McQuaid
56adf8cd3d
Merge pull request #14635 from Bo98/api-analytics 2023-02-15 07:21:16 +00:00
Bo Anderson
efc5088f85
formulary: fix git clone handling for API formulae 2023-02-15 05:31:23 +00:00
Bo Anderson
7ef0c48362
Fix analytics handling when core/cask taps are untapped 2023-02-15 05:31:08 +00:00
Bo Anderson
f2c9db2626
Merge pull request #14638 from Bo98/ci-fix
test/cask/cask_spec: fix test
2023-02-15 05:26:59 +00:00
Bo Anderson
6e1b9ddb49
test/cask/cask_spec: fix test 2023-02-15 04:59:07 +00:00
Bo Anderson
724e3e646a
Merge pull request #14622 from Bo98/prefix.sh-api
prefix.sh: support API mode
2023-02-15 02:34:27 +00:00
Bo Anderson
0cfa7bddef
Merge pull request #14631 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-02-15 02:33:05 +00:00
BrewTestBot
7af0425793
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-02-15 00:30:37 +00:00
Mike McQuaid
c87090e1a0
Merge pull request #14627 from MikeMcQuaid/master
cask/cask: fix non-absolute home error.
2023-02-14 17:43:14 +00:00
Mike McQuaid
1d61b219db
cask/cask: fix non-absolute home error.
Needs a leading slash to avoid `File.expand.path` complaining about non-absolute home.
2023-02-14 17:22:18 +00:00
Mike McQuaid
98f5213954
Merge pull request #14615 from MikeMcQuaid/generating_hash_appdir
Overhaul Formula/Cask JSON generation
2023-02-14 15:02:19 +00:00
Mike McQuaid
237eec8ef8
Overhaul Formula/Cask JSON generation
- Use constants for placeholders
- Monkeypatch to set `HOMEBREW_PREFIX` consistently to placeholder
- Use environment variable to set `Dir.home` consistently to placeholder
- Use `appdir` short-circuit to set `Cask#appdir` consistently to placeholder
- Use `Cask.generating_hash!` to enable "generating mode" with these patches
- Fix `Formula#caveats` from JSON

Fixes #14505
Fixes #14595
2023-02-14 14:19:40 +00:00
Mike McQuaid
66c9d5f2af
Merge pull request #14620 from Kentzo/sudo-env
sudo: pass env variables without /usr/bin/env
2023-02-14 14:13:37 +00:00
Mike McQuaid
9725e764f5
system_command: fix typo. 2023-02-14 13:02:59 +00:00
Mike McQuaid
cedd4d33e4
Merge pull request #14570 from s4nji/patch-1
Update documentation for `brew install` and FAQ regarding `HOMEBREW_NO_INSTALL_FROM_API`
2023-02-14 12:38:20 +00:00
Sanjito Kurniawan
c7b8b3a989
docs/FAQ: correct an entry regarding simple formula edit
Co-authored-by: Kevin <apainintheneck@gmail.com>
2023-02-14 12:04:37 +00:00
Sanjito Kurniawan
2daae5e84d
edit: add HOMEBREW_NO_INSTALL_FROM_API warning. 2023-02-14 12:04:10 +00:00
Mike McQuaid
e0ba9a1249
Merge pull request #14617 from Bo98/api-reqs-oldname
formulary: support requirements, aliases etc from API
2023-02-14 11:54:55 +00:00
Issy Long
990170927a
Merge pull request #14597 from issyl0/contributions-add-signoffs
dev-cmd/contributions: Count commit signoffs, too
2023-02-14 11:37:08 +00:00
Mike McQuaid
72071f290e
Merge pull request #14623 from dduugg/type-api
Enabling typing in Homebrew::API module
2023-02-14 11:31:37 +00:00
Mike McQuaid
70db4bc723
Merge pull request #14621 from Bo98/api-uses_from_macos-fix
formulary: fix uses_from_macos handling on macOS
2023-02-14 11:24:44 +00:00
Mike McQuaid
d0d83cc03f
Merge pull request #14614 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.26.0
build(deps): bump rubocop-ast from 1.24.1 to 1.26.0 in /Library/Homebrew
2023-02-14 11:17:44 +00:00
Mike McQuaid
8aa495b19b
Merge pull request #14618 from Bo98/maximum-req-name-fix
formula: fix `to_hash` tampering with requirement names
2023-02-14 11:14:51 +00:00
Issy Long
abe23fb249
dev-cmd/contributions: Add up different contribution types for a total
❯ brew contributions mikemcquaid
mikemcquaid directly authored 23766 commits, co-authored 241 commits, and signed-off 6730 commits across all Homebrew repos in all time. Total: 30737.
2023-02-14 10:51:13 +00:00
Mike McQuaid
aa7a543344
Merge pull request #14613 from MikeMcQuaid/improve_autotapping
Improve homebrew/{core,cask} autotapping.
2023-02-14 10:30:09 +00:00
Mike McQuaid
4c8ed77302
Improve homebrew/{core,cask} autotapping.
Don't automatically tap these when running a developer command that's
not using the API.

Fixes #14606
2023-02-14 09:54:24 +00:00
Mike McQuaid
0e2c13bdfd
Merge pull request #14611 from apainintheneck/stop-including-flight-block-source-in-json
Stop including flight block source in json
2023-02-14 09:37:15 +00:00
Ilya Kulakov
9ff7ceb563 sudo: pass env variables without /usr/bin/env
Using /usr/bin/env as a frontend for the actual command
prevents sudoers from restricting allowed commands and configuring
detailed command environment.
2023-02-13 22:10:35 -08:00
Bo Anderson
ca32473a67
prefix.sh: support API mode 2023-02-14 05:51:11 +00:00
Douglas Eichelberger
95742f4cfd Enabling typing in Homebrew::API module 2023-02-13 21:33:04 -08:00
apainintheneck
39c6f7d6fb Stop including *flight block source in cask API
Originally we were going to try and load the *flight blocks from the API
but we ended up going with downloading the caskfile for the subset of
casks that need this functionality for consisty's sake.

This reverts the following commits from most recent to oldest:
- ffc74a51fb32b66a4cd8bc41dbd076dd23d9100e
- e5616e94fe42505434c330be35eeafef2739944f
- d1490c3d5c087d00f2bca1787cce331202b195c5
- 7ca5a5d9a71a73f21bbb8555a38048f027bee89b
- 2d5d132713d0701d02d5ff33e9918812d13d2a83

It also changes how *flight blocks are handled in `.to_h`.
Essentially, when *flight blocks exist they are just included
as a hash of the artifact to nil to indicate that they exist.

More information isn't necessary since we don't evaluate
the current source code in the *flight artifacts that
we get from the API.
2023-02-13 21:22:18 -08:00
Bo Anderson
7c1b642035
formulary: fix uses_from_macos handling on macOS 2023-02-14 04:07:51 +00:00
Bo Anderson
9b26bf9b92
formulary: support requirements, aliases etc from API 2023-02-14 03:32:56 +00:00
Bo Anderson
5619e5cc2c
formula: fix to_hash tampering with requirement names 2023-02-14 02:31:49 +00:00
BrewTestBot
f7e449ac31
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-02-13 19:08:26 +00:00
BrewTestBot
567b4f5079
brew vendor-gems: commit updates. 2023-02-13 19:01:55 +00:00
dependabot[bot]
94bde2862b
build(deps): bump rubocop-ast from 1.24.1 to 1.26.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.24.1 to 1.26.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.24.1...v1.26.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>
2023-02-13 18:58:13 +00:00
Mike McQuaid
2a417f1416
Merge pull request #14609 from Bo98/json-fix
Fix `brew info --json` regressions around install status
2023-02-13 15:02:26 +00:00
Mike McQuaid
77bcf65e88
Merge pull request #14596 from cho-m/livecheck-no-colon
livecheck_version: only split on commas in cask version
2023-02-13 14:59:29 +00:00
Mike McQuaid
ddfa69b5e8
Merge pull request #14608 from Bo98/caskroom-replace
cask: replace Caskroom in API for relocated artifacts
2023-02-13 14:55:55 +00:00
Mike McQuaid
42d3b8cbfc
Merge pull request #14605 from Homebrew/imgbot
[ImgBot] Optimize images
2023-02-13 14:54:12 +00:00
Mike McQuaid
31ec835c9d
Merge pull request #14599 from maxim-belkin/installed_formulae_cellar
Bash completions: use HOMEBREW_CELLAR, if set
2023-02-13 14:49:37 +00:00
Bo Anderson
cc956d73aa
Fix brew info --json regressions around install status 2023-02-13 05:07:40 +00:00
Bo Anderson
526871896c
cask: replace Caskroom in API for relocated artifacts 2023-02-13 04:33:53 +00:00
Michael Cho
476f83d38d
livecheck_version: only split on commas in cask version 2023-02-12 15:32:32 -08:00
ImgBotApp
82f0441bee
[ImgBot] Optimize images
/docs/assets/img/docs/managing-pull-requests.drawio.svg -- 61.20kb -> 43.58kb (28.79%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-02-12 17:13:51 +00:00
Mike McQuaid
ed79381155
Merge pull request #14574 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.45.1
build(deps): bump rubocop from 1.44.1 to 1.45.1 in /Library/Homebrew
2023-02-12 15:11:40 +00:00
Mike McQuaid
602972e4d0
Merge pull request #14587 from Rylan12/info-json-api 2023-02-12 13:41:20 +00:00
Carlo Cabrera
ccbb173995
Merge pull request #14193 from cho-m/meson-creator
formula_creator: use tool-agnostic meson commands
2023-02-12 21:21:44 +08:00