aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-03-08test_update_report: simplify testXu Cheng
Closes Homebrew/homebrew#49874. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-03-08update: checkout branch unconditionallyXu Cheng
2016-03-08update: passing --force to git fetchXu Cheng
Per document: > -f, --force > When git fetch is used with <rbranch>:<lbranch> refspec, it refuses > to update the local branch <lbranch> unless the remote branch > <rbranch> it fetches is a descendant of <lbranch>. This option > overrides that check.
2016-03-08blacklist: suggest Cask for installing mactexcubuspl42
Closes Homebrew/homebrew#49817. Signed-off-by: Alex Dunn <adunn@ucsb.edu>
2016-03-08install_renamed: handle recursive installs.Mike McQuaid
Closes Homebrew/homebrew#49845. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-03-07test-bot: fix wrong tap argument checkXu Cheng
2016-03-07test-bot: check if current repo is a tapXu Cheng
If it's not a tap, we test formula on CoreTap. This can happen if we run test on a fork, e.g. Linuxbrew or future Homebrew/brew. Closes Homebrew/homebrew#49844. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-03-07tap various commands: use tap name method.Xu Cheng
Instead of hard coded `Homebrew/homebrew`
2016-03-07add compat/tapXu Cheng
To keep backward compatibility for API name changing.
2016-03-07rename CoreFormulaRepository to CoreTapXu Cheng
Core tap will be separated from core code in the near future. It makes sense to rename it to CoreTap.
2016-03-07mlton 20130715 (new formula)Matthew Fluet
MLton is whole-program, optimizing compiler for Standard ML. A previous mlton formula simply installed the upstream binary release and was moved to the boneyard as a binary-only formula (see Homebrew/homebrew#21780). This new mlton formula builds from source, using the upstream binary release to bootstrap. Closes Homebrew/homebrew#48694. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-03-06download_strategy: correct S3 url regexXu Cheng
2016-03-06tap: add methods to get git related informationXu Cheng
These methods will be used in `brew --version`, `brew config` and `brew doctor` after core/formula separation. Closes Homebrew/homebrew#49796. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-03-05CoreFormulaRepository: move require statements to the topXu Cheng
This commit will help to mitigate bug Homebrew/homebrew#42553 on certain old Homebrew installations (e.g. `osx_image: xcode6.4` on Travis CI) for future core/formula separation. On that particular Homebrew installations, `formulary.rb` will be loaded after `git pull` is finished during `brew update`, which will then load `core_formular_repository.rb`. By introducing `require "tap_migrations"` and `require "formula_renames"` at the top of `core_formular_repository.rb`, we could use `tap_migrations.rb` as a vector to preform certain hack for future core/formula separation.
2016-03-03Allow S3 buckets to have dotsKel Cecil
Closes Homebrew/homebrew#49729. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-03-01Clarify case conventions in formula namingDamien Pollet
If a formula's class name contains an uppercase-spelled acronym, the messages given by `brew install` can be pretty confusing (it recommends a formula named exactly the same…) Closes Homebrew/homebrew#49639. Signed-off-by: Tim D. Smith <git@tim-smith.us>
2016-03-01diagnostic: only warn about local newline configJosh Hagins
cd to `HOMEBREW_REPOSITORY` before checking git newline settings. Closes Homebrew/homebrew#49565. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-29Formula-Cookbook: Improve testing suggestionsGeorge Hartzell
Based on recent feedback on some pull requests, I touched up the section about adding tests to formula. I wanted to make it clearer that the examples demonstrate how to create files on the fly and add a pointer to the tinyxml2 formula (DomT4 pointed it out to me as a good example). Closes Homebrew/homebrew#49641. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-28test-bot: make bottle stats visible by defaultTim D. Smith
Closes Homebrew/homebrew#49620.
2016-02-27brew.sh: improve empty argument handlingMartin Afanasjew
Follow-up to Homebrew/homebrew#49327 that leaves empty argument handling to the Ruby code (it is a bit more sophisticated and distinguished between `help` and an empty argument list and treats them differently) instead of hard-wiring the former to the `help` command. Closes Homebrew/homebrew#49538. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-02-26brew.sh: drop reference to removed 'update-ruby'Martin Afanasjew
This is a follow-up fix to a minor oversight in Homebrew/homebrew#49523.
2016-02-26tap: support --quieter flagXu Cheng
Closes Homebrew/homebrew#49551. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-26Tap#install: support quiet optionXu Cheng
2016-02-26formula: sort outdated versions naturally.Usman Akeju
Because the versions are read from directory listings, we get alphabetical sorts of version numbers in `brew outdated` output: some-keg (10.1.10, 10.1.11, 10.1.9 < 10.1.12) This is nicer: some-keg (10.1.9, 10.1.10, 10.1.11 < 10.1.12) Closes Homebrew/homebrew#49534. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-26various: use Tap abstractionXu Cheng
formula_rename and tap_migrations are now handled inside Tap. Closes Homebrew/homebrew#49549. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-26ARGV: switch? should only has one dashXu Cheng
If user inputs argument such as `-with-flag`, we can assume it's a bad flag. Closes Homebrew/homebrew#49256 Closes Homebrew/homebrew#49550. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-26test_formulary: use CoreFormulaRepository abstractionXu Cheng
2016-02-25os/mac/ruby_mach: don't hide actual parse errorsMartin Afanasjew
The current approach of suppressing all output regardless of what the error is makes it very hard to debug any issues and misread but valid Mach-O files will be silently interpreted as non-Mach-O files instead. Prefer to fail if we are a Homebrew developer or running on the bot (`HOMEBREW_DEVELOPER=1`), so that problems will be noticed and fixed before the silent failure leads to hard-to-diagnose user problems. Closes Homebrew/homebrew#48817. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-02-25vendor/macho: update to 0.2.2-39-ge2fbedc9Martin Afanasjew
2016-02-25remove update-rubyXu Cheng
Closes Homebrew/homebrew#49523. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-25bin/brew: unset POSIX mode.Mike McQuaid
We're using /bin/bash and not /bin/sh for a reason so don't allow users to override this (seen in Homebrew/homebrew#49514). Closes Homebrew/homebrew#49515.
2016-02-25update-report: fix new_full_name in reportXu Cheng
2016-02-25test_update_report: fix testXu Cheng
Closes Homebrew/homebrew#48546. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-25update-report: refactoringXu Cheng
* Better variable/class name. `update-report` isn't response to actual update. * Use abstraction offered by Reporter and ReproterHub class. * Failure on one tap won't affect migration preformed by other taps. * Simplify logic and prepare for core/formula separation.
2016-02-25update-report: refactoring ReporterHubXu Cheng
* Better variable/class name. * Remove obsolete update_renamed, this is now handled inside each reporter. * Remove obsolete formula file path to name computation, which is also handled by reporter. * Hide low lever implementation detail to offer better abstraction. Use `add(reporter)` instead of `Hash#update` to add new report.
2016-02-25update-report: use tap inside ReporterXu Cheng
* Avoid tons of unnecessary file path manipulation. Use abstraction offered by Tap class if possible. * Handle formula rename/tap migration inside reporter in per tap basis. * Avoid duplicated computation. * Remove redundant/dead code.
2016-02-25add Tap#tap_migrationsXu Cheng
This enables tap migration feature in per tap case, which will ultimately help core/formula separation.
2016-02-25Haskell: cap cabal-install make jobs at 64Misty De Meo
Fixes Homebrew/homebrew#49509. Closes Homebrew/homebrew#49511. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-25README.md: Fix a typoShaun Jackman
Closes Homebrew/homebrew#49500. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-24TapLoader: improve load logicXu Cheng
* Use `Tap#formula_dir` instead of `Tap#formula_files` to find formula file to have better performance and avoid caching issue. * Change the loader logic to search name -> search alias -> search old name. This is more consistence with what we do when loading core formula file. Closes Homebrew/homebrew#49484. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-02-23list: exclude .github from unbrewedPaul Phillips
Recently added files polluting brew ls --unbrewed results. Closes Homebrew/homebrew#49456. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-23README: use secure SFC linksDominyk Tiller
2016-02-23README: add SFC and donations section.Mike McQuaid
2016-02-22haskell: fix empty flags build failuresilovezfs
Fixes a regression introduced by Homebrew/homebrew#47950 in 9e3ee3e causing build failures with the error cabal: The file does not exist ''. This will occur whenever the optional :flags key isn't in the options hash passed to install_cabal_package. Closes Homebrew/homebrew#49425. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-22audit: a couple more testsBaptiste Fontaine
Closes Homebrew/homebrew#49404. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-22update: better handle merge conflicts.Mike McQuaid
When there are merge conflicts we fail pretty hard. This is still possible after this commit but at least we've given Git enough pointers to make it less likely. Closes Homebrew/homebrew#49299. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-22git-annex: force-enable "webapp" flagCedric Staub
To address issue Homebrew/homebrew#47346 (git-annex-webapp missing), we explicitly enable the "webapp" flag for git-annex. This should prevent git-annex from being built without the webapp and make the build fail if there is e.g. a dependency issue. Closes Homebrew/homebrew#47950. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-02-21go: warn about no-op stage_deps callsBaptiste Fontaine
Closes Homebrew/homebrew#49389. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-21Haskell#cabal_install more robust deps resolutionilovezfs
The default max-backjumps can be too low, especially since Language::Haskell::Cabal doesn't guarantee an LTS config. In particular, this fixes a git-annex build failure in Homebrew/homebrew#47950 Closes Homebrew/homebrew#49158. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-21FileUtils::mktemp fix for OS X 10.6.7 and earlierilovezfs
FileUtils::fu_get_gid only started doing the conversion of the group to_s automatically from OS X 10.6.8 (ruby-1.8.7-p358) forward. OS X 10.6.7 (ruby-1.8.7-p174) would fail in brew's FileUtils::mktemp with the error "Error: can't convert Fixnum into String." Fixes Homebrew/homebrew#49045 Fixes Homebrew/homebrew#49348 Closes Homebrew/homebrew#49369. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>