aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2017-04-02Handle missing receipt on `brew install`.Mike McQuaid
For example if this is for a really old keg, keg where a user has manually removed stuff or used `brew diy`.
2017-04-02Merge pull request #2431 from reitermarkus/fix-sudo-root-wheelMarkus Reiter
Use `sudo` if parent path of `target` is not writable.
2017-04-02Unlink before rewriting linkTim D. Smith
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.
2017-04-02Don't follow symlinks when hunting for stringsTim D. Smith
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.
2017-04-02Document all short flags.Mike McQuaid
2017-04-02man: strip </?var> from Markdown output.Mike McQuaid
2017-04-01Fix the 'export PATH' message in `link` for a keg-only formulaEugene Nikolsky
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.
2017-04-01gpg_spec: make test compatible with gnupg 2.1.xJCount
maintain existing compatibility with gnupg 2.0.x
2017-04-01keg: correctly remove alias symlinks.Mike McQuaid
Fixes #2427.
2017-04-01Merge pull request #2429 from vitorgalvao/rem-pre-bugVĂ­tor GalvĂŁo
cask: remove pre_bug_report links
2017-04-01Merge pull request #2432 from jonchang/pilMike McQuaid
missing_formula: pillow lives in homebrew/science
2017-04-01missing_formula: pillow lives in homebrew/scienceJonathan Chang
2017-04-01Use `sudo` if parent path of `target` is not writable.Markus Reiter
2017-03-31cask: remove pre_bug_report linksVĂ­tor GalvĂŁo
2017-03-31Remove osmium from blacklisted formulasIlya Zverev
2017-03-31Merge pull request #2397 from MikeMcQuaid/migrate-tweaksMike McQuaid
Migrator: various rename fixes
2017-03-31migrator: don't uninstall new_cellar if it existedMike McQuaid
Otherwise we could end up removing files unnecessarily.
2017-03-31migrator: check if taps are from same user insteadMike McQuaid
This avoids needing to use `force: true` and still let's Homebrew do what we want with our own taps.
2017-03-31Merge pull request #2403 from carlorosati/rubyreq.hbMike McQuaid
ruby_requirement: fix path prepend
2017-03-31migrator: relink linked new_cellar kegs.Mike McQuaid
2017-03-31upgrade: perform rename migrations when needed.Mike McQuaid
2017-03-31reinstall: perform rename migrations when needed.Mike McQuaid
2017-03-31install: perform rename migrations when needed.Mike McQuaid
2017-03-31update-report: more forceful rename migration.Mike McQuaid
Migrate between different taps and delete relevant subdirectories if they can be safely. Also, tweak some naming and use utility methods.
2017-03-31migrator: make headers more consistent.Mike McQuaid
Use `oh1` for moving kegs to a new directory.
2017-03-31migrator: move around some migration logic.Mike McQuaid
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.
2017-03-31migrator: add more helper methods.Mike McQuaid
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`.
2017-03-31Merge pull request #2374 from joshka/cleanup-command-continue-on-errorMike McQuaid
Cleanup: Continue on error removing keg
2017-03-31Brew cleanup: Continue on error removing kegJoshua McKinney
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
2017-03-30Merge pull request #2422 from ↔Mike McQuaid
MikeMcQuaid/formula-missing-dependencies-handle-unavailable-formula formula: handle missing deps when formula missing.
2017-03-30Merge pull request #2421 from MikeMcQuaid/formula-check-alias-existsMike McQuaid
formula: check installed_alias_path exists.
2017-03-30Merge pull request #2419 from MikeMcQuaid/fix-tap-cask-migrationMike McQuaid
Fix handling of tap migrations to new cask names.
2017-03-30Merge pull request #2401 from wjlroe/print-pinned-on-outdatedMike McQuaid
Include the pinned version in brew outdated output for pinned formulae
2017-03-30Merge pull request #2414 from sjackman/update-test-fetch-shallowMike McQuaid
update-test: Use git fetch --tags --depth=1
2017-03-30Merge pull request #2418 from MikeMcQuaid/formula-installer-another-testMike McQuaid
formula_installer_spec: add default formula test.
2017-03-30formula: check installed_alias_path exists.Mike McQuaid
Otherwise return `nil`. Fixes https://github.com/Homebrew/brew/issues/2417
2017-03-30Fix handling of tap migrations to new cask names.Mike McQuaid
Need to check for two `/`s rather than one.
2017-03-30Merge pull request #2399 from MikeMcQuaid/unversioned-formulae-checkMike McQuaid
audit: check for unversioned formulae.
2017-03-30Merge pull request #2392 from MikeMcQuaid/cleanup-tapsMike McQuaid
Update all references to taps.
2017-03-30formula: handle missing deps when formula missing.Mike McQuaid
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.
2017-03-30Merge pull request #2410 from reitermarkus/container-exectuableVĂ­tor GalvĂŁo
Add `Container::Executable`.
2017-03-29audit: Fix cctools invocation check regular expression.William Woodruff
Additionally, ignore the cctools formula itself, since it obviously needs to check cctools invocations.
2017-03-29formula_installer_spec: add default formula test.Mike McQuaid
Test the situation where a requirement is satisfied by a non-formula but the `default_formula` is also installed.
2017-03-28Merge pull request #1828 from woodruffw/audit-cctoolsWilliam Woodruff
audit: Check for invocations of cctools.
2017-03-28diagnostic: also accept trailing / on git urls.Mike McQuaid
2017-03-28Merge pull request #2413 from JCount/increase-minimum-git-versionMike McQuaid
diagnostic: increase minimum git version to 1.8.5
2017-03-28Merge pull request #2398 from MikeMcQuaid/doctor-check-homebrew-coreMike McQuaid
diagnostic: check homebrew/core git remote.
2017-03-28update-test: Use git fetch --tags --depth=1Shaun Jackman
Use git fetch --tags --depth=1 to fetch fewer commits.
2017-03-28diagnostic: increase minimum git version to 1.8.5JCount
older versions do not support the 'git -C <path>' option
2017-03-28update latest versions of Xcode for 10.11 & 10.12EricFromCanada