Commit Graph
3658 Commits
Author SHA1 Message Date
Gautham Goli e88f6b9da9 args: Add passthrough method and tests 2019-09-26 10:33:40 +05:30
Gautham Goli 393c8dfbf1 ARGV: Replace options_only and flags_only with Homebrew.args counterparts 2019-09-23 12:39:22 +05:30
Kristof Lünenschloß 3e46488ca4 Display packages to upgrade one package per line 2019-09-13 13:43:34 +02:00
Mike McQuaidandGitHub 963cc556d4 Revert "argv: move options_only to cli/args" 2019-09-13 09:34:43 +01:00
Mike McQuaidandGitHub 7df0292f9b Revert "argv: move flags_only to cli/args" 2019-09-13 09:12:26 +01:00
Gautham Goli c7681c4287 argv: move flags_only to cli/args 2019-09-09 14:51:36 +05:30
Gautham Goli 4586632855 argv: move options_only to cli/args 2019-09-07 21:32:50 +05:30
EricFromCanada 6f2b07163e uses: move comment that was being read by yard 2019-09-04 00:08:31 -04:00
EricFromCanada 2477773259 man: include global options with customized descriptions 2019-08-25 23:59:47 -04:00
L. E. Segovia b3a1f34b7b upgrade: style fixes 2019-08-23 01:51:06 +00:00
L. E. Segovia efb200e825 breadth-first search for dependents upgrade
Fixes Homebrew/brew#6386
2019-08-22 12:38:28 +00:00
EricFromCanada a9d1457c05 shellenv: suggest .zprofile for zsh users 2019-08-20 12:54:44 -04:00
EricFromCanada 8a8359cdd4 manpages: sentence rewording for readability
Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc.
2019-08-20 09:05:45 -04:00
EricFromCanada b4303cd983 manpages: fix command & option descriptions 2019-08-20 09:03:33 -04:00
EricFromCanada 329c6c78be manpages: relocate some sections
Reorder switches as force/quiet/verbose/debug, --installed before --all, and link to SPECIFYING FORMULAE from top of page.
2019-08-20 08:58:20 -04:00
EricFromCanada ee314617f7 manpages: update command usage strings 2019-08-20 08:55:54 -04:00
EricFromCanada 6340792f78 manpages: output formatting fixes 2019-08-20 08:28:35 -04:00
EricFromCanada 6520785307 manpages: grammar fixes 2019-08-20 08:26:26 -04:00
EricFromCanada a3e0647797 manpages: whitespace fixes 2019-08-20 08:24:20 -04:00
Jonathan Chang 7ddc185b35 Fix various typos 2019-08-19 16:12:34 +10:00
Jonathan Chang fe36f3db67 cmd/link: fix typo 2019-08-05 15:10:00 +10:00
Mike McQuaidandGitHub 1cd45a769d Merge pull request #6330 from hogand/add-upgrade-dry-run
Add --dry-run to brew upgrade and brew cask upgrade
2019-07-28 15:18:13 +01:00
Mike McQuaid 41461b2c00 upgrade: tweak --dry-run wording. 2019-07-28 14:50:59 +01:00
Mike McQuaid 9354081323 Add HOMEBREW_DISPLAY_INSTALL_TIMES
Fixes #6300
2019-07-28 11:12:32 +01:00
Doug Hogan 7f6ef77d0e Address PR comments: remove test and use return ... if 2019-07-27 07:36:11 -07:00
Doug Hogan 9e0e012a56 cmd/upgrade: add --dry-run option. 2019-07-26 23:20:51 -07:00
Mike McQuaid 653b82a720 cmd/install: fix installing tap formulae with options.
Fixes #6242.
2019-07-25 21:20:49 +01:00
Mike McQuaid 8b646d750a update-report: silence exception.
We don't care if the formula isn't available here. I've seen this a few
times with added formulae when my homebrew-core is on a non-master
branch.
2019-07-17 09:27:02 +01:00
Cheng XU ce00a94737 remove extra command output when running brew list -v <formula>
`brew list -v <formula>` is used to list all files inside formula's keg.

