4197 Commits

Author SHA1 Message Date
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner 2021-01-18 21:20:11 -05:00
Rylan Polster
5286be91cb
Merge pull request #10229 from Rylan12/generate-completions
Generate bash completions automatically
2021-01-18 11:47:26 -05:00
Dawid Dziurla
332372469f
cmd: indicate multiple named args in usage banner 2021-01-15 13:04:00 +01:00
Rylan Polster
eebc161ea5 Incorporate suggestions from code review
Co-Authored-By: Seeker <meaningseeking@protonmail.com>
2021-01-15 00:13:30 -05:00
Rylan Polster
3af16832d9 Generate bash completions automatically 2021-01-15 00:03:28 -05:00
Rylan Polster
da811373d3 Add named_args DSL for commands 2021-01-13 17:09:42 -05:00
Rylan Polster
701989968d
Merge pull request #10268 from Rylan12/completions-opt-out
completions: make opt-in only
2021-01-13 16:08:30 -05:00
Rylan Polster
eb3a662841 completions: clarify that only external tap completions are affected
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2021-01-12 16:31:24 -05:00
Rylan Polster
f1f3fdc315 settings: add module for managing git config settings 2021-01-12 16:27:25 -05:00
Seeker
f476bcafcb upgrade: show formula caveats after casks have been updated 2021-01-11 11:43:11 -08:00
Rylan Polster
e7b369273a completions: link official taps automatically 2021-01-11 12:27:57 -05:00
Rylan Polster
bed16128cc completions: fix usage text 2021-01-10 16:32:18 -05:00
Markus Reiter
7236faee25 Properly pass cask options in reinstall. 2021-01-10 20:19:38 +01:00
Rylan Polster
e9d09c4d8f tests: add and fix tests 2021-01-08 17:11:20 -05:00
Seeker
b9854bd4cf rubocops: add unless_multiple_conditions 2021-01-08 10:33:54 -08:00
Rylan Polster
234267cc93 completions: make opt-in only 2021-01-08 11:10:24 -05:00
Mike McQuaid
30d5fc6285
Merge pull request #10259 from kidonng/cask-completion
Add brew casks command
2021-01-08 13:04:53 +00:00
Kid
de8e87c7d0 Syntax fix 2021-01-08 18:10:25 +08:00
Kid
9b9c0c8626 Add homebrew-items 2021-01-08 18:04:51 +08:00
Mike McQuaid
7176870ef9
Merge pull request #10249 from hyuraku/cmd/info_refactor-github_info
cmd/info: refactor-github_info
2021-01-08 09:45:25 +00:00
Mike McQuaid
50ffa38213
Merge pull request #10247 from iMichka/sha256
checksum: simplify, use only sha256
2021-01-08 09:43:23 +00:00
Kid
c57b65fdb8 Revert "Linuxbrew won't have casks"
This reverts commit 13389ca8c53fdf649d1f9b7b9ba7d38e31baa438.

In case we can extract a common function or stuff.
2021-01-08 17:36:38 +08:00
Kid
13389ca8c5 Linuxbrew won't have casks 2021-01-08 11:20:13 +08:00
Vítor Galvão
5dbe54d766 Docs: non-cask binaries are not overwritten by --force 2021-01-07 21:23:06 +00:00
Michka Popoff
5e91802470 checksum: simplify, use only sha256
We use only one sha type right now.

Needed for https://github.com/Homebrew/brew/pull/10186
2021-01-07 20:46:13 +01:00
hyuraku
d2c0fdfbcc cmd/info: refactor-github_info 2021-01-08 00:14:33 +09:00
souleater7
e50e3e4b22 Delete references to devel 2021-01-01 10:16:31 -08:00
hyuraku
64d4eb2425 cmd/update-report: fix to show new tag 2021-01-01 17:54:59 +09:00
Rylan Polster
e9a44cb96c
Merge pull request #10117 from Rylan12/add-blog-reference-to-release-notes
Add more links to the changelog and blog
2020-12-31 10:46:46 -05:00
Mike McQuaid
a7b61c645a
Merge pull request #10174 from hyuraku/cmd/reinstall_refactor
cmd/reinstall: refactor about `formula?` and `cask?`.
2020-12-31 13:16:59 +00:00
Mike McQuaid
d03a831e76
Merge pull request #10176 from hyuraku/cmd/deps_refactor
cmd/deps: refactor about `formula?` and `cask?`.
2020-12-31 13:16:36 +00:00
Kid
98c968ea2f Add brew casks command 2020-12-30 10:55:26 +08:00
hyuraku
4238ee8300 cmd/deps: refactor 2020-12-29 21:06:32 +09:00
hyuraku
4f74134169 cmd/reinstall: refactor 2020-12-29 20:40:26 +09:00
Rylan Polster
34a88a3bb0 update: add notice that unshallowing takes time 2020-12-28 17:18:27 -05:00
Mike McQuaid
b8e43132eb
Merge pull request #10165 from hyuraku/cmd/--cache_refactor
cmd/--cache: refactor
2020-12-28 21:15:53 +00:00
Rylan Polster
80d8b419de update-report: update blog post link 2020-12-28 10:56:07 -05:00
hyuraku
a43e47cfaf cmd/--cache: refactor 2020-12-28 23:14:22 +09:00
Mike McQuaid
1b4993c9ce
cmd/install: add comment to deprecate --env.
We don't allow this on upgrade or reinstall so let's make `StdEnv`
essentially a private, internal API.
2020-12-28 13:45:24 +00:00
Mike McQuaid
dc52ff620b
Merge pull request #10031 from hyuraku/only_path_formula_or_cask
add function to define path
2020-12-28 13:22:22 +00:00
Mike McQuaid
879589583d
Merge pull request #10095 from hyuraku/add-options-to-search
search: add two options
2020-12-28 13:21:10 +00:00
Rylan Polster
5b360f35c5 update-report: use gitconfig to remember last tag 2020-12-25 14:14:57 -05:00
Issy Long
90868fff34
cmd/list: Remove help text about -l displaying file sizes
- It doesn't work on the `HOMEBREW_CELLAR` dir for some reason, and
  using `du -sh` instead (PR 10131) was an extra call that we don't
  need.
- (I had to edit the man page manually as `brew man` gives me "Broken
  pipe" errors.)
2020-12-25 19:03:57 +00:00
Rylan Polster
a0e663d833 update: show either changelog or release noted link 2020-12-24 19:05:23 -05:00
Issy Long
2424e58b91
Merge pull request #10133 from issyl0/constrain-brew-list-lrt-options-to-formulae-only
cmd/list: Constrain `-lrt` options to formulae
2020-12-24 18:14:37 +00:00
Maxim Belkin
45d67ef13e
brew.sh: define minimum required Glibc version 2020-12-24 09:10:53 -06:00
Issy Long
1b4646dee4
cmd/list: Limit -lrt options to being passed with --formula
- These are documented as only working on formulae, but users expect the
  same options (long format, reverse order or sort by modified time) to
  be passed to both formulae and casks in the default `brew list`. The
  output looks weird as they're not. Hence, constrain these to be
  `--formula`-only.
- This was added originally in 5adb76a5babdccd2c4edfb8752ac979ed14716ca,
  but then disappeared.
2020-12-24 13:33:36 +00:00
Rylan Polster
9fd2319afa update-report: add links to changelog and blog 2020-12-23 12:06:28 -05:00
hyuraku
0b574eff90 search: add two options 2020-12-23 23:06:02 +09:00
Rylan Polster
bade687f11 upgrade: fix style in help text 2020-12-20 13:45:33 -05:00