aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2016-07-29link: don't link /usr/local openssl.Mike McQuaid
See https://langui.sh/2015/07/24/osx-clang-include-lib-search-paths/ for an explanation and https://gist.github.com/tdsmith/4b502c5cc6e7d358acdf for reproduction instructions.
2016-07-27Make method names inquisitiveTim D. Smith
Closes #592. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-07-27Don't fail on arbitrary absolute symlinksTim D. Smith
Still forbid absolute symlinks including prefix
2016-07-27Factor out absolute symlink testTim D. Smith
2016-07-18reinstall: handle new optionsXu Cheng
Since we are loading options as Formula#build from tab, we will have to explicitly read options from ARGV as well. Fixes #3066. Closes #537. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-18remove unnecessary `Tab.for_formula`Xu Cheng
We already loaded tab in ARGV.resolved_formulae or Formulary.from_rack
2016-07-18create: path.version may be nilXu Cheng
Fixes https://github.com/Homebrew/homebrew-core/issues/3067.
2016-07-16audit: prevent crash from nil exitstatus (#532)Margaret Lewicka
If rubocop invocation from brew audit exits with nil exitstatus, brew audit fails with 'undefined method `>' for nil:NilClass'.
2016-07-16Unify Version.create usageVlad Shablinsky
Substitue each Version.new and HeadVersion.new with Version.create to unify Version and HeadVersion instantiation among core code. Note that this does not relate to Mac::OS::Version class.
2016-07-16update: Don't report formulae that are moved within a tap but not renamed (#480)Josh Hagins
2016-07-15update.sh: fix Git path.Mike McQuaid
Closes https://github.com/Homebrew/brew/issues/519 Closes https://github.com/Homebrew/homebrew-core/issues/3029
2016-07-15brew.{rb,sh}: move to Library/Homebrew. (#506)Mike McQuaid
2016-07-15ENV: move to new paths. (#507)Mike McQuaid
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
2016-07-14various: don't assume non-OS X == Linux.Xu Cheng
2016-07-14update: git init for core tap as well (#510)Xu Cheng
A temporary measure before we decide whether vendor git or not.
2016-07-13audit: avoid unnecessary regexXu Cheng
Regex is way slower than normal String#include? and String#start_with?. Also, we often forget to proper escape them. So avoid using them if it is not necessary. Closes #503. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-13various: proper escape dot in regexXu Cheng
2016-07-13various: proper escape in regexXu Cheng
2016-07-13audit: update ruby dependency adviceDominyk Tiller
Closes #495. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-12update.sh: improve verbose output and readability. (#486)Mike McQuaid
Would have made it easier to debug https://github.com/Homebrew/homebrew-core/issues/2804 where wasn't clear which directory was causing the issue.
2016-07-12superenv: port to generic OS. (#457)Mike McQuaid
2016-07-12style: use RuboCop 0.41.2, adjust defaults (#489)Martin Afanasjew
Changes to our style configuration: - Consolidate all rules related to Ruby 1.8 compatibility in one place. - Codify our de-facto preference for `alias_method` over `alias` (drops offense count by 54 after turning this on). - Drop `Style/SignalException` as `only_raise` has been the new default for quite a while (since RuboCop 0.37.0).
2016-07-11add vendor-install commandXu Cheng
2016-07-10tap-info: expose whether a tap is privateMartin Afanasjew
Or how many taps are private when summarizing all installed taps.
2016-07-10tap-info: expand and correct help textMartin Afanasjew
2016-07-10audit: flag incorrect language/go requiresDominyk Tiller
2016-07-10update: mimic doctor permissions adviceDominyk Tiller
We might as well be consistent about it, since it's not obvious to people what the next step is after we've pointed out the directory isn't writable. Fixes #476.
2016-07-10audit.rb: require https for download.savannah.gnu.org (#438)Viktor Szakats
and download-mirror.savannah.gnu.org
2016-07-09bottle: revert overeager rename in method callMartin Afanasjew
2016-07-09keg_relocate: port to generic OS. (#453)Mike McQuaid
2016-07-09tap: run readall when tapping. (#396)Mike McQuaid
* readall: move readall logic to new class. * tap: run readall when tapping. This will prevent tapping an tap with syntax errors from causing issues for users. Fixes #58.
2016-07-08cmd/install: port to generic OS. (#458)Mike McQuaid
2016-07-07Autoupdate tweaks (#442)Mike McQuaid
* Don't infinitely recurse `brew update --preinstall`. This could happen when trying to `brew install git` inside `brew update --preinstall`. * update.sh: cache Git PATH. We don’t need to look it up from superenv every time; this is slow. * update.sh: print message before preinstall updates. * update.sh: verbose output fetch directory. This aids reading `brew update --verbose --debug` output. * update.sh: skip taps without formulae on preinstall. We don’t need to update them as we’re not invoking them. * update.sh: don't force update-report on developer preinstall. This is too slow.
2016-07-06development_tools: add installed? method. (#455)Mike McQuaid
2016-07-05gist-logs: truncate log files to be gist-friendly (#279)Andrew Janke
Truncates each log file to about 1 MB. This avoids upload and download errors with the gists, and respects GitHub's suggested size limits.
2016-07-04diagnostic: more porting to generic OS. (#449)Mike McQuaid
2016-07-04Remove unnecessary official command tapping.Mike McQuaid
2016-07-04Revert "Revert "Test officially supported cmd taps. (#390)""Mike McQuaid
This reverts commit dba1958bd79c1c9d18f215dfc2b806ea62edd1c8.
2016-07-04Revert "Test officially supported cmd taps. (#390)"Martin Afanasjew
This reverts commit 252c701c59227c385ef6178fe99523cca8c843bb. Taps installed prior to running the test suite are not visible to the test suite as most Homebrew paths are redefined as to not mess up the local installation.
2016-07-04Test officially supported cmd taps. (#390)Mike McQuaid
All of these taps use Homebrew internal APIs (or will shortly) and we autoinstall them all from `brew $CMD`. We should adjust our CI to ensure that we never accidentally break these taps when making changes to core code so that these taps can rely more on this core code rather than having to e.g. vendor equivalent code that never changes on our end.
2016-07-04install: undocument --force-bottle. (#443)Mike McQuaid
This is a developer-only option I created for testing purposes. It should not be used by end-users.
2016-07-04tests: default to testing offline. (#430)Mike McQuaid
Set HOMEBREW_NO_GITHUB_API to allow running all tests (but search's integration test specifically for now) offline. This can be overridden with `--online`.
2016-07-04style: use RuboCop 0.41.1 (#433)Martin Afanasjew
Tweak `Style/NumericLiteralPrefix` cop settings as we're using octal literals a lot (both in formulae and the package manager) for file permissions and aren't ready just yet to transition them to the more beginner-friendly `0o` prefix (instead of the more obscure `0` prefix).
2016-07-03update-report: prune on cask migration. (#428)Mike McQuaid
Do this to ensure that any symlinks in the Homebrew prefix and/or in Applications are removed to stop issues with stale symlinks causing Casks from being installed correctly.
2016-06-30bottle: add `--skip-relocation` flag to skip keg relocateXu Cheng
This flag is indented to be used in `homebrew/portable` to build vendor ruby/git/curl.
2016-06-29Add magic token to hide commands from man pageTim D. Smith
Closes #402.
2016-06-29Document command line options for brew testsTim D. Smith
2016-06-29cmd/install: use migration_needed?Vlad Shablinsky
Closes #411. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-06-29brew.sh: rename 'chdir' to 'safe_cd'Martin Afanasjew
This is inspired by `safe_system` with basically the same implication (fail on error), making the name a lot less confusing and avoiding a clash with the `chdir` function previously defined in `bin/brew`. Closes #414. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-06-24create: add --tap option (#389)Zhiming Wang
This commit adds a --tap option to the create command such that a user could create a formula in a specified tap instead of the core.