aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2015-02-01untap: Handle multiple argumentschdiza
Closes #36436. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-27test-bot: support --devel and/or --HEAD installDominyk Tiller
See discussion in https://github.com/Homebrew/homebrew-devel-only/pull/8 In essence, the test bot currently does this: ``` ==> brew install --verbose --build-bottle j2objc FAILED Error: j2objc is a devel-only formula Install with `brew install --devel j2objc` ``` I’m proposing that we pass that arg to the test-bot automatically to allow the bot to pass head-only and devel-only formulae without that failure message. I’ve also trimmed the arguments further down to prevent it duplicating the —devel install in formulae which define no stable block. Closes #36030. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-27config: be quieter with java_home.Mike McQuaid
References #36249.
2015-01-26audit: stop red-flagging devel-onlyDominyk Tiller
Currently the bot is failing certain devel-only formulae because it thinks having ` devel ` defined with an added ` head ` defined as well = a head-only formula. ``` ==> audit problems docker-machine: * Head-only (no stable download) ``` This is a pretty simple fix for that problem: ``` ==> brew style docker-machine 1 file inspected, no offenses detected ``` Closes #36197. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-25brew-config: check whether java exists in PATHXu Cheng
For OS X, we will call `/usr/libexec/java_home` to exam whehter java is installed. Also rename the method to follow the same naming pattern of other similar methods. Closes #36187. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-23pull: allow temporarily editing an empty commit.Mike McQuaid
2015-01-22Deprecate GithubGistFormulaJack Nagel
Closes #36094.
2015-01-22Audit check for gnome unstable as stableJack Nagel
2015-01-22config: add Java to output.Baptiste Fontaine
Closes #35596. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-20Expose bottle details on the formula objectJack Nagel
Fixes #36032.
2015-01-17test-bot: handle devel-only formulae.Mike McQuaid
2015-01-17brew-config: show realpath for pyenv and rbenvXu Cheng
Closes #35819. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-16install: fix --HEAD for formulae with head and devel but no stableJack Nagel
2015-01-15install: handle devel-only correctlyDominyk Tiller
See the discussion in https://github.com/Homebrew/homebrew-devel-only/pull/6 Closes #35793. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-15doctor: accepting the Xcode license requires sudo.Mike McQuaid
2015-01-15pull: merge and rebase when pulling bottles.Mike McQuaid
This seems to be a more robust approach when a PR has multiple commits.
2015-01-13Add message to the exception raised when tests return falseJack Nagel
2015-01-13Move assertion setup into formula_assertions.rbJack Nagel
2015-01-13Save and restore ENV around test invocationsJack Nagel
This prevents mutations that happen in individual tests from leaking into other tests.
2015-01-12doctor: check access on HOMEBREW_PREFIX/optJack Nagel
2015-01-12doctor: check access on all important HOMEBREW_PREFIX subdirsJack Nagel
2015-01-12doctor: check cellar accessJack Nagel
2015-01-12doctor: fix grammarJack Nagel
2015-01-12doctor: remove incorrect statement from HOMEBREW_LOGS checkJack Nagel
2015-01-11cleanup-installed: use uninstall --force.Mike McQuaid
2015-01-09test-bot: unlink conflict formulae during the testXu Cheng
Closes #35697. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-09test-bot: improve output of dependent testing.Mike McQuaid
2015-01-09test-bot: ignore changed dependents.Mike McQuaid
2015-01-08Remove another use of the direct url writerJack Nagel
masgn is hard to grep for :/
2015-01-06audit: improve ssl/tls detectionDominyk Tiller
I don’t know how maintainers are going to feel about this, to be honest. If it’s too clunky, perhaps we could externalise the entire two main blocks here and then require that file into the audit instead? Basically, I’m pushing changes here to better detect a wide-array of SSL/TLS available links that either have no auto-redirect in place or is a common linking error in formulae. I haven’t spotted any false positives yet, but obviously, feel free to try and break the changes and I’ll fix as necessary ;). IMO, this would allow us gradual updates without having to mass-update everything at once and stress the bot and inform users they have hundreds of updates pending when really it’s just style/basic changes. Closes #35551. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-05Fix syntax errorJack Nagel
2015-01-05Always use exec_editor to exec the editorJack Nagel
2015-01-05style: explicitly point to config file.Mike McQuaid
Closes #35556.
2015-01-05audit (strict): only run `brew style` with Ruby 2.Mike McQuaid
2015-01-05install: fail on devel where devel doesn't existDominyk Tiller
Just equalises a little how we treat HEAD and devel. The former already fails if there isn’t a head defined, It seemed logical that devel should fail in the same way. Closes #35554. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-04Forward arguments in IRB formula helpersJack Nagel
2015-01-04Checkout outdatedness in `brew upgrade <formula>`Jack Nagel
Fixes #35523.
2015-01-04audit: also run `brew style` on `--strict`.Mike McQuaid
Closes #35465. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-04style: run Rubocop on formulae (new command)Mike McQuaid
2015-01-04tests.rb: use Homebrew.failed to send exit code.Mike McQuaid
2015-01-04Use more https in urls and updated some lost linksViktor Szakats
Closes #35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-04Explicitly pass formulae to outdated_brewsJack Nagel
2015-01-03brew irb --help replaced with --examplesBaptiste Fontaine
The --help flag is intercepted by brew.rb and prints the global usage string. `irb` is never called when `brew irb --help` is executed. Closes #35466. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03Get rid of mixed operator stylesJack Nagel
2015-01-02Add Homebrew.install_gem_setup_path! function.Mike McQuaid
This uses the logic from tests.rb in man.rb too so that this can be shared in a few places.
2015-01-02audit: system check fixed for multiple argumentsBaptiste Fontaine
Closes #35459. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-02test-bot: do not --cleanup outside CI.Shaun Jackman
Closes #35424. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-02pull: fix tap URL regex for devel/head-only.Mike McQuaid
2014-12-31Handle newer ruby versions correctly in config outputJack Nagel
Since Ruby 2.1, patch releases take the form "2.x.y" rather than "2.x.y-pnum".
2014-12-30Log build environment on failureJack Nagel