aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2015-02-11gist-logs: show the formula origin for non core-formulaXu Cheng
Closes #36730. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-11brew uses: parse ARGV properlyXu Cheng
`ARGV.flag?` = `ARGV.include?` + `ARGV.switch?` Closes #36727. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-09test-bot: only test the runtime dependencies.Xu Cheng
Also add support to `brew uses` to ignore build or optional dependencies. Closes #36154. Closes #36656. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08cmd/info: prevent duplicate dependency display.Xu Cheng
Before: $ brew info llvm ==> Dependencies Build: xz ✔, xz ✔, xz ✔, xz ✔, xz ✔, xz ✔ $ brew info --json=v1 llvm ... "dependencies":["xz","xz","xz","xz","xz","xz"], ... After $ brew info llvm ==> Dependencies Build: xz ✔ $ brew info --json=v1 llvm ... "dependencies":["xz"], ... Closes #36653. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08audit: catch more examples from example_formulaDominyk Tiller
See https://github.com/Homebrew/homebrew/pull/36629#discussion_r24293912 amongst other recent examples. The example formula isn’t as strongly policed as the ` brew create ` default, this tries to do something about that. Closes #36639. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-07Always respect build options when invoking post_installJack Nagel
Fixes #36335.
2015-02-04test-bot: don't try and bottle unstable formulae.Mike McQuaid
e.g. devel-only or head-only formulae.
2015-02-03`brew list foo` should always error when foo is not installedJack Nagel
Fixes #36484.
2015-02-03test-bot: optional requirements are satisfied.Mike McQuaid
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>