aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2017-03-21Merge pull request #2370 from MikeMcQuaid/update-migrate-all-formulaMike McQuaid
update-report: migrate all formulae every time.
2017-03-20missing_formula: subsume historic logic.Mike McQuaid
These methods belong together so combine them in a single class to provide a simpler API.
2017-03-20blacklist: move to missing_formula class instead.Mike McQuaid
This will allow extending this class so it can be used by more than just blacklisting.
2017-03-20cmd/log: improve output messaging.Mike McQuaid
This wasn’t adapted to the new, multiple repository world.
2017-03-20search: tweak specific formula match formatting.Mike McQuaid
2017-03-20Hint at new location of migrated formulaeZhiming Wang
Partial implementation of https://github.com/Homebrew/brew-evolution/pull/15, along with the ability to search for deleted formulae in git history (inspired by #1996) which is not described in the proposal. See also: #1371.
2017-03-20update-report: migrate all formulae every time.Mike McQuaid
Unmigrated formulae cause hard-to-debug issues and relying on detection on Git alone is faster but not comprehensive. Instead, iterate through renamed, installed formulae every time and migrate them. Closes #1770.
2017-03-20update-report: migrated formulae were not deleted.Mike McQuaid
The taps they were migrated to are auto-tapped if not already tapped anyway so don't show them as deleted to avoid confusion.
2017-03-17upgrade: keg_only before non-keg_only formulaeilovezfs
Avoids unnecessary conflicts when a previously non-keg_only formula is in the way by prioritizing keg_only before non-keg_only formulae. This change is motivated by the upgrade of gnupg 2.0 to 2.1, since the latter no longer depends on the gpg-agent formula, which, even if made keg_only, still causes the link step to fail for 2.1, as gpg-agent's non-keg version won't have been upgraded to the keg_only version at that point (alphabetically gnupg precedes gpg-agent).
2017-03-16Use a `Formulary`-like approach to load Casks.Markus Reiter
2017-03-12Merge pull request #2322 from ↵Mike McQuaid
MikeMcQuaid/autoupdate-stop-skipping-no-formula-taps update: stop autoupdate skipping no formula taps.
2017-03-12update: stop autoupdate skipping no formula taps.Mike McQuaid
This will be slightly slower if you have a bunch of non-formula (i.e. command or cask) taps but it avoids the confusion of having Homebrew saying it's updated when it only did so selectively. Fixes #1946.
2017-03-11Add `Formatter::pluralize`.Markus Reiter
2017-03-08style: improve Rubocop error handling.Mike McQuaid
- Check if the JSON is definitely invalid (< 2 characters) - Output the arguments that were passed to Rubocop
2017-03-06Merge pull request #2272 from EricFromCanada/masterMike McQuaid
Add more flags and descriptions to man pages.
2017-03-06Move `cask` to `cmd/`.Markus Reiter
2017-03-05Add more flags and descriptions to man pages.EricFromCanada
2017-02-27Merge pull request #1708 from joshka/feature/install-tap-cmd-completionsMike McQuaid
install tap cmd completions
2017-02-26Install tap command completions and manpagesJoshua McKinney
Taps can include completion scripts for external commands under `completions/bash`, `completions/fish`, or `completions/zsh`. `brew tap` will automatically install these into the correct directories during install.
2017-02-25Update brew's man page formatting and grammarEricFromCanada
Also update command specifications to match descriptions.
2017-02-23Convert `brew irb` test to spec.Markus Reiter
2017-02-17update-report: unlink rather than uninstall --force formula when ...Zhiming Wang
migrating a formula to a cask.
2017-02-13Merge pull request #1995 from MikeMcQuaid/log-follow-renamesMike McQuaid
log: follow renames.
2017-02-13Merge pull request #1994 from MikeMcQuaid/prefix-optMike McQuaid
--prefix: use opt_prefix when available.
2017-02-12Use constants for RuboCop version.Markus Reiter
2017-02-12log: follow renames.Mike McQuaid
Now that we can rename formulae this makes this command more useful for viewing longer histories.
2017-02-12--prefix: use opt_prefix when available.Mike McQuaid
Fixes #1952.
2017-02-12rubocop: trailing comma in multiline method callsAlyssa Ross
Discussed in https://github.com/Homebrew/brew/pull/1987/files#r100693581. This was originally ommitted because it wasn't compatible with Ruby 1.8. (See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971).
2017-02-04Pass invalid option names to formula installerThomas Maurer
This is the same that happens in the command 'install'. By passing the invalid option names, we enable the formula installer to output warnings if necessary.
2017-01-29update: note migrations may be performed.Mike McQuaid
As requested in https://github.com/Homebrew/homebrew-core/issues/9316.
2017-01-27style: update rubocop to 0.47.1Dominyk Tiller
2017-01-26update-reset: checkout with --force.Mike McQuaid
Otherwise it won't overwrite unmerged changes.
2017-01-18formula_installer: use attr_accessor for installed_*Mike McQuaid
2017-01-18upgrade: temporarily comment out for fix.Mike McQuaid
2017-01-18upgrade: tab installed_{as_dependency,on_request}Mike McQuaid
2017-01-18install: set installed_{as_dependency,on_request}.Mike McQuaid
2017-01-17Merge pull request #1863 from alyssais/uses_ignore_untappedMike McQuaid
uses: properly handle untapped formulae in recursive dependency expansion (again!)
2017-01-17Merge pull request #1862 from alyssais/uses_include_optionalMike McQuaid
uses: fix recursive requirement resolution
2017-01-16uses: restore formula-level exception handlerAlyssa Ross
This is a temporary measure until: - #1862 is merged - I can a test on `brew uses` against every formula in the official taps to verify that exceptions are no longer raised.
2017-01-16Revert "Revert "uses: properly handle untapped fo…Alyssa Ross
…rmulae in recursive dependency expansion"" This reverts commit dc9819b86c60b5c6fd10373ff318d8ef60f97d52.
2017-01-16uses: fix recursive requirement resolutionAlyssa Ross
Fixes #1848 by sharing recursive dependency resolution between dependencies and requirements. Coincidentally, this also fixes the errors introduced by #1784 that necessitated it being reverted in #1797.
2017-01-15Merge pull request #1846 from MikeMcQuaid/fix-head-upgrade-manMike McQuaid
Fix documentation for HEAD upgrades.
2017-01-15Fix documentation for HEAD upgrades.Mike McQuaid
These can now be done with just `brew upgrade`, like other upgrades. Fixes #1818.
2017-01-12brew deps --tree: fix gap in line between reqs and depsAndrew Janke
2017-01-09Deprecate brew (un)linkapps.Mike McQuaid
Unfortunately `brew linkapps` cannot behave nicely with e.g. Spotlight using either aliases or symlinks and Homebrew formulae do not build "proper" `.app` bundles that can be relocated. Instead, please consider using `brew cask` and migrate formulae using `.app`s to casks.
2017-01-07Revert "uses: properly handle untapped formulae in recursive dependency ↵Mike McQuaid
expansion"
2017-01-07Merge pull request #1784 from alyssais/uses_tap_exceptionMike McQuaid
uses: properly handle untapped formulae in recursive dependency expansion
2017-01-05uses: properly handle recursive deps exceptionsAlyssa Ross
Fixes #1776. If any known formula had a dependency on an untapped tap, Formula#recursive_dependencies would throw an exception, which would be caught by the outer exception handler, causing the rest of the dependencies for that formula to be skipped and incomplete output to be generated. To fix this, I added a check to avoid analysing the dependencies of formulae from uninstalled taps. Additionally, I removed the aforementioned outer exception handler added in 5fdb89aed90f03413cdb21af430411c4a722876e, because the only other place that should be capable of throwing such an exception is the statement that was surrounded by another wider exception handler in Homebrew/legacy-homebrew#40682.
2017-01-04Use docs.brew.sh links.Mike McQuaid
2017-01-03Merge pull request #1677 from MikeMcQuaid/formula-prefix-optMike McQuaid
formula: make prefix usually return opt_prefix.