aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2012-08-26create: allow --set-name and --set-versionAdam Vandenberg
Closes Homebrew/homebrew#10873. Closes Homebrew/homebrew#14401. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-25Miscellaneous bottle code cleanup.Mike McQuaid
2012-08-25Rename tab 'built_bottle' to 'build_as_bottle'.Mike McQuaid
2012-08-25audit checks for passing dashes to build.include?Adam Vandenberg
2012-08-22audit: be a bit more lenientAdam Vandenberg
2012-08-22audit: allow certain ARGV usagesAdam Vandenberg
2012-08-22audit: complain until we use option and buildAdam Vandenberg
2012-08-21`brew irb` uses correct RubyMax Howell
Conversation here: 0a45d96b21a5056e5131f136e94533a6a57bf808
2012-08-21Formula.EnumerableMax Howell
Deprecated Formula.all, replaced usage with more appropriate enumerable options. Just check out how much nicer `brew audit` runs now.
2012-08-21In fact, there are 2 xcode-select files to deleteMax Howell
2012-08-20Simplify build options APIJack Nagel
Simplify access to the different forms of a formula's build options by making options into real objects rather than strings, and expose both the 'name' and 'flag' form.
2012-08-18Don't lie about upgrading up-to-date formulaeJack Nagel
Usually, the "foo-version already installed" error is printed by FormulaInstaller. However, if an up-to-date formula that has outdated deps is passed on the command line, we proceed to upgrade the deps and then print a message saying that the formulae given on the command line is already installed. Catch this earlier, when the outdated list is being populated, print an appropriate message, and skip the up-to-date formula. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18upgrade: filter ARGV when expanding depsJack Nagel
This serves the same purpose as similar code in FormulaInstaller, but we duplicate it because we do the dependency expansion in an ad-hoc fashion here. Fixes Homebrew/homebrew#11863. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18Add ARGV.ignore_deps?Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18Refactor `brew missing`Jack Nagel
The heuristic for determining whether something is installed changes from "f.installed?" to "f.rack.exist? and f.rack.subdirs.length > 0" in order to properly consider outdated formulae. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18Deprecate MacOS.version? style methodsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18outdated: use new version comparison machineryJack Nagel
2012-08-18Add Version#detected_from_url?Jack Nagel
2012-08-18Replace version strings with Version objectsJack Nagel
2012-08-17Remove executable bits from audit.rb and bottle.rbJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-17Stop warning about CLT w/o XcodeMax Howell
Also made the latest_versions checks smarter. Hopefully correct too.
2012-08-14--config: remove confusing XQuartz annotationJack Nagel
Apple's X11 is XQuartz, but this can be confusing, and is ultimately unnecessary for debugging purposes. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-14Improve libiconv diagnostic and suggestionMax Howell
This is coming up a lot at the moment, so here is an attempt to be more helpful.
2012-08-14`brew doctor -D` (diagnostic-dump)Max Howell
-D is now the switch for diagnostic-dumps. Let it be so. Shows how long each doctor method takes in a sorted table at end. I used this to move the two slowest methods to the end of the doctor run so that as much useful information can be shown as quickly as possible. Also now possible to specify on command line which tests should be run.
2012-08-14`brew irb` fixMax Howell
Broke when I removed `require 'formula'` from ARGV.rb.
2012-08-13options: Print "--" in option name for --compactMisty De Meo
This was a regression which caused the bash completion script to fail to complete formula options.
2012-08-13brew cleanup removes .DS_Store filesMax Howell
Probably slow, but we hate these fuckers.
2012-08-12Add :when_xquartz_installed as a keg-only reasonJack Nagel
Using :when_xquartz_installed will tell the keg-only machinery to activate if XQuartz is installed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-12Refactor `brew audit`Jack Nagel
2012-08-12Make Set available globallyJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-11Fix normalization of old- and new-style optionsMisty De Meo
When combining the set of old-style and new-style options, make sure that the leading "--" is stripped. Fixes displaying options in `brew options`, and the exotic case of declaring options using the old syntax and then checking them with `build.include?`
2012-08-11options: Don't add "--" to options that have itMisty De Meo
2012-08-11options: fix missing leading "--" in outputJack Nagel
Closes Homebrew/homebrew#14124. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-10remove trailing whitespaceAdam Vandenberg
2012-08-10Be more verbose when users insist on being sudoersMax Howell
If you google for "Cowardly refusing to sudo brew" you get a lot of confused users who didn't read any of the Homebrew documentation and then had a hissy-fit.
2012-08-09create: Fix indentation for :x11 depMisty De Meo
2012-08-09Remove options audit checkAdam Vandenberg
2012-08-09Fix info/options for new options dslAdam Vandenberg
2012-08-09Run each search_tap in a separate thread to speed things up.hazz
Closes Homebrew/homebrew#14066. Signed-off-by: Max Howell <mxcl@me.com>
2012-08-08Add `option` to the DSLAdam Vandenberg
Closes Homebrew/homebrew#9982
2012-08-07Simplify conditionalJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-07Simplify printing conflicts in `brew info`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-07fix info commandAdam Vandenberg
2012-08-07`brew tap` by itself handles dashes in usernamesMax Howell
This stuff sucks. I'd like to just replace the dash with a directory division or tilde character. But this makes the code even more complicated, unless we can figure out how to migrate the taps.
2012-08-07Print an appropriate message if the tapped repository appears to be privateStafford Brunk
Closes Homebrew/homebrew#12247. Closes Homebrew/homebrew#12244. Signed-off-by: Max Howell <mxcl@me.com>
2012-08-06Fix issues with writable? detection in brew doctorBrandon Black
Closes Homebrew/homebrew#13689. Signed-off-by: Max Howell <mxcl@me.com> There are subtle distinctions between writable? and writable_real? we don't understand precisely why we need this, but it fixes the bugs :/
2012-08-06Restore check for broken xcode-select pathMax Howell
How did this get removed? Had a bug today where user had this but no doctor check so I was confused!
2012-08-06brew --env: Added missing env varssamueljohn
Closes Homebrew/homebrew#13431. Signed-off-by: Max Howell <mxcl@me.com>
2012-08-06Don't error out if never `brew updated`Max Howell
Fixes Homebrew/homebrew#12944.
2012-08-06Suggest git clean -f for untracked changesPatrick Lucas
Currently, if brew doctor detects untracked changes in the local repo, it suggests doing 'git reset --hard', but that doesn't remove untracked files. This change adds an additional suggestion to run 'git clean -f' to remove them. Closes Homebrew/homebrew#12814. Signed-off-by: Max Howell <mxcl@me.com> Changed the path to Library as we don't want to clean -f all over the whole /usr/local :P