aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-05-05xcode: avoid invoking 'xcodebuild -version' twiceMartin Afanasjew
This primarily benefits CLT-only systems where invoking the `xcodebuild` wrapper in `/usr/bin` will fail (twice) with the following message: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Closes #198. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-05-05xcode: fix invalid range in comparisonMartin Afanasjew
Due to a typo, the range of LLVM build versions 2066 to 2325 were never matched and thus Xcode 3.2.0 could never be inferred from that. (Only relevant for legacy systems. Doesn't seem to have impacted any users.)
2016-05-05xcode: expect 7.3.1 on 10.11Martin Afanasjew
2016-05-04doctor: guard against nil Xcode.version (#197)Andrew Janke
MacOS::Xcode.version may be nil (when neither Xcode nor CLT are installed), so guard against that where it may happen in `brew doctor`.
2016-05-04Don't report cask to analytics.Mike McQuaid
2016-05-04pull: fix references to renamed variableMartin Afanasjew
Fix bug originating in #132.
2016-05-03dependency_collector: add perlDominyk Tiller
Closes #184. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-05-03perl_requirement: addDominyk Tiller
2016-05-03deps: split and clarify documentationMartin Afanasjew
`brew deps` has three different modes of operation that were not easy to infer from the existing documentation. Split the help text into three parts to make this clearer. This also improves on the confusion when options were silently ignored because they don't apply to a certain mode of operation. Those are: 1. List the shared dependencies (either intersection or union) of explicitly named formulae with options for traversal depth/order. 2. Output separate trees of explicitly listed or all installed formulae. 3. List all available/installed formulae and their direct dependencies with one line per formula formatted as `<formula>: <dependencies>`. Closes #137. Closes #179. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-05-03Tty: Avoid truncating if not sensibleScore_Under
This causes truncate to simply return the original string if the terminal is not very wide, or if the terminal is unsupported.
2016-05-03pull: fix polling code for Ruby 1.8.7 Net::HTTP (#191)Andrew Janke
2016-05-03update.sh: abort rebase and merge.Mike McQuaid
`brew update` can cause these so `brew update` should repair these.
2016-05-03update: improve some edge cases.Mike McQuaid
- When running `brew update` and there’s been no changes from upstream on any repositories there’s no need to call the (relatively) slow `brew update-report` when we already know what it will say (“Already up-to date.”). - When any`git fetch`es fail then throw out an error at the end of the output and produce a failing exit code (closes #65).
2016-05-03analytics: move to a class. Mike McQuaid
Global namespaces are good to avoid when possible.
2016-05-03brew pull: cross-platform bottle verification, concise output (#132)Andrew Janke
Do the bottle check using any platform's bottle, so `brew pull` works on bottled formulae which don't include a bottle for the current system. Make output more concise and informative * Remove expected download error messages when waiting for Bintray publishing * Replace patch download progress bars with patch file name * Silence git output about switching to and from bottle-pulling branch * Include formula name and patch type in some progress messages
2016-05-03audit: fix false-positive for '--with-check' from 'depends_on "check" => ↵Andrew Janke
:optional' (#188) Fixes #170
2016-05-03Switch to bbatsov's Style Guide since GitHub's is 404 (#189)Andrew Janke
Fixes #106
2016-05-03update.sh: remove GIT_ASKPASS=false.Mike McQuaid
This doesn't work as expected and causes confusing user errors. References #95.
2016-05-03Fix a variable name in error message (#190)Toru Tanaka
2016-05-02Update Homebrew/homebrew references in man pageMartin Afanasjew
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew` depending on context. Closes #175. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-05-02Update Homebrew/homebrew references in codeMartin Afanasjew
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew` depending on context.
2016-05-02Update Homebrew/homebrew references in commentsMartin Afanasjew
Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew` depending on context.
2016-05-02update: escape ? in the help flag listXu Cheng
Otherwise it will match any character
2016-05-02update: more help flag (#180)Xu Cheng
To be synced with the help flag list in brew.rb
2016-05-01add `brew analytics` command (#173)Xu Cheng
2016-05-01download_strategy: use svn info --xml (#174)Uladzislau Shablinski
2016-05-01JavaRequirement: use next instead of return in code blockXu Cheng
2016-05-01download_strategy: fossil source_modified_timeVlad Shablinsky
Closes #171. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-05-01download_strategy: bazaar source_modified_timeVlad Shablinsky
2016-05-01download_strategy: mercurial source_modified_timeVlad Shablinsky
2016-04-30Skip tmux warning if reattached to user namespaceilovezfs
The exit status of pbpaste is a proxy for whether the user has set up reattach-to-user-namespace. It should be 0 if it is set up, 1 otherwise. This is the same hack as Homebrew/homebrew-services#48.
2016-04-30analytics: relocate UUID to homebrew.analyticsuuid in .git/configZhiming Wang
This way analytics related settings and parameters (currently analyticsdisabled, analyticsmessage and analyticsuuid) are all kept in the same place. Note that in this commit we offer a path of migration: if ~/.homebrew_analytics_user_uuid already exists, read the UUID from it, write to homebrew.analyticsuuid, and remove it. See more detailed discussions in #145. Closes #162. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-04-29compilers: support gcc 6Izaak Beekman
2016-04-30download_strategy: add svn source_modified_time (#156)Uladzislau Shablinski
2016-04-27audit: whitelist kibana from Language::Node check (#161)Christian Moritz
2016-04-27Language::Node.npm_install_args: add helper method (#37)Christian Moritz
* add Language::Node helper module This adds a language module for Node module based formulas. It contains the 2 public methods `std_npm_install_args(libexec)` and `local_npm_install_args`: * `std_npm_install_args` is intended to be used in formulas for standard node modules and returns `npm install` args for a global style module installation to libexec. * `local_npm_install_args` is for formulas, in which the `npm install` step is only one of multiple parts of the installation process and returns `npm install` args for a default local installation in place. Both methods have in common, that they are * making sure that a working copy of npm and node-gyp from node's libexec is prepended to the PATH (to not rely of a user managed npm) * seting the npm cache to HOMEBREW_CACHE/npm, which fixes issues caused by overriding $HOME resulting in long install times + high disk usage (see https://github.com/Homebrew/brew/pull/37#issuecomment-208840366) * audit: update npm install check for Language::Node * cleanup: remove npm_cache too * doc: add Node-for-Formula-Authors.md
2016-04-26Analytics: Separate user-supplied and internal-use DISABLE_ANALYTICS (#155)Andrew Janke
This prevents `brew` self-calls from interacting with the stickiness of HOMEBREW_NO_ANALYTICS being persisted to the brew repo and accidentally disabling analytics permanently when it should have been for just one run, while restoring the stickiness of an explicit user-supplied HOMEBREW_NO_ANALYTICS.
2016-04-26fix setup-analytics (#154)Xu Cheng
DO not invoke git config because HOMEBREW_NO_ANALYTICS, otherwise it will disable analytics for everyone when running `brew update` in following manners: * `brew update` will set HOMEBREW_NO_ANALYTICS because the absence of `homebrew.analyticsmessage` * `brew update-report` will set `homebrew.analyticsdisabled` because of HOMEBREW_NO_ANALYTICS. Also reduce file IO.
2016-04-25More analytics tweaks.Mike McQuaid
Provide a single command that can be run to disable analytics, run it if `HOMEBREW_NO_ANALYTICS` is ever set and remove the user UUID file in that case too. References https://github.com/Homebrew/brew/issues/142.
2016-04-25Point to analytics documentation on brew update.Mike McQuaid
Make sure that users are notified on the first run of `brew update` after we enabled analytics about how it works and how to opt-out. This will be shown to all users who have not already seen this message from `brew update` or through a new Homebrew installation. References https://github.com/Homebrew/install/pull/42 References https://github.com/Homebrew/brew/issues/142
2016-04-24keg_relocate: don't assume .la files are in lib.Mike McQuaid
Sometimes they are in e.g. libexec but there's no real reason to assume they are anywhere; we want to relocate them regardless.
2016-04-23Ship analytics for Homebrew.Mike McQuaid
For more information and opt-out instructions please read: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md#analytics
2016-04-22JavaRequirement: return false if no java_homeMisty De Meo
Closes #118. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2016-04-22Explicitly list -arch in LDFLAGS on LeopardMisty De Meo
2016-04-22Reenable HOMEBREW_PREFER_64_BITMisty De Meo
2016-04-22Add :expat special dependencyMisty De Meo
This will be expanded to a full expat dependency on Tiger alone. Fixes mistydemeo/tigerbrew#30.
2016-04-22Tiger tar requires explicit formatMisty De Meo
2016-04-22Use GCC 4.2 as the default compiler when installedMisty De Meo
2016-04-22STANDARD_COMPILERS: add Xcode 2.0Misty De Meo
2016-04-22Set -faltivec in CFLAGS on TigerMisty De Meo
Setting -mcpu and -mtune on Tiger with gcc-4.2 exposes a bug in one of the system headers, causing certain builds to fail. This can be fixed by adding -faltivec to CFLAGS. See: http://trac.macports.org/ticket/34213