1203 Commits

Author SHA1 Message Date
Issy Long
e54980efd8
docs/typechecking: Titlecase the word "With"
- I don't necessarily agree with this, but it's AP style that words with
  four or more letters should start with a capital when in titles.
2020-10-21 21:10:51 +01:00
Issy Long
c0642e1b84
vale-styles: Upgrade all checks to "error" level
- I added these all the way back in December 2019 in #6826, but only
  today realised that things have been failing unnoticeably because
  "warning" level exits with status code 0, so doesn't fail CI.
- Upgrading to "error" level will enable us to see the style errors in
  our docs and fix them faster.
- My editor also auto-formatted the YAML to have double quotes instead
  of single.
2020-10-21 21:10:50 +01:00
Issy Long
d214d5656c
vale-styles: Add "macOS" to the titlecase exceptions list
- Otherwise this surfaces an error and suggests a fix that doesn't match
  Apple's branding.
2020-10-21 21:10:49 +01:00
KazuakiM
c1dd69f0f7
Update Formula-Cookbook.md
RuboCop.
`Use the new Ruby 1.9 hash syntax.`
2020-10-18 14:12:00 +09:00
Issy Long
70548b8417
docs/typechecking: --quiet is a brew typecheck flag
Co-authored-by: Max Eisner <4730112+max-ae@users.noreply.github.com>
2020-10-17 22:02:25 +01:00
Issy Long
4e9773a650
docs/typechecking: Remove mentions of sorbet/files.yaml
- The `sorbet/files.yaml` file was removed in 4382ee9d1404baba4ff4a1734e11fbd9c7826cb7 in favour of more obvious individual type sigils in all files.
2020-10-17 21:35:28 +01:00
Jonathan Chang
aa97179544
Merge pull request #8917 from jonchang/update-docs-for-autosquash-automerge
docs: update for new autosquash on automerge
2020-10-17 18:12:00 +11:00
Mike McQuaid
7f422af789
Merge pull request #8932 from Rylan12/tap-new-add-branch-option
tap-new: add option for branch name
2020-10-16 08:37:45 +01:00
Rylan Polster
64d135d0a7 tap-new: add option for branch name 2020-10-15 15:00:35 -04:00
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
53cfa0f95f docs: update for new autosquash on automerge 2020-10-13 23:19:22 +11: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
fb9aafbb08
Merge pull request #8781 from reitermarkus/rubocop-sorbet
Add and vendor `rubocop-sorbet` and `sorbet-runtime-stub`.
2020-10-10 10:30:31 +02:00
dependabot[bot]
5a5705aef8
build(deps-dev): bump github-pages from 208 to 209 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 208 to 209.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v208...v209)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 21:21:26 +00: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
dependabot[bot]
4ce221df24
build(deps-dev): bump github-pages from 207 to 208 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 207 to 208.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v207...v208)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-05 05:59:14 +00: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
dbab49fa1f docs: update for autosquash dispatching 2020-10-03 16:41:17 +10: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
bad7f5f5e2
Merge pull request #8776 from jonchang/update-docs-autosquash
docs: update for autosquashing
2020-09-20 13:54:52 +10:00
Jonathan Chang
04687aef93 dev-cmd/pr-pull: don't assume a master branch 2020-09-20 13:21:27 +10:00
Markus Reiter
ad574c02aa
Merge pull request #8768 from phunehehe/patch-1
chmod recursively to satisfy zsh "insecure directories" warning
2020-09-19 21:21:11 +02:00
Issy Long
5c2c2f7e2b
Merge pull request #8777 from reitermarkus/checklist-cask
Add homebrew/cask to new maintainer checklist.
2020-09-19 09:46:06 +01:00
Jonathan Chang
eff71a1c2b docs: update for autosquashing 2020-09-19 14:05:56 +10:00
Markus Reiter
61bcb577f9
Add homebrew/cask to new maintainer checklist. 2020-09-19 03:15:34 +02:00
Hoàng Xuân Phú
9725e85357
chmod recursively to satisfy zsh "insecure directories" warning
without `-R` only `share` is updated, leaving `share/zsh/site-functions` unchanged, so the warning won't go away
2020-09-18 11:27:39 -04: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