However since 70b93f65ea, an extra
`find /usr/local/Cellar/<formula>/<version> -not -type d -print` will be
printed out. Fix the problem by using `system_command!` instead of
`safe_system`.
2019-07-16 18:41:37 +08:00
Mike McQuaid 3cfb028e7f Resource#fetch: verify downloads by default.
This API is used internally correctly and externally mostly correctly
but #6230 reveals the external usage is fairly confusing and a bit
unsafe by default. Preserve the existing API while verifying the
checksum by default and providing an opt-out. Using the existing, safe
method will result in a double verification of the checksum which is
harmless. A Homebrew/homebrew-core PR will follow shortly to address
those cases.

Fixes #6230
2019-06-15 17:22:45 +01:00
melvyn2andGitHub 9f616b6fe9 cmd/tap-info: fix frozen pathname usage 2019-05-04 09:09:58 -07:00
Mike McQuaid c4f72312ce Fixup brew style failures. 2019-04-30 09:19:18 +01:00
Mike McQuaid 73528b6a08 Freeze more strings
Freeze the results changed in #6072.
2019-04-29 13:02:15 +01:00
Markus Reiter ea76a7aaaf Unfreeze string. 2019-04-28 15:24:17 +02:00
Mike McQuaid 0b685bb890 upgrade: don't build bottles unnecessarily.
Fixes #6063.
2019-04-25 14:01:50 -07:00
Mike McQuaid 70b07a914f cmd/info: fix frozen pathname usage.
Fixes #6055.
2019-04-24 14:17:04 -07:00
Mike McQuaid 36dbad3922 Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid e40b171127 Rename cli_parser to cli/parser. 2019-04-17 22:16:50 +09:00
EricFromCanada 89f0fcedbe whitespace fixes 2019-04-13 21:32:04 -04:00
EricFromCanada 15c38a2d8b formatting fixes 2019-04-13 21:29:32 -04:00
EricFromCanada fa6404e0f5 grammar fixes 2019-04-13 21:29:32 -04:00
Mike McQuaidandGitHub 8d01cda922 Merge pull request #5925 from MikeMcQuaid/more-deprecations
Deprecate tap pinning (and remove `odisabled`)
2019-04-03 09:00:06 +01:00
Mike McQuaid 6987fb4d05 upgrade: make clear formula options are used (not install options). 2019-04-02 08:20:28 +01:00
Mike McQuaid fdb18b8916 brew install --ignore-dependencies: unsupported, developer flag.
People are using this instead of adjusting their PATH.
2019-04-02 08:18:30 +01:00
Mike McQuaid 7d26a61cc8 Deprecate tap pinning
Tap pinning is not used by Homebrew or the Homebrew maintainers so issues relating to pinned taps (#5418, #5796) don’t get fixed. Tap pinning does not work consistently or reliably and is conceptually confusing to encourage users to use fully-scoped user/tap/formula naming or avoid shadowing core tap formulae' names instead.
2019-04-01 15:07:50 +01:00
Mike McQuaid d12e39633c Remove odisabled. 2019-04-01 15:07:50 +01:00
Mike McQuaid 70b93f65ea *cmd/*: use *system instead of exec for easier testing.
This improves both test coverage, makes it easier to use a profiler and
a debugger.
2019-03-27 21:15:24 +00:00
Mike McQuaidandGitHub cf4511f72a Merge pull request #5538 from zachauten/brew-info-display-casks
Make brew info output cask if no formula exists
2019-03-25 16:54:03 +00:00
Zach Auten 999c4743d0 Added flag for cask_reason to output cask info or just message with cask name 2019-03-24 15:28:34 -04:00
Zach Auten 517083474a Removed cask_reason from missing_formula.reason
- It won't output anything during a failed 'brew install'
- There's a seperate call to MissingFormula.cask_reason
  when 'brew info' is executed on a cask.
2019-03-21 17:35:38 -04:00