| Age | Commit message (Collapse) | Author |
|
For example if this is for a really old keg, keg where a user has
manually removed stuff or used `brew diy`.
|
|
Use `sudo` if parent path of `target` is not writable.
|
|
ln_sf does the right thing when `dest` is a symlink pointing to a file:
the symlink gets overwritten with a link pointing to the new src. But
when dest points to a directory, we create a new symlink inside the
folder dest points to, which doesn't help us at all.
|
|
When we're assessing whether a bottle is relocatable, we shouldn't have
to descend into symlink paths we encounter. This is supposed to be the
default behavior but it doesn't appear to be (perhaps because we pass a
symlink to the keg on the command line?).
All of the switches that control this behavior differ between BSD and
GNU grep, so sniff the grep flavor first.
|
|
|
|
|
|
Commit 4cae6a724e6d684eb157dd6d7328755694f228b2 introduced the message,
but it printed the wrong path, e.g. for `brew link sqlite`:
```
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/usr/local/opt/sqlite:$PATH"' >> ~/.zshrc/bin
```
where `/bin` is appended at the end, but should be inserted before
`:$PATH`: `echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.zshrc`.
This patch fixes that and updates a test to verify it.
|
|
maintain existing compatibility with gnupg 2.0.x
|
|
Fixes #2427.
|
|
cask: remove pre_bug_report links
|
|
missing_formula: pillow lives in homebrew/science
|
|
|
|
|
|
|
|
|
|
Migrator: various rename fixes
|
|
Otherwise we could end up removing files unnecessarily.
|
|
This avoids needing to use `force: true` and still let's Homebrew do
what we want with our own taps.
|
|
ruby_requirement: fix path prepend
|
|
|
|
|
|
|
|
|
|
Migrate between different taps and delete relevant subdirectories if
they can be safely. Also, tweak some naming and use utility methods.
|
|
Use `oh1` for moving kegs to a new directory.
|
|
Move the checks for moving kegs to a new directory into the relevant
method (`move_to_new_directory`) instead. Also, delete duplicated
directories when weâve confirmed they are definitely duplicated rather
than telling users to do so.
|
|
Add methods to determine if a migration is needed and perform it if so
(and no-op if not). Additionally, make `ARGV.force?` get passed as a
parameter so it can be overridden without requiring users to pass
`âforce`.
|
|
Cleanup: Continue on error removing keg
|
|
Fixes #2355
Create unremovable_kegs instance var
Check cellar cleanup failure after full cleanup completes
Use module_function in Homebrew::Cleanup as we never instantiate the
class
|
|
MikeMcQuaid/formula-missing-dependencies-handle-unavailable-formula
formula: handle missing deps when formula missing.
|
|
formula: check installed_alias_path exists.
|
|
Fix handling of tap migrations to new cask names.
|
|
Include the pinned version in brew outdated output for pinned formulae
|
|
update-test: Use git fetch --tags --depth=1
|
|
formula_installer_spec: add default formula test.
|
|
Otherwise return `nil`.
Fixes https://github.com/Homebrew/brew/issues/2417
|
|
Need to check for two `/`s rather than one.
|
|
audit: check for unversioned formulae.
|
|
Update all references to taps.
|
|
We could try and get a partial result but given it'll also be wrong it
feels simpler to just return an empty array.
Fixes #1928.
Fixes #2027.
Closes #2058.
Fixes https://github.com/Homebrew/homebrew-core/issues/11827.
|
|
Add `Container::Executable`.
|
|
Additionally, ignore the cctools formula itself, since it obviously
needs to check cctools invocations.
|
|
Test the situation where a requirement is satisfied by a non-formula
but the `default_formula` is also installed.
|
|
audit: Check for invocations of cctools.
|
|
|
|
diagnostic: increase minimum git version to 1.8.5
|
|
diagnostic: check homebrew/core git remote.
|
|
Use git fetch --tags --depth=1 to fetch fewer commits.
|
|
older versions do not support the 'git -C <path>' option
|
|
|