aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2015-07-03add `brew command`Xu Cheng
Closes Homebrew/homebrew#41034. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-02audit: fix/extend ietf.org https rulesViktor Szakats
Domains known to be covered by certificates: https://crt.sh/?q=%25ietf.org Closes Homebrew/homebrew#41244. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-30audit: flag re-added tap migrationsDominyk Tiller
Re https://github.com/Homebrew/homebrew/commit/411c2178448916d4005c059bc35ee780b5af53f5#commitcomment-11714539 Closes Homebrew/homebrew#40806. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-26outdated: output full nameXu Cheng
Closes Homebrew/homebrew#41099. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-26outdated: inline methodXu Cheng
2015-06-25Pull complex condition out of loopJack Nagel
2015-06-25Adds JSON output to `outdated` commandColin Dean
After some musing on brunophilipe/Cakebrew#71, I thought it would be useful to let Cakebrew and other tools grab the outdated formulae version information using a method more elegant than regex. Closes Homebrew/homebrew#30693. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-06-25style: bump rubocop to 0.32.1Dominyk Tiller
Closes Homebrew/homebrew#41049. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-23Use Dir.mktmpdir in doctorJack Nagel
This matches how we create temporary directories elsewhere.
2015-06-23Whitelist ntfs-3g libsJack Nagel
Closes Homebrew/homebrew#40950.
2015-06-23Fix audit when tap is nilJack Nagel
This is the case when a formula is passed as a filename.
2015-06-22list: support --full-nameXu Cheng
Closes Homebrew/homebrew#29716.
2015-06-22improve audit_formula_name performanceXu Cheng
Closes Homebrew/homebrew#40939. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-18Pass formula objects, not strings, into the build environmentJack Nagel
2015-06-18'brew man': abort if a formula is givenBaptiste Fontaine
Closes Homebrew/homebrew#40735. Closes Homebrew/homebrew#40736. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-18audit: add benchmark inject codeXu Cheng
Closes Homebrew/homebrew#40847. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-18Revert "audit: add benchmark inject code"Xu Cheng
This reverts commit fb23d603ded2796299ed7fc2f4ffee22870b7ea6.
2015-06-18search: cache remote tap formulaeXu Cheng
Closes Homebrew/homebrew#40775. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-18audit: add benchmark inject codeXu Cheng
2015-06-17search --desc: cache the query regexpBaptiste Fontaine
Closes Homebrew/homebrew#40795. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-16Move 10.11 warning to doctor, pre-install, and post-failureJack Nagel
Fixes Homebrew/homebrew#40778.
2015-06-16doctor: fix __check_linked_brewXu Cheng
This fixes the case when multiple versions of a formula are installed. Closes Homebrew/homebrew#40777. Fixes Homebrew/homebrew#40781. Fixes Homebrew/homebrew#40797. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-06-16doctor: use Formula.installed directlyXu Cheng
Before ``` brew doctor 9.83s user 0.52s system 76% cpu 13.563 total ``` After ``` brew doctor 0.25s user 0.16s system 9% cpu 4.332 total ``` Closes Homebrew/homebrew#40770. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-16Rename requirements named *Dependency.Mike McQuaid
Dependency is another similar, related class and it's super confusing to have some Requirements that are named *Dependency. Closes Homebrew/homebrew#38891. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-15Remove reference to "open" commandJack Nagel
Closes Homebrew/homebrew#40706.
2015-06-15audit: fix for no compat modeXu Cheng
Closes Homebrew/homebrew#40731. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-15cleanup: rescue TapFormulaAmbiguityError caused by Dependency#to_formulaXu Cheng
Closes Homebrew/homebrew#40682. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-15uses: rescue TapFormulaAmbiguityError caused by Dependency#to_formulaXu Cheng
Fixes Homebrew/homebrew#40636.
2015-06-14audit: enforce http for gnu ftpmirrorDominyk Tiller
2015-06-14Tap: make remote a separate method to reduce initial overheadXu Cheng
Also make remote method only response to installed tap.
2015-06-14add TapUnavailableErrorXu Cheng
2015-06-13audit: add npm path nudgeDominyk Tiller
2015-06-13test-bot: always do a `git clean -ffdx`Mike McQuaid
This ensures that all nested Git repositories (e.g. taps) are also deleted. Previously this wasn't needed as we could just rely on the symlinks in `Library/Formula` being missing but since Xu's good work this inadvertedly made the bot's `brew uses foo` start showing things from taps we hadn't previously deleted.
2015-06-12Remove obsolete doctor checkJack Nagel
We don't support 10.5 anymore, and tigerbrew doesn't have this check anymore, either.
2015-06-12Fix linked keg-only check when only directories are linkedJack Nagel
2015-06-11add brew tap-infoXu Cheng
2015-06-11(un)tap/update/readall: use Tap classXu Cheng
2015-06-10Various edits for punctuation, grammar, spelling, etc.Larry Gilbert
Closes Homebrew/homebrew#40478. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-09audit: fix index method for ruby 1.8Xu Cheng
Per https://github.com/Homebrew/homebrew/pull/40472#issuecomment-110357915
2015-06-09style: bump rubocop to 0.32.0Dominyk Tiller
Closes Homebrew/homebrew#40506. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-09audit: add rules on field orderXu Cheng
Closes Homebrew/homebrew#40472. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-08Revert "audit: add rules for non-ascii character and encoding comment"Jack Nagel
This reverts commit ab8fe812377bc60cc18fe8d7c1ea8ce2f0269294.
2015-06-08tap: fix Homebrew/homebrew#40487Xu Cheng
2015-06-08info: fix pluralXu Cheng
2015-06-07cleanup: use bottle_resolve_versionXu Cheng
Closes Homebrew/homebrew#40378. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-07bottle: add homepage and desc into regexXu Cheng
Some formulae put `desc` field behind `url` which can make bottle block go to strange place. So let's add `homepage` and `desc` into bottle regex. Closes Homebrew/homebrew#40469. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-07requirement: allow access default_formula directlyXu Cheng
2015-06-05brew tap: allow tapping non-GitHub repositories.Peter Aronoff
`brew tap` restricts users to GitHub and checks for private repos. I created `brew any-tap` to support a wider variety of taps. With very small changes (and no extra flags!), this change allows users to use `brew tap` with GitHub as they always have or add one extra argument and tap any repository of any type from anywhere. brew tap user/name # Same as it ever was brew tap user/name URL # Tap URL, whatever it happens to be Closes Homebrew/homebrew#40326. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-05singular/plural phrasing in audit reportBaptiste Fontaine
Closes Homebrew/homebrew#40395. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-05Revert "upgrade: announce usage of --all."Mike McQuaid
This reverts commit 9032f165bec3d0c7452169093fab32578816043b. This seems to have been universally unpopular so let's revert it. Closes Homebrew/homebrew#40372. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>