aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2011-12-21Clean up --configAdam Vandenberg
2011-12-20Omit empty caveatsAdam Vandenberg
2011-12-18--HEAD checksAdam Vandenberg
* Force --HEAD for head-only installs * Don't allow --HEAD for stable-only formulae
2011-12-18Audit: warn about head-only formulaeAdam Vandenberg
2011-12-18doctor: check for Enthought PythonAdam Vandenberg
2011-12-16doctor: normalize representation of env variablesJack Nagel
Current warnings contain a mix of variable names with a '$' prefix and without; most documentation omits the '$', so drop it. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-16doctor: fix a couple of git-related checksJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-16--env: dump a few more environment variablesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-16Enable 'brew edit' for non-Textmate editors.Adam Vandenberg
2011-12-15audit: hard wrap dep warningJack Nagel
The warning is lengthy, and usually wraps on 80-column terminals. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-08IdiomsAdam Vandenberg
2011-12-08audit: check for hard-coded compilersJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-02Restore --force behaviour in brew-installMisty De Meo
Fixes Homebrew/homebrew#8933. Closes Homebrew/homebrew#8936. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-30audit: only perform GNU URL check on primary URLsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30audit: disable GNU url checkJack Nagel
It needs to be reworked to only check the primary URLs, as we are now using ftp.gnu.org as a mirror. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-29audit: smake is also a build toolAdam Vandenberg
2011-11-29audit: check for DB deps tooAdam Vandenberg
2011-11-29audit: warn about more "forbidden" dependenciesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-29audit: check for build-time dependenciesJack Nagel
This can be made more robust in the future when we stop throwing away the ':build' type flag in Formula#depends_on. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-29brew doctor: Ignore config files in /usr/X11R6/binCharlie Sharpsteen
`/usr/X11R6` is an Apple-provided symlink to `/usr/X11`. Fixes Homebrew/homebrew#8881.
2011-11-29brew doctor: Note there is no GCC in XCode 4.2+Charlie Sharpsteen
Should help advert confusion surrounding the "could not find gcc 4.2.x" message recieved by Lion users running the latest version of XCode. Fixes Homebrew/homebrew#8876.
2011-11-29Correct cmake syntax in formula templateMisty De Meo
Closes Homebrew/homebrew#8879. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-28uses.rb: Pass a block to map instead of a ProcCharlie Sharpsteen
Passing a `Proc` doesn't work in Ruby 1.8.6 which causes `brew uses` to fail on Leopard.
2011-11-27Move brew-depstree into `brew deps --tree`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-27Re-work ARGV filtering to properly handle --HEADCharlie Sharpsteen
Previously, stripping arguments like `--HEAD` for dependencies failed because that flag affects the installation prefix encoded into formula objects. The previous implementation of `ARGV` filtering tried to contain all changes to a single method call before the `FormulaInstaller` forks. This update spreads things out a bit: - The Homebrew `ARGV` extension adds a new method, `filter_for_dependencies` which strips flags like `--HEAD`, yields to a block, then restores the original contents of ARGV. - The `explicitly_requested?` test, which returns true or false depending on if a formula object is a member of `ARGV.formulae`, is now a method of `Formula` objects. - `FormulaInstaller` objects now execute the installation of dependencies inside an `ARGV.filter_for_dependencies` block if the dependency was `explicitly_requested?`. Fixes Homebrew/homebrew#8668. Closes Homebrew/homebrew#7724.
2011-11-27audit: remove --strictAdam Vandenberg
2011-11-26doctor: remove terminal width check for curlJack Nagel
This ended up being noise for some users. We need a better set of steps to trigger the bug in order to create a good doctor check; patches welcome from users who are encountering this issue. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-26doctor: use newer gcc version methodsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-25brew-config: remove recommended compiler versionsAdam Vandenberg
The recommended compiler versions printed from `brew-config` are out of date and misleading. The recommendation is always "Run the latest version of Xcode available for your platform".
2011-11-25Display clang version in --config outputJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-25doctor: remove outdated XCode version referenceJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-23audit: check for MacPorts patches from trunkJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-22options: treat outdated brews as installedJack Nagel
`brew options --installed` will now "do the right thing". There is getting to be a small but noticeable amount of code duplication among commands that take options like "--installed" or "--all"; it may be worth factoring this out into a method that will return a collection of formula objects based on the options that are passed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-21audit.rb: Check version strings by defaultCharlie Sharpsteen
Tired of telling people that version numbers are redundant. Just check it by default since the `--strict` flag to `brew audit` is not well advertised.
2011-11-20Delete temp directory created during brew doctorJonathan Grochowski
Running brew doctor creates a temporary directory in $HOMEBREW_TEMP or /tmp but does not clean it up afterwards. This patch deletes the directory created to prevent polluting $HOMEBREW_TEMP or /tmp with empty directories. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-18audit: check for ARGV.flag? in formulaeJack Nagel
We don't want single letter options like '-v' or '-d' to unintentionally trigger formula-specific options. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-16Don't include receipt in `brew list` outputCharlie Sharpsteen
Fixes Homebrew/homebrew#8615.
2011-11-15audit: don't check duplicate URLsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-13info: display used options for installed formulaeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-10doctor: check_git_status in correct locationJack Nagel
This would silently fail if HOMEBREW_REPOSITORY != HOMEBREW_PREFIX, which is obviously a valid Homebrew setup. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-10doctor: document curl/terminal width issueJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-10doctor: warn about wide terminalsJack Nagel
A terminal width of 262 or greater can trigger a buffer overflow in curl's progress bar code, resulting in a segfault and aborted downloads. Warn about this. cf Homebrew/homebrew#8521. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-10doctor: minor grammatical fixJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-07cleanup: add an option to perform a 'dry run'Jack Nagel
Sometimes you want to know what `brew cleanup` will do before it actually removes anything. Introduce a '-n' option (chosen to match other UNIX tools) to do this. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-02audit: check for build_universal? calls if --universal unusedOleg Oshmyan
Closes Homebrew/homebrew#8123. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-02audit: check for empty sha256 checksumsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-22Remove debian mirror check; it is just noiseAdam Vandenberg
2011-10-18doctor: correctly detect CLICOLOR_FORCEJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-18audit: complain more about tabsAdam Vandenberg
2011-10-15audit: check mirror URLsJack Nagel
This will actually throw some possibly unwanted warnings, e.g. whining about using mirrors.kernel.org for Debian software; we might only want that warning for the default URL. Perhaps mirrors deserve their own audit_formula_mirrors, but rather than duplicate code, let's just check them against the standard criteria for now. Signed-off-by: Jack Nagel <jacknagel@gmail.com>