| Age | Commit message (Collapse) | Author |
|
Remove `to_s` from some `Pathname`s.
|
|
|
|
Display formula conflict reasons
|
|
|
|
|
|
|
|
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing
changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
|
|
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
|
|
This passed a symbol to `:except_cops` which caused a :boom:.
|
|
This avoids an error when RuboCop installed installed yet.
CC @GauthamGoli FYI.
|
|
audit: Allow skipping/selective running of cops and cops refactor
|
|
|
|
Also, don't delete them after that. This means that `brew postinstall`
becomes a way to easily reinstall configuration files for any formula
without needing any changes to any bottles or requiring a reinstall.
|
|
Also refactor audit cops into two "departments"
- FormulaAudit
- FormulaAuditStrict
|
|
|
|
|
|
|
|
|
|
On Linux this defaults to Linuxbrew but in some cases (i.e. a Linux
machine performing uploads for Homebrew) we want to allow this to be
overridden back to the defaults.
Relies on a change incoming to `brew test-bot` to set this there.
|
|
Use GitHub's code search API to search using the filename based on the
search query. This means we only need a single HTTP call and no more
multithreading madness. This also means we're able to search everything
in the Homebrew and Caskroom organisation by default without having to
maintain a list of things to search (and not) in here.
|
|
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
|
|
|
|
|
|
These formulae are detected as missing but exist in an unreadable form.
Fixes #2485
|
|
uses: allow checking deleted formulae.
|
|
This is useful for seeing when formulae are deleted if they are going to
leave behind any formulae that depend on them.
As a result, if there are any formulae returned return a non-zero/failed
exit status.
|
|
|
|
|
|
|
|
|
|
These were those migrated from other taps but if they are installed
already: they aren't new to that user.
|
|
For example if this is for a really old keg, keg where a user has
manually removed stuff or used `brew diy`.
|
|
|
|
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.
|
|
This avoids needing to use `force: true` and still let's Homebrew do
what we want with our own taps.
|
|
|
|
|
|
|
|
Migrate between different taps and delete relevant subdirectories if
they can be safely. Also, tweak some naming and use utility methods.
|
|
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
|
|
The structure should be consistent, so there are always pinned and
pinned_version fields even if there are no pinned versions for a given formula.
|
|
|
|
link: tell users of `brew link --force` about opt.
|
|
If people are force-linking keg-only things they should probably be told
that they can add the opt prefix to their PATH instead.
|
|
|
|
|
|
|
|
Check if `HOMEBREW_CELLAR/old_name` is a symlink. If so, it's already
been migrated so can be skipped.
|
|
Hint at new location of migrated formulae
|