1286 Commits

Author SHA1 Message Date
Markus Reiter
45950bb8ad Support casks in brew edit. 2020-11-20 00:43:15 +01:00
Markus Reiter
7a83f34dd1 Support casks in brew fetch. 2020-11-19 19:46:59 +01:00
Markus Reiter
bc24128263 Support casks in brew cat. 2020-11-19 16:01:10 +01:00
Markus Reiter
2c47678b05 Add --zap flag to brew uninstall and remove brew zap. 2020-11-19 15:07:59 +01:00
Markus Reiter
f4b4fdac98 Add brew zap command. 2020-11-19 13:42:02 +01:00
Markus Reiter
aa6a8e5c13 Add --update option to brew vendor-gems. 2020-11-19 10:11:19 +01:00
Markus Reiter
5097af3b74 Support --cask flag in brew uninstall. 2020-11-18 17:30:34 +01:00
Markus Reiter
24cef5c2ce Support casks in brew audit. 2020-11-18 13:21:49 +01:00
Mike McQuaid
caae165eb2
Improve brew install --quiet
- Suppress (some more) warnings when doing `brew install --quiet`
- Clarify `man brew` output that we don't suppress all warnings
  for all commands with `--quiet`

While I was doing this I noticed references to the (soon to be
deprecated) `brew switch` so:
- remove these references in `install` output
- remove a reference in the documentation
- add a comment to remind me to deprecate `brew diy`, too

Fixes #9179
2020-11-18 10:13:57 +00:00
hyuraku
faf7aab6dd remove deprecated cask command from man page 2020-11-17 13:04:00 +01:00
Mike McQuaid
c1ff5efb5a
docs/vale-styles/Homebrew/Titles: fix Linux reference. 2020-11-16 13:59:45 +00:00
EricFromCanada
72bc057014 manpage: fixes for formatting 2020-11-16 08:02:50 -05:00
Mike McQuaid
2675fa03af
Merge pull request #9144 from dtrodrigues/discussions
docs - remove Discourse from communication methods
2020-11-16 12:47:49 +00:00
dependabot[bot]
e3934cb677
build(deps-dev): bump html-proofer from 3.16.0 to 3.17.0 in /docs
Bumps [html-proofer](https://github.com/gjtorikian/html-proofer) from 3.16.0 to 3.17.0.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases)
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.16.0...v3.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-16 05:58:28 +00:00
Dustin Rodrigues
1c925d52fe docs - remove Discourse from communication methods 2020-11-15 13:20:03 -05:00
metacollin
b04a5ffa0b Turbocharged formula name completion 2020-11-13 05:36:53 -07:00
Markus Reiter
da9289eff0 Add more type signatures. 2020-11-13 12:26:36 +01:00
Shaun Jackman
26c4dc954f docs/Installation.md: Fix a small typo 2020-11-12 12:31:13 -08:00
Mike McQuaid
5afff3f3aa
Handle macOS Homebrew on ARM
- Output `brew doctor` and `brew install` messages noting this configuration is (currently) unsupported and encourage use of Rosetta instead
- Output Rosetta 2 usage in `brew config` on ARM (whether in Rosetta 2 or not)
- Check the architecture of (newly installed) dependencies and ensure they are using the correct architecture.
- Don't allow installing macOS Intel Homebrew in macOS ARM Homebrew default prefix (and vice versa
- Actually write out the architecture of dependencies to the tab rather than generating and throwing them away
- Set and document the expected default prefix for macOS Intel Homebrew, macOS ARM Homebrew (`/opt/homebrew`) and Homebrew on Linux

While we're here:
- Don't say Big Sur is a prerelease version but still make it clear we
  don't support it (yet).
- Don't reference non-existent IRC channel
2020-11-12 17:06:47 +00: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