| Age | Commit message (Collapse) | Author |
|
update-report: migrate all formulae every time.
|
|
These methods belong together so combine them in a single class to
provide a simpler API.
|
|
This will allow extending this class so it can be used by more than
just blacklisting.
|
|
This wasn’t adapted to the new, multiple repository world.
|
|
|
|
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.
|
|
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.
|
|
The taps they were migrated to are auto-tapped if not already tapped
anyway so don't show them as deleted to avoid confusion.
|
|
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).
|
|
|
|
MikeMcQuaid/autoupdate-stop-skipping-no-formula-taps
update: stop autoupdate skipping no formula taps.
|
|
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.
|
|
|
|
- Check if the JSON is definitely invalid (< 2 characters)
- Output the arguments that were passed to Rubocop
|
|
Add more flags and descriptions to man pages.
|
|
|
|
|
|
install tap cmd completions
|
|
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.
|
|
Also update command specifications to match descriptions.
|
|
|
|
migrating a formula to a cask.
|
|
log: follow renames.
|
|
--prefix: use opt_prefix when available.
|
|
|
|
Now that we can rename formulae this makes this command more useful
for viewing longer histories.
|
|
Fixes #1952.
|
|
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).
|
|
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.
|
|
As requested in https://github.com/Homebrew/homebrew-core/issues/9316.
|
|
|
|
Otherwise it won't overwrite unmerged changes.
|
|
|
|
|
|
|
|
|
|
uses: properly handle untapped formulae in recursive dependency expansion (again!)
|
|
uses: fix recursive requirement resolution
|
|
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.
|
|
…rmulae in recursive dependency expansion""
This reverts commit dc9819b86c60b5c6fd10373ff318d8ef60f97d52.
|
|
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.
|
|
Fix documentation for HEAD upgrades.
|
|
These can now be done with just `brew upgrade`, like other upgrades.
Fixes #1818.
|
|
|
|
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.
|
|
expansion"
|
|
uses: properly handle untapped formulae in recursive dependency expansion
|
|
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.
|
|
|
|
formula: make prefix usually return opt_prefix.
|