aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2016-07-10audit.rb: require https for download.savannah.gnu.org (#438)Viktor Szakats
and download-mirror.savannah.gnu.org
2016-07-09extend/os/mac/keg_relocate: fix weird omissionMartin Afanasjew
2016-07-09bottle: revert overeager rename in method callMartin Afanasjew
2016-07-09keg_relocate: port to generic OS. (#453)Mike McQuaid
2016-07-09formula_cellar_checks: port to generic OS. (#452)Mike McQuaid
2016-07-09emoji: extract logic into generic OS classes. (#450)Mike McQuaid
2016-07-09tap: run readall when tapping. (#396)Mike McQuaid
* readall: move readall logic to new class. * tap: run readall when tapping. This will prevent tapping an tap with syntax errors from causing issues for users. Fixes #58.
2016-07-09language/python: fix bogus requireMartin Afanasjew
Including the extension is not an error, but we don't normally do this.
2016-07-08cmd/install: port to generic OS. (#458)Mike McQuaid
2016-07-08test_integration_cmds: use a single teardown. (#475)Mike McQuaid
Instead of writing a custom ensure for every test let's just nuke all the files every time. This may be something we might want to use for other unit tests too. It leans heavily on the fact that a `FileUtils.rm_rf` on files that don't exist is very quick and things like `brew cleanup` are super slow in comparison. Before: ``` $ brew tests --only=integration_cmds --official-cmd-taps Finished in 49.764724s, 1.0047 runs/s, 5.2648 assertions/s. ``` After: ``` $ brew tests --only=integration_cmds --official-cmd-taps Finished in 43.014769s, 1.1624 runs/s, 5.8352 assertions/s. ```
2016-07-08Merge pull request #471 from ilovezfs/revert-conflating-of-broken-and-undeclaredMike McQuaid
linkage: don't conflate broken and undeclared
2016-07-08tab: eliminate redundant 'Tab.create' arguments (#468)Martin Afanasjew
The `build` and `source_modified_time` arguments are always coming from the matching attributes of the `Formula` instance. Thus query `formula` for them instead of passing them individually.
2016-07-07Revert "linkage: check undeclared dependencies for `--test`"ilovezfs
This reverts commit 080ddd8804be14f4b18f9558b58270456ff313c2.
2016-07-07Revert "linkage: update --test documentation"ilovezfs
This reverts commit 310d7067e01952cdcefe8b2c877bc4c792654de2.
2016-07-07Autoupdate tweaks (#442)Mike McQuaid
* Don't infinitely recurse `brew update --preinstall`. This could happen when trying to `brew install git` inside `brew update --preinstall`. * update.sh: cache Git PATH. We don’t need to look it up from superenv every time; this is slow. * update.sh: print message before preinstall updates. * update.sh: verbose output fetch directory. This aids reading `brew update --verbose --debug` output. * update.sh: skip taps without formulae on preinstall. We don’t need to update them as we’re not invoking them. * update.sh: don't force update-report on developer preinstall. This is too slow.
2016-07-07download_strategy: ensure fixed commit hash lengthMartin Afanasjew
The length of the commit hash returned for `--short` can vary depending on user configuration. Make sure this works independently of what might have been configured via a user's `.gitconfig`. This also fixes the failing `GitDownloadStrategyTests#test_last_commit` test for such users.
2016-07-07Use GitRepositoryExtension for 'path' in TapMartin Afanasjew
Closes #464. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-07Use GitRepositoryExtension for HOMEBREW_REPOSITORYMartin Afanasjew
2016-07-07Add GitRepositoryExtensionMartin Afanasjew
Add an extension for accessing Git-related meta data that can be mixed in into a Pathname object (e.g. `HOMBREW_REPOSITORY` or the path of a `Tap` instance). The goal here is to eliminate code duplication.
2016-07-06extend/os/mac/diagnostic: remove redundant methodMartin Afanasjew
Remove an exact duplicate from further up in the same file. (It was accidentally added in 8a582f2bd976ce7044c3b2dc6eef701f94b9ace5.)
2016-07-06extend/os/mac/diagnostic: fix indentationMartin Afanasjew
2016-07-06development_tools: add installed? method. (#455)Mike McQuaid
2016-07-06hardware: move generic logic from linux. (#454)Mike McQuaid
2016-07-06ENV: only check Superenv if necessary. (#451)Mike McQuaid
2016-07-06download_strategy: use short hash for git last_commitVlad Shablinsky
Closes #460. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-06test_download_strategies: add git testsVlad Shablinsky
2016-07-06VCSDownloadStrategy: add last_commit methodVlad Shablinsky
Implement: * VCSDownloadStrategy#last_commit Use last modified file timestamp * SubversionDownloadStrategy#last_commit Use `svn info --show-item revision` * GitDownloadStrategy#last_commit Use `git rev-parse HEAD` * MercurialDownloadStrategy#last_commit Use `hg parent --template {node}` * BazaarDownloadStrategy#last_commit Use `bazaar revno` * FossilDownloadStrategy#last_commit Use `fossil info tip`
2016-07-06doctor: fix undefined method `include?' for nil:NilClassXu Cheng
Closes https://github.com/Homebrew/homebrew-core/issues/2758
2016-07-06doctor: check for beta XQuartz releasesMisty De Meo
Beta versions of XQuartz have address sanitization enabled, which breaks some software at runtime, including wine. Closes Homebrew/homebrew-core#2481. Closes #459. Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-07-06xcode: update expected clang for macOS 10.12Dominyk Tiller
2016-07-05test/lib/config: group paths by persistenceMartin Afanasjew
Rearrange path constants such that persistent paths (that point into the Homebrew code base) are in one spot and all other paths (that are being redirected to a temporary location for the duration of the test run) are grouped together. Closes #440. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-05config: document previously undocumented constantsMartin Afanasjew
2016-07-05config: remove obsolete HOMEBREW_CONTRIB constantMartin Afanasjew
2016-07-05test-bot: fix ruby_has_encoding call regressionAndrew Janke
2016-07-05gist-logs: truncate log files to be gist-friendly (#279)Andrew Janke
Truncates each log file to about 1 MB. This avoids upload and download errors with the gists, and respects GitHub's suggested size limits.
2016-07-05tests: fix leak in '[un]linkapps' integration test (#439)Martin Afanasjew
Prior to the fix, every run of the test suite would leave behind a pair of empty directories in `$TMPDIR`. (A temporary home directory was created but only its child `Applications` was wiped when done.)
2016-07-04diagnostic: more porting to generic OS. (#449)Mike McQuaid
2016-07-04Remove unnecessary official command tapping.Mike McQuaid
2016-07-04test-bot: don't test official commands on ruby 1.8.Mike McQuaid
2016-07-04test_integration_cmds: loosen cask test.Mike McQuaid
2016-07-04test-bot: fix args, tap before official-cmd-taps.Mike McQuaid
2016-07-04Revert "Revert "Test officially supported cmd taps. (#390)""Mike McQuaid
This reverts commit dba1958bd79c1c9d18f215dfc2b806ea62edd1c8.
2016-07-04Revert "Test officially supported cmd taps. (#390)"Martin Afanasjew
This reverts commit 252c701c59227c385ef6178fe99523cca8c843bb. Taps installed prior to running the test suite are not visible to the test suite as most Homebrew paths are redefined as to not mess up the local installation.
2016-07-04cleaner: port to generic OS. (#447)Mike McQuaid
2016-07-04utils: output what files `edit` is opening. (#444)Mike McQuaid
Since we've moved all formulae to taps it's not necessarily obvious what the path for the files are otherwise.
2016-07-04Test officially supported cmd taps. (#390)Mike McQuaid
All of these taps use Homebrew internal APIs (or will shortly) and we autoinstall them all from `brew $CMD`. We should adjust our CI to ensure that we never accidentally break these taps when making changes to core code so that these taps can rely more on this core code rather than having to e.g. vendor equivalent code that never changes on our end.
2016-07-04install: undocument --force-bottle. (#443)Mike McQuaid
This is a developer-only option I created for testing purposes. It should not be used by end-users.
2016-07-04tests: default to testing offline. (#430)Mike McQuaid
Set HOMEBREW_NO_GITHUB_API to allow running all tests (but search's integration test specifically for now) offline. This can be overridden with `--online`.
2016-07-04linkage: update --test documentationMartin Afanasjew
Adjust the wording to be in sync with the changes made in #424.
2016-07-04download_strategy: fix detect_from_symbol method (#446)Camden Narzt
strategy is an undefined variable