| Age | Commit message (Collapse) | Author |
|
|
|
It only makes sense to tell a user to try installing from a bottle if
there are bottles available for them to install for all the formulae
they specified.
|
|
Deprecate default_formula Requirement DSL
|
|
This has been a nightmare in terms of the complexity to our dependency
system and the whack-a-mole required on bugs. If a Requirement resolves
to a Formula it should just use `depends_on "formula"` instead. This
matches the effective behaviour all users of bottles (the vast majority
of users and installs) and what we're doing in Homebrew/homebrew-core.
|
|
It's not possible to determine the difference between a non-keg-only
keg that failed to link and one that wasn't linked by us intentionally.
To avoid additional complexity of storing this logic in another place
let's back out this relatively new functionality; sticky keg-only links
is a better and more desirable behaviour anyway.
|
|
check_install_sanity: Use formula.runtime_dependencies
|
|
Fix Error: wget contains conflicting version recursive dependencies:
openssl, openssl@1.1
|
|
Fixes https://github.com/Homebrew/brew/issues/3642.
|
|
ilovezfs/allow-install-mixed-python-dependency-tree
formula_installer: allow version mismatched python deps
|
|
Dependency trees with both python@2 and python@3 are not inherently
problematic.
|
|
hooks/bottles: remove bottle hooks.
|
|
This reverts commit cc752e97f6dcfb3e58c9e753262926672edeb571.
Fixes #1585.
I will open a new issue for the actual underlying bug here (that
requirements aren't being handled correctly based on the stable/devel
spec used at installation time).
|
|
formula_installer: handle nil req_dependency.
|
|
Closes #3538.
|
|
If dependents are already installed ensure their build dependencies (and
requirements) don't end up in the dependency/requirement tree.
Fixes #3033.
|
|
Only prune it if it's not already installed.
Fixes bug with https://github.com/Homebrew/brew/pull/3479
Closes https://github.com/Homebrew/brew/pull/3535.
|
|
These were removed from Boxen in:
https://github.com/boxen/puppet-homebrew/pull/108
|
|
- Make `brew pull` pass through Git environment variables
- Whitelist all `TRAVIS_` variables.
|
|
Don't force a default formulae install if a requirement is satisfied if
we're building a bottle and it's a build-time dependency.
|
|
We use these internally so let's map them to `HOMEBREW_` variables.
|
|
|
|
|
|
formula.bottled? is false when the bottle has no sha256,
as with a local bottle.
|
|
Warn if a more recent version of this formula is available in the tap.
|
|
Factor Utils::Bottles.formula_contents out of BottleLoader.
|
|
formula.bottle is nil when bottle.compatible_cellar? is false.
Use formula.bottle_specification.compatible_cellar? rather
than formula.bottle.compatible_cellar?.
|
|
|
|
|
|
- `brew update` should try to install `curl` before `git` on older
versions of Mac OS X where it is needed for accessing modern SSL
certificates.
- We don't need an HTTP mirror for `git` because `curl` will already be
installed before it is downloaded.
- Don't recommend GCC on Mac OS X versions where it can't be built with
the default system compiler.
- Start using the Homebrew `curl` on Mac OS X versions where it is
needed as soon as it is installed.
|
|
Pouring a local bottle for a formula without a bottle sha256
in the formula for that OS would unexpectedly install from
source instead.
|
|
Don't ignore f.pour_bottle? and compatible_cellar? when pouring
a local bottle. --force-bottle may be used to pour a local
bottle that is incompatible, as it is for remote bottles.
|
|
We’re always using the sandbox where possible now so this is just
noise for the vast majority of our users.
|
|
|
|
This also helpfully avoids always building all dependencies from source
when passing `--build-bottle` or forcing all bottles when passing
`--force-bottle`.
|
|
Treat a `brew install` command as normal i.e. link by default unless
keg-only and only specify whether a keg should be linked when upgrading
or reinstalling. Also, adjust the naming accordingly so it's more
obvious that this is the case.
|
|
|
|
Preserve link status on reinstall/upgrade.
|
|
formula_installer: use default_formula for bottles
|
|
This was the original, intended functionality before this was broken
in fe117bf79b244c42b7e4049d353c3c003eae4880.
Fixes https://github.com/Homebrew/homebrew-core/issues/13680.
|
|
This means if a user has manually `brew unlink` or `brew link --force`d
something then that status will be preserved after they `brew upgrade`
or `brew reinstall` that formula.
This generally should make things that are keg-only by default easier
to swallow.
|
|
formula_installer: simplify callers.
|
|
keg: correctly cleanup old aliases.
|
|
There's a bunch of duplication going on that's not really necessary.
|
|
Only check runtime dependencies for version conflicts to avoid
having to create unnecessary duplicate formulae.
For example, a formula that needs to be built with ghc@8.0 should still
be allowed to have a build-time dependency on a cabal-install that was
itself built with ghc@8.2.
|
|
Including aliases in the tab allows e.g. `brew switch` to correctly
handle switching between different keg’s aliases.
|
|
|
|
so don't consider their absence fatal if we're pouring a bottle.
|
|
Without this it's not easy to make much sense of these failures.
|
|
We didn't end up using the `screenview` and `exception` analytics as
much as expected so let's remove them and focus on stuff that's
formula-specific.
|
|
MikeMcQuaid/formula-installer-show-upgrade-revision
formula_installer: display full upgrade version.
|