aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-07-12ENV/scm/git: rewrite in Bash (#496)Xu Cheng
2016-07-12style: use RuboCop 0.41.2, adjust defaults (#489)Martin Afanasjew
Changes to our style configuration: - Consolidate all rules related to Ruby 1.8 compatibility in one place. - Codify our de-facto preference for `alias_method` over `alias` (drops offense count by 54 after turning this on). - Drop `Style/SignalException` as `only_raise` has been the new default for quite a while (since RuboCop 0.37.0).
2016-07-11ENV/scm/git: only execute file (#493)Xu Cheng
Fixes #491.
2016-07-11config: show homebrew ruby for all system (#492)Xu Cheng
2016-07-11Merge pull request #404 from xu-cheng/vendorXu Cheng
vendor ruby
2016-07-11ruby.sh: add test flagXu Cheng
2016-07-11brew.sh: new HOMEBREW_RUBY_PATH resolution logicXu Cheng
* Use vendor Ruby if it's present * Install vendor Ruby for system without Ruby 2.x
2016-07-11add vendor-install commandXu Cheng
2016-07-11Merge pull request #487 from MikeMcQuaid/requirement-tweaksMike McQuaid
Requirement tweaks
2016-07-11add file directory for vendor RubyXu Cheng
The vendor Ruby will be put inside `Library/Homebrew/vendor/portable-ruby/<version>`, with a symlink `Library/Homebrew/vendor/portable-ruby/current` pointed to it. In addition, a `Library/Homebrew/vendor/portable-ruby-version` will track the latest version of vendor binaries. This gives us version control on vendor Ruby and enables us to bump vendor Ruby whenever needed such as security update.
2016-07-11test_integration_cmds: compile in install test. (#479)Mike McQuaid
Most of our formulae do compilation so let's do it here too.
2016-07-11osxfuse_requirement: remove formula reference.Mike McQuaid
We’re just supporting the Cask now.
2016-07-11tuntap_requirement: remove formula reference.Mike McQuaid
We’re just supporting the Cask now.
2016-07-11osxfuse_requirement: tweak formatting.Mike McQuaid
Nicer to split this onto two lines.
2016-07-11tuntap_requirement: fix binary logic.Mike McQuaid
Previously this was only using the last line.
2016-07-11requirement: more obvious error message.Mike McQuaid
Make it more obvious which class was unsatisfied to produce this error message.
2016-07-10tap-info: expose whether a tap is privateMartin Afanasjew
Or how many taps are private when summarizing all installed taps.
2016-07-10tap-info: expand and correct help textMartin Afanasjew
2016-07-10test_language_go: update for HOMEBREW_DEVELOPER odieDominyk Tiller
Closes #488. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-10languages/go: die on empty arrays if HOMEBREW_DEVELOPERDominyk Tiller
2016-07-10audit: flag incorrect language/go requiresDominyk Tiller
2016-07-10tests: clean up after bottle testMartin Afanasjew
Fix minor regression in b55250c44eacd49646407b26a73753965d4d36d0. The bottle is placed in the current working directory, is unaffected by the the single teardown introduced in #475, and thus needs manual handling. Closes #483. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-07-10tests: fuse broken/split --repository testsMartin Afanasjew
The latter was replacing the former due to an identical method name.
2016-07-10tests: remove bogus cleanup testMartin Afanasjew
Test was added in 61614d35294c8faffaeb5c7f0ec6dea78dbbc30f, but never had any effect because it was replaced by a method of the same name a few lines further down.
2016-07-10diagnostic: adopt more certain toneDominyk Tiller
Closes #481. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-10update: mimic doctor permissions adviceDominyk Tiller
We might as well be consistent about it, since it's not obvious to people what the next step is after we've pointed out the directory isn't writable. Fixes #476.
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-08brew.sh: enable autoupdate for Homebrew developers (#429)Mike McQuaid
Autoupdate has been working well for me/opt-in folks for a while so lets enable it for Homebrew developers to test before we enable it for everyone.
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