15524 Commits

Author SHA1 Message Date
Andrew R. McBurney
e93e8f3266 Lazily load db of type DBM instance variable for DatabaseCache so the corresponding database file isn't created in the .use block for a DatabaseCache. 2018-05-18 16:37:01 -04:00
Andrew R. McBurney
cd6f89ca76 Made DatabaseCache.new private, and changes instances in code that call it to use DatabaseCache.use instead. 2018-05-18 10:06:30 -04:00
Andrew R. McBurney
ddd2ec05d8 Added static use method for DatabaseCache. 2018-05-17 16:56:59 -04:00
Andrew R. McBurney
4fb14d5c86 break if database_cache.empty? 2018-05-17 16:35:35 -04:00
Andrew R. McBurney
ba5692f7e5 Only update the cache for a formula if the cache is not empty?. 2018-05-17 13:09:25 -04:00
Andrew R. McBurney
17f484b0ae Set the return_value from the initialize block in the DatabaseCache. 2018-05-15 13:15:30 -04:00
Andrew R. McBurney
b0dd3f4c99 Update the invalidated cache after doing a formula install. 2018-05-15 12:56:38 -04:00
Andrew R. McBurney
d3120c0206 Use cache if HOMEBREW_LINKAGE_CACHE exists in formula_cellar_checks and formula. Make functions private in LinkageChecker. 2018-05-06 15:55:33 -04:00
Mike McQuaid
494bb624cc Merge remote-tracking branch 'origin/master' into cache-optimization 2018-05-03 09:27:09 +01:00
Mike McQuaid
d14d0c25d6
Merge pull request #4143 from MikeMcQuaid/portable-ruby-2.3.3_2
portable-ruby 2.3.3_2
1.6.3
2018-05-03 09:26:06 +01:00
Mike McQuaid
d0cc8823b4 portable-ruby 2.3.3_2
Now with a working DBM on Linux.
2018-05-03 09:06:32 +01:00
Mike McQuaid
57c577be5b
README: we're not using Netlify now. 2018-05-03 08:58:46 +01:00
Mike McQuaid
a5f4ebdcf8
Merge pull request #4142 from Homebrew/issue-templates
Update issue templates
2018-05-03 08:56:00 +01:00
Mike McQuaid
7d0474b3c7 Update issue templates
Use the new issue template improvements: https://blog.github.com/2018-05-02-issue-template-improvements/
2018-05-03 08:51:54 +01:00
Mike McQuaid
877f059552 docs/_config.yml: remove GitHub repository.
This seems like it could fix the GitHub Pages build.
2018-05-03 08:31:32 +01:00
Mike McQuaid
70f817f02e docs: try Homebrew/jekyll-theme-homebrew. 2018-05-02 21:07:54 +01:00
Mike McQuaid
3f3eba03f6
Merge pull request #4139 from Homebrew/dependabot/bundler/Library/Homebrew/test/parallel_tests-2.21.3
Bump parallel_tests from 2.21.2 to 2.21.3 in /Library/Homebrew/test
2018-05-02 20:35:03 +01:00
Mike McQuaid
6583c21510
Merge pull request #4141 from MikeMcQuaid/jekyll-theme-fixes
docs: fix Jekyll theme usage.
2018-05-02 20:18:37 +01:00
dependabot[bot]
f0daf80248
Bump parallel_tests from 2.21.2 to 2.21.3 in /Library/Homebrew/test
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.21.2 to 2.21.3.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.21.2...v2.21.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-02 19:14:46 +00:00
Mike McQuaid
452628a0fd
Merge pull request #4138 from Homebrew/dependabot/bundler/Library/Homebrew/test/rspec-retry-0.5.7
Bump rspec-retry from 0.5.6 to 0.5.7 in /Library/Homebrew/test
2018-05-02 20:13:35 +01:00
Mike McQuaid
f19cd5acbc
Merge pull request #4140 from Homebrew/dependabot/bundler/Library/Homebrew/test/simplecov-0.16.1
Bump simplecov from 0.15.1 to 0.16.1 in /Library/Homebrew/test
2018-05-02 20:13:23 +01:00
Mike McQuaid
bb807d813a docs: fix Jekyll theme usage.
Need to use `remote_theme` not `theme` for this to work on GitHub Pages.
Handily, though, this removes the need for making and uploading a gem.
2018-05-02 20:00:22 +01:00
dependabot[bot]
547825d890
Bump simplecov from 0.15.1 to 0.16.1 in /Library/Homebrew/test
Bumps [simplecov](https://github.com/colszowka/simplecov) from 0.15.1 to 0.16.1.
- [Release notes](https://github.com/colszowka/simplecov/releases)
- [Changelog](https://github.com/colszowka/simplecov/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colszowka/simplecov/compare/v0.15.1...v0.16.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-02 18:59:21 +00:00
dependabot[bot]
1eecfa8e6d
Bump rspec-retry from 0.5.6 to 0.5.7 in /Library/Homebrew/test
Bumps [rspec-retry](https://github.com/noredink/rspec-retry) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/noredink/rspec-retry/releases)
- [Changelog](https://github.com/NoRedInk/rspec-retry/blob/master/changelog.md)
- [Commits](https://github.com/noredink/rspec-retry/compare/v0.5.6...v0.5.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-02 18:59:15 +00:00
Mike McQuaid
6465aea670
Merge pull request #4135 from Homebrew/dependabot/bundler/docs/github-pages-183
Bump github-pages from 158 to 183 in /docs
2018-05-02 18:37:32 +01:00
dependabot[bot]
f2de2d7bd6
Bump github-pages from 158 to 183 in /docs
Bumps [github-pages](https://github.com/github/pages-gem) from 158 to 183.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v158...v183)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-02 17:12:22 +00:00
Mike McQuaid
96a0f5c2ad
Merge pull request #4134 from MikeMcQuaid/use-jekyll-theme
Use Homebrew’s Jekyll theme
2018-05-02 18:10:51 +01:00
Mike McQuaid
21dba9228c Use Homebrew’s Jekyll theme
These means we can remove a bunch of the HTML from this repository and
move it to https://github.com/homebrew/jekyll-theme-homebrew.
2018-05-02 17:57:32 +01:00
Mike McQuaid
7af82ba20f Add brew linkage --cached manpage output. 2018-05-02 09:59:18 +01:00
Mike McQuaid
05fc9307ac
Merge pull request #4131 from MikeMcQuaid/bump-formula-pr-fix-tag-revision
bump-formula-pr: fix tag/revision argument.
2018-05-02 09:53:40 +01:00
Mike McQuaid
555e2a2fc8 Merge remote-tracking branch 'origin/master' into cache-optimization 2018-05-02 09:46:58 +01:00
Mike McQuaid
ea9c9494a6 bump-formula-pr: fix tag/revision argument.
Can't do `@args[hash_type]` if `hash_type` is `nil`.
2018-05-02 09:42:55 +01:00
Mike McQuaid
c42273727f
Merge pull request #4128 from alyssais/linkapps_completion
Remove completions for (un)linkapps commands
2018-05-01 14:53:12 +01:00
Alyssa Ross
38ae15fe7d
Remove completions for (un)linkapps commands
These were deleted in cffa5a9864e771f19231537b812b9b32a1160be0.
2018-05-01 10:49:44 +01:00
Mike McQuaid
b1a92ba14a
Merge pull request #3987 from GauthamGoli/bump-formula-pr-args
bump-formula-pr: Use Parser to parse args
2018-05-01 07:50:29 +01:00
ilovezfs
bf5e4ca09a
Merge pull request #4125 from fxcoudert/gcc8
Support GCC 8
2018-04-30 10:16:31 -07:00
FX Coudert
819b210263 Support GCC 8 2018-04-30 17:03:11 +02:00
Gautham Goli
07ee23d711 cli_parser: Refactor interface for depends, conflicts and add tests 2018-04-30 15:47:13 +05:30
Mike McQuaid
9b56b133a5
Merge pull request #4122 from MikeMcQuaid/alyssa-sob
README: goodbye Alyssa!
2018-04-30 10:36:10 +01:00
Mike McQuaid
dd79d5760f README: goodbye Alyssa!
And thanks for all the commits! <3
2018-04-30 10:15:10 +01:00
Mike McQuaid
bb768c9e12
Merge pull request #4112 from MikeMcQuaid/portable-ruby-2.3.3_1
portable-ruby: increase to 2.3.1_1.
2018-04-30 09:28:50 +01:00
Mike McQuaid
f4e2432284 portable-ruby: increase to 2.3.1_1.
Install the latest Ruby from:
https://github.com/Homebrew/homebrew-portable-ruby/pull/55

This updates ncurses and openssl as well as more closely matching the
Apple's ruby build options.

Notably, this includes the DBM support needed for #3720.
2018-04-30 08:43:43 +01:00
Markus Reiter
bae92c9e65
Merge pull request #4121 from tjt263/patch-1
Fix CaskAlreadyCreatedError message output
2018-04-30 07:00:41 +02:00
tjt263
b47b528859
Fix CaskAlreadyCreatedError message output
Minor edit.
2018-04-30 05:29:28 +08:00
Mike McQuaid
03dd26c5fa
Merge pull request #4113 from commitay/post_install
components_order_cop: add post_install
2018-04-29 08:51:28 +01:00
Mike McQuaid
ef32524fa3
Merge pull request #4118 from MikeMcQuaid/consistent-runtime-dependencies
formula: read runtime dependencies from more tabs.
2018-04-29 08:49:07 +01:00
Mike McQuaid
d8490b0995
Merge pull request #4117 from MikeMcQuaid/linkage-checker-multiple-taps
linkage_checker: correctly handle multiple taps.
2018-04-28 18:54:53 +01:00
Mike McQuaid
8f3ddf968f linkage_checker: correctly handle multiple taps.
Fix upgrades of formulae with the same name in multiple taps.

As reported in:
https://github.com/Homebrew/brew/pull/3789#issuecomment-384890624
2018-04-28 17:24:48 +01:00
Mike McQuaid
191724ce83 formula: read runtime dependencies from more tabs.
The fixes the issue mentioned in:
https://github.com/Homebrew/brew/pull/4066#issuecomment-381308153
where `brew missing` was not reading from a tab of an outdated formula.

The `installed_prefix.directory?` check is unnecessary as the following
`opt_or_installed_prefix_keg` call is already checking that when it is
necessary. In this case it's not necessary anyway as `opt_prefix` is
preferred and makes more sense on outdated formulae.
2018-04-28 15:29:19 +01:00
Mike McQuaid
417fc73aaa
Merge pull request #4114 from MikeMcQuaid/acceptable-formulae-tweaks
docs/Acceptable-Formulae: address feedback.
2018-04-28 15:03:20 +01:00