aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
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
2016-04-22Mac: don't call xcrun on TigerMisty De Meo
2016-04-22subversion: don't use system APR on TigerMisty De Meo
2016-04-22Update CompilerSelectionErrorMisty De Meo
Fixes mistydemeo/tigerbrew#207. Fixes mistydemeo/tigerbrew#330.
2016-04-22Add a helper to determine make path on TigerMisty De Meo
2016-04-22Hardware: PPC970 needs -m64 to build 64-bitMisty De Meo
Fixes mistydemeo/tigerbrew#37.
2016-04-22config: return early if java_home is missingMisty De Meo
Fixes mistydemeo/tigerbrew#365.
2016-04-22stage: fix block signature back-compatibility under Ruby 1.8.7Andrew Janke
The new stage() signature introduced by #66 breaks back-compatibility under Ruby 1.8.7. This fixes it by switching back to a one-argument block signature and using a new class to wrap both the Resource and Mktemp info for the staging context, in a signature-back-compatible way. Addresses homebrew/homebrew-core#529. Closes #135. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-22update: rebase (rather than merge) by default.Mike McQuaid
We want to always avoid merge commits being committed to Homebrew so this feels like a better fit.
2016-04-22caveats: recommend brew services for plists.Mike McQuaid
It simplifies the number of commands and it's now an officially supported command again.
2016-04-22readall: also check 'brew.rb' for issuesMartin Afanasjew
Closes #119. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-04-22readall: stop using no longer needed 'nostdout'Martin Afanasjew
Since switching from `system` to `Utils.popen_read` we no longer need to suppress Ruby's output of `Syntax OK` to `$stdout`.
2016-04-22readall: fail on Ruby syntax warningsMartin Afanasjew
Previously, syntax warnings were printed, but didn't cause `readall` to exit with a non-zero exit code. Now they do, making it easier to catch accidentally introduced syntax warnings in the test bot.