556 Commits

Author SHA1 Message Date
William Ma
e9e63db825 search: Raise exception when no formulae/casks are found; Add --pull-request switch 2020-10-14 14:40:24 -04:00
Jonathan Chang
1b45ed1045 pr-automerge: enable --autosquash argument 2020-10-13 22:44:17 +11:00
Mike McQuaid
a0a9fa241f
Merge pull request #8851 from Akylzhan/patch
cmd/list.rb: --formula and --cask as default option on TTY
2020-10-13 11:52:19 +01:00
Markus Reiter
bf7fe45e89
Merge pull request #8896 from reitermarkus/sorbet-inline
Inline type annotations.
2020-10-13 10:40:53 +02:00
Akylzhan Sauranbay
c8809ce730 cmd/list.rb: --formula, --cask as default on TTY outputs
cmd/list.rb: --formula, --cask as default TTY:

cmd/list.rb: proper deprecated message on non TTY outputs

update manpage

update zsh completion

updated manpages/brew.1

update tests

return list_casks

list_spec.rb: not output to stderr
2020-10-12 14:52:03 +06:00
Dawid Dziurla
ffe7f2a8da
Merge pull request #7925 from dawidd6/dev-cmd-bottle
dev-cmd: add dispatch-build-bottle command
2020-10-12 10:33:43 +02:00
Dawid Dziurla
3095fbc8ec
dev-cmd: add dispatch-build-bottle command 2020-10-11 13:00:15 +02:00
Markus Reiter
4382ee9d14 Remove files.yaml for Sorbet. 2020-10-10 19:10:58 +02:00
Markus Reiter
d36df37099 Replace custom stubs with sorbet-runtime-stub. 2020-10-09 16:45:13 +02:00
Mike McQuaid
2bdf3deb6f
Reduce shallow clone usage
GitHub has requested we request our usage of shallow clones. As a
result:

- do default to shallow clones on CI
- do not do --shallow-since when setting up new repositories in
  `brew update`
- do not support shallow clones of homebrew-core at all

We may consider in future unshallowing all clones unconditionally.
2020-10-09 09:57:04 +01:00
Markus Reiter
10e3b63b7b Inline install, reinstall and upgrade options. 2020-10-08 11:33:38 +02:00
Markus Reiter
7743fed77b Add “GLOBAL CASK OPTIONS” section to man page. 2020-10-08 11:07:35 +02:00
Markus Reiter
7f14e55f99 Add missing cask options to brew upgrade. 2020-10-08 11:07:35 +02:00
Markus Reiter
d443d9ab75 Include cask in brew reinstall help text. 2020-10-08 11:06:04 +02:00
Markus Reiter
67519d487a Include cask in brew install help text. 2020-10-08 11:06:04 +02:00
Mike McQuaid
95cd1de2a5
HOMEBREW_NO_CHECK_INSTALLED_DEPENDENTS: add variable.
Add an opt-out of this behaviour.
2020-10-06 10:50:51 +01:00
Jonathan Chang
cda13d1d9a
Merge pull request #8847 from Rylan12/pr-upload-add-no-commit-flag
pr-upload: add --no-commit flag
2020-10-04 04:19:41 +11:00
Dawid Dziurla
9ec618f08a
Merge pull request #8762 from dawidd6/tap-new-gh-rel
tap-new: enable bottles publishing
2020-10-03 19:18:01 +02:00
Rylan Polster
1fe9370b38 pr-upload: add --no-commit flag 2020-10-03 12:36:46 -04:00
Jonathan Chang
8ac9608787 pr-publish: support dispatching with autosquash 2020-10-03 16:35:48 +10:00
Dawid Dziurla
843dffea78
tap-new: enable bottles publishing
to GitHub Releases
2020-10-02 13:49:24 +02:00
Jonathan Chang
6fb72f4d71 Deprecate GitHub basic authentication.
This API authentication path will be disabled on Nov 13 2020.
2020-10-01 17:18:11 +10:00
Mike McQuaid
541bc5f745
manpages: update brew bundle. 2020-09-30 16:43:47 +01:00
Markus Reiter
0c74d93939 Fix man page difference on Linux. 2020-09-27 23:02:19 +02:00
Markus Reiter
08be729af0 Support all cask options in brew install. 2020-09-27 22:54:57 +02:00
Markus Reiter
f54b458cda Allow installing casks with brew install. 2020-09-27 22:53:32 +02:00
Jonathan Chang
e082da45b8
Merge pull request #8754 from jonchang/refactor-git-cmds
dev-cmd/pr-pull: refactor and add tests
2020-09-21 18:58:52 +10:00
Issy Long
bb0fc2764e
dev-cmd/typecheck: Make an --update switch for automatic updates
- This was suggested in https://github.com/Homebrew/brew/pull/8741#discussion_r490949486.
2020-09-21 08:58:58 +01:00
Jonathan Chang
04687aef93 dev-cmd/pr-pull: don't assume a master branch 2020-09-20 13:21:27 +10:00
Issy Long
33a16e599a
Merge pull request #8741 from issyl0/cleanup-files-yaml
dev-cmd/typecheck: Programmatically delete old files from `sorbet/files.yaml`
2020-09-18 13:03:10 +01:00
Issy Long
3bf5136e82
dev-cmd/typecheck: Delete old files from sorbet/files.yaml
- I was going through the `sorbet/files.yaml` moving various things to
  `true`, playing around locally, and happened upon some files that it
  was tracking that had been deleted.
