1219 Commits

Author SHA1 Message Date
Shaun Jackman
a89dc612bc
Revise docs/FAQ.md
Co-authored-by: Issy Long <issyl0@github.com>
2020-11-24 13:54:19 -08:00
Shaun Jackman
66dccb3b14 FAQ: Default installation prefix on Linux
Why does Homebrew on Linux recommend that I install to
/home/linuxbrew/.linuxbrew?
2020-11-24 10:43:05 -08:00
Tie
45a4fa85cc update manpages 2020-11-06 11:02:59 -05:00
Dawid Dziurla
0fa417706a cmd: add autoremove command 2020-11-04 17:15:32 -05:00
Mike McQuaid
cbb0b87e75
Merge pull request #9013 from hyuraku/add_how-to-set-env_to_doc
how to set ENV in doc
2020-11-04 14:21:20 +00:00
hyuraku
b193564050 how to set ENV for formula install 2020-11-04 22:49:33 +09:00
Mike McQuaid
5adb76a5ba
list: fix flag handling.
Fix `-1` and other flags so they're handled correctly with casks. Use
the "right" exceptions for declaring invalid combinations and change
their parent class so that `--help` is printed nicely too.

Fixes #9033
2020-11-03 12:29:58 +00:00
Mike McQuaid
dcba99c7d1
Revert "Revert "Improve @-versioned formulae linking."" 2020-11-02 11:20:09 +00:00
Shaun Jackman
099af8cf9c
Revert "Improve @-versioned formulae linking." 2020-10-30 10:40:10 -07:00
Mike McQuaid
849034c368
Improve @-versioned formulae linking.
The way we currently handle @-versioned formulae linking is pretty
labourius:
- it requires extensive use of `link_overwrite` to avoid the `link`
  stage failing on certain install/upgrade scenarios
- we teach people to use `brew link --force` whenever they wish to
  link a versioned formulae when it's pretty obvious what's expected
  in that situation

Instead, let's:
- automatically unlink other versioned formulae when linking a
  versioned formula (either through `brew link` or `install`/`upgrade`
  /`reinstall`)
- notify the user what we've done (with the same messaging as if
  they had run `brew link` manually)
2020-10-29 13:35:03 +00:00
Mike McQuaid
57e8f348f5
Maintainer-Guidelines: add homebrew-core 24h caveat. 2020-10-28 10:11:58 +00:00
Mike McQuaid
2e957b24b9
Maintainer-Guidelines: note refactoring PR review. 2020-10-26 12:46:10 +00:00
Mike McQuaid
f64e1fcf8f
Maintainer-Guidelines: give maintainers time to review enhancements.
Let's slow down a little on enhancement PRs to give other maintainers
time to give their feedback.

This is mostly self-directed criticism.
2020-10-26 12:07:31 +00:00
Rylan Polster
c4ae961efa
Merge pull request #8972 from Rylan12/license-add-cannot-represent
Add more license symbol functionality
2020-10-23 08:31:51 -04:00
Dustin Rodrigues
cb509229f9 docs/create-tap: remove nbsp 2020-10-22 19:25:07 -04:00
Rylan Polster
e459056d27 docs: add reference to :cannot_represent license 2020-10-22 10:24:12 -04:00
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