35804 Commits

Author SHA1 Message Date
Sanjito Kurniawan
2daae5e84d
edit: add HOMEBREW_NO_INSTALL_FROM_API warning. 2023-02-14 12:04:10 +00:00
DenizUgur
d80d94ab28 comments 2023-02-14 03:55:45 -08: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
DenizUgur
a9d1ee44c8 suggestion for linux compatibility 2023-02-14 02:24:20 -08: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
DenizUgur
ff748ea030 change the default run_at_load value 2023-02-14 01:04:34 -08:00
DenizUgur
7d19ef7070 dedicated 'RunAtLoad' property 2023-02-13 23:19:34 -08: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
Markus Reiter
cd18703582
Add audit for versions containing colons or slashes. 2023-02-14 02:08:56 +01: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
Rylan Polster
f7fa5937d8
Allow brew info --json=v2 without taps with JSON API 2023-02-12 12:03:40 +00:00
Mike McQuaid
2bdf20b0ba
Merge pull request #14576 from apainintheneck/remove-cask-check-for-linux
extend/os: remove cask install on linux
2023-02-12 12:02:24 +00:00
Mike McQuaid
f4f22bc937
Merge pull request #14601 from apainintheneck/stop-double-warning-in-edit
cmd/edit: stop double warning
2023-02-12 12:01:06 +00:00
Kevin
e940f77444
Merge pull request #14603 from reitermarkus/unversioned-casks
Fix duration calculation in `bump-unversioned-casks`.
2023-02-11 22:28:02 -08:00
Rylan Polster
b03531c273
Merge pull request #14602 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-02-11 21:03:29 -05:00
Markus Reiter
8c8065746b
Fix duration calculation. 2023-02-12 01:40:19 +01:00
BrewTestBot
5d6c73bb9f
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-02-12 00:29:49 +00:00
Maxim Belkin
fd5e9c8662
Bash completions: use HOMEBREW_CELLAR, if set 2023-02-11 10:59:52 -07:00
Issy Long
14f9a2424d
dev-cmd/contributions: Count commit signoffs, too
- `BrewTestBot` adds `Signed-off-by` for who approved PRs (1cf53b4281/Library/Homebrew/dev-cmd/pr-pull.rb (L91-L93)).
- Let's count these too, at least until we can get PR approvals from the GitHub API.
2023-02-11 12:01:12 +00:00
Mike McQuaid
1cf53b4281
Merge pull request #14589 from MikeMcQuaid/api_auto_update_secs
Add HOMEBREW_API_AUTO_UPDATE_SECS
2023-02-11 10:32:26 +00:00
apainintheneck
a7dbd738dd cmd/edit: stop double warning
When you don't have EDITOR or HOMEBREW_EDITOR
configured `brew edit` printed a double warning.

This silences the first of those.
2023-02-11 00:16:11 -08:00
Mike McQuaid
75a20689b1
Add HOMEBREW_API_AUTO_UPDATE_SECS
This sets the default and allows customising how often we try to
download files from the API.

This does not affect `brew update` as we want to always check every time
on an explicit call.
2023-02-11 07:22:50 +00:00