| Age | Commit message (Collapse) | Author |
|
|
|
audit: handle a nil revision map.
|
|
Deprecate 32-bit options.
|
|
Remove Xcode prerelease warnings.
|
|
These were formerly supported but as it has been a very long time since
32-bit software was necessary on macOS these have been deprecated with
a `brew audit` warning and a future `odeprecated`.
|
|
update-reset: add new command.
|
|
postinstall: don't allow writes to prefix itself.
|
|
super/cc: loosen cellar formula regex.
|
|
At this point we probably do want to know about issues that crop up in
betas so we can fix them before the new version of Xcode is released.
Additionally, this doesn't really work well any more with our new
tag-based workflow as it means we need to cut a new tag immediately
after a new Xcode is released.
|
|
audit: don't allow use of OS.mac?/OS.linux?.
|
|
|
|
While we fake a CLT for these versions they never shipped with the CLT
so cannot update it.
|
|
Forbid their use in Homebrew/core which only supports macOS. This may
be added to more/all official taps in future.
|
|
Add new `brew update-reset` command to provide a helpful troubleshooting
fallback to fetch and reset all repositories. This could have lived in
`brew update` but it makes sense to avoid the complexity of sharing
logic between these scripts and keeping this one simpler.
|
|
Fixes #1688.
|
|
diagnostic: check for multiple Cellars.
|
|
audit: flag use of "fails_with :llvm".
|
|
prune: don't remove top-level directories.
|
|
which_all: don't assume path is a string.
|
|
Fix error message when cask fails to install.
|
|
fix typo
|
|
|
|
Match HOMEBREW_TAP_FORMULA_REGEX to avoid skipping valid cellar regexes.
|
|
formulary: call tap not formula
|
|
Fixes #1668
|
|
|
|
|
|
Also, add TODOs for deprecating this properly at a later point.
|
|
Even if they're empty we want to keep these top-level directories around
as the installer has nicely created them with the correct permissions
and this avoids potentially having to use `sudo` to recreate them.
|
|
And tell people to delete the HOMEBREW_REPOSITORY one. The
HOMEBREW_PREFIX one is preferable for bottling.
|
|
Only the top-level directories inside it. We don't want formulae writing
random junk in e.g. `/usr/local` even in `postinstall`.
|
|
|
|
formula: runtime deps of build deps aren't runtime
|
|
caveats: Differentiate zsh completion files and function files
|
|
|
|
keg: also prune opt.
|
|
Tell people to report URL/tap deprecations to the tap.
|
|
If there's dead symlinks in there they should be removed.
|
|
Allow to install any spec
|
|
This is no longer needed as the reason it was added (argument
sanitisation) is now done properly.
Also, remove `skip_deps_check?` in favour of `ignore_deps?` as it too is
no longer needed.
|
|
Fix dependency option handling.
|
|
reinstall/upgrade/install: always output options.
|
|
- formula_installer: only recompute dependencies when necessary i.e.
when a bottle pour fails.
- formula_installer: re-add accidentally remove dependency options
- dependency: missing options are only those that actually exist on a
formula
|
|
formulary: remap deprecated options from keg.
|
|
Fixes #1635.
|
|
This is both easier for debugging and to communicate with users what is
being done.
|
|
Rather than Homebrew/brew or Homebrew/homebrew-core.
|
|
When reading a building a formula from a keg (rather than e.g. from
name) then the deprecation options were not remapped correctly as they
are only done in `Tab.for_formula` and not `Tab.for_keg`. Ensure that
after we’ve created the formula that the `used_options` are remapped
correctly.
|
|
cask reinstall: download and verify cask before uninstall
|
|
When installing a file to zsh/site-functions directory, it is assumed this is a zsh completion file,
and the zsh completion caveat is printed after installation.
But not all files in the zsh/site-functions directory are completion files.
Some are files for functions that can be loaded on demand with zsh's autoload command.
- Edit Keg.completion_installed to search specifically for files in the zsh/site-functions
directory starting with an underscore only (By convention, zsh completion files start with an underscore)
- Add Keg.zsh_functions_installed to search for non-completion files in the zsh/site-functions
- Add Caveats.zsh_function_caveats to print a caveat if non-completion files have been installed
to zsh/site-functions
|