- We want to do some automation of new files, but I'm not sure we'd ever
  considered the possibility of code being removed. :-D
- This adds a `--prune-files-list` switch and updates the Tapioca GitHub
  Actions workflow to use it. Any changes to the `sorbet/files.yaml`
  file will be committed as part of the scheduled Tapioca update job.
2020-09-18 12:30:43 +01:00
nandahkrishna
cf293d0ef5
livecheck: progress bar for JSON output
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
2020-09-18 02:40:51 +05:30
Jonathan Chang
4315a2647f pr-pull: implement autosquash option 2020-09-17 17:27:38 +10:00
Seeker
626e861c73 bump-cask-pr: add --online switch for brew cask audit 2020-09-16 10:56:54 -07:00
Seeker
7d29054cf2 bump-formula-pr: add --online switch for brew audit 2020-09-16 10:27:11 -07:00
Dawid Dziurla
0bf491ba18
pr-pull: don't require bintray credentials to be set
It blocks uploading to GitHub Releases where Bintray credentials are not needed.
Also those checks are already performed in `bintray.rb`.
2020-09-15 13:40:07 +02:00
Dawid Dziurla
14741e3681
Merge pull request #8410 from dawidd6/github-releases
Support bottle uploads to GitHub Releases
2020-09-15 11:59:35 +02:00
Dawid Dziurla
f6601cee10
Support bottle uploads to GitHub Releases
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-09-12 13:03:39 +02:00
Mike McQuaid
9df637ffd1 Add HOMEBREW_UPDATE_REPORT_ONLY_INSTALLED
This allows reducing the volume of `brew update` output by only
outputting the changes to formulae that you have installed.
2020-09-11 11:59:47 +01:00
Seeker
0a4fbf7f6a dev-cmd: add bump-cask-pr 2020-09-08 08:26:05 -07:00
Seeker
88ebbd5692 bump-formula-pr: make --dry-run conflict with --write
Also add `--commit` to a create commit without opening a pull request
2020-09-04 10:22:13 -07:00
Markus Reiter
e0202e3ba9 Re-add HOMEBREW_DEBUG environment variable. 2020-09-03 20:16:16 +02:00
Mike McQuaid
2e5272d04c Deprecate/disable code for Homebrew 2.5.0.
Do the usual "disable deprecations" and "uncomment pending deprecations"
dance and delete/deprecate/disable relevant/related code.
2020-09-03 10:34:22 +01:00
nandahkrishna
e5fe57c1fe
Migrate livecheck to Homebrew/brew
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
Co-authored-by: Maxim Belkin <maxim.belkin@gmail.com>
Co-authored-by: Issy Long <me@issyl0.co.uk>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Seeker <meaningseeking@protonmail.com>
2020-08-31 17:08:28 +05:30
Mike McQuaid
cd075dd45a dev-cmd/sh: rename SCRIPT argument. 2020-08-28 08:37:15 +01:00
Maxim Belkin
669ae5c077 dev-cmd/sh.rb: fix usage banner 2020-08-27 19:52:40 +00:00
Maxim Belkin
ee5a2017c7 dev-cmd/sh.rb: update usage banner 2020-08-27 18:39:05 +00:00
Maxim Belkin
28c43f1afc dev-cmd/sh.rb: non-interactive mode 2020-08-27 16:45:38 +00:00
vidusheeamoli
2468fb127d dev-cmd: add brew typecheck cmd
This PR adds a new `brew typecheck` developer command which checks for
typechecking errors in the current code with Sorbet.
2020-08-27 02:41:36 +05:30
Dustin Rodrigues
9dbe0e7b02 README: update maintainer list 2020-08-24 20:45:55 -04:00