2476 Commits

Author SHA1 Message Date
commitay
c354d76e47 cask audit: various 2018-06-05 19:13:32 +10:00
commitay
f012b5acf8 cask audit: check for sourceforge appcast 2018-06-05 16:42:19 +10:00
Dominyk Tiller
9391ac01a9
test: add symlink for macOS Mojave bottle 2018-06-04 19:48:16 +01:00
Vítor Galvão
b088302e11
Merge pull request #4224 from vitorgalvao/fix-language-bug
HBC: Make language stanza order not matter
2018-06-04 00:55:45 +01:00
Vítor Galvão
1d3e8c5550 Add test for locale.detect 2018-06-03 01:41:38 +01:00
Markus Reiter
6d22588cae
Merge pull request #4266 from reitermarkus/audit-spec-style
Fix code style in `audit` spec.
2018-06-02 21:27:39 +02:00
commitay
1a4340161c options_cop: formula -> formulae 2018-06-02 16:56:55 +10:00
Markus Reiter
d98c45b2d3 Fix code style in audit spec. 2018-06-02 03:46:55 +02:00
Mike McQuaid
9e2baa3bff Add additional runtime_dependency related tests. 2018-06-01 21:36:28 +01:00
Mike McQuaid
63f8455ed3
Merge pull request #4255 from MikeMcQuaid/fix-cache
linkage_cache: cache input data and not results.
2018-06-01 16:38:44 +01:00
Gautham Goli
f5e5a81a7f
Merge pull request #4146 from GauthamGoli/global-args
cli: Store parsed args in Homebrew.args and access @args everywhere else
2018-06-01 20:01:26 +05:30
Mike McQuaid
1a2c2f2e1b linkage_cache: cache input data and not results.
Cache all the non-weak dynamic library links for a keg rather than the
result of running `brew linkage`. This means that we correctly handle
changes to e.g. what non-keg files are present on disk.
2018-06-01 14:05:16 +01:00
Mike McQuaid
054866653d
Merge pull request #4185 from sjackman/superenv-linux
Add superenv for Linux
2018-05-31 19:56:16 +01:00
Gautham Goli
fba52e2f74 cli_parser: Store parsed args in Homebrew.args and access args everywhere else 2018-05-30 00:05:39 +05:30
Vítor Galvão
81d467abba with-languages.rb: remove trailing whitespace 2018-05-29 11:42:05 +01:00
Alyssa Ross
472d1a22c5
Fix comparison with Version::NULL on RHS
This was accounted for in Version::NULL.<=>, but not in Version#<=>,
so these could only be compared if Version::NULL was the left hand
side.

The check had to go above the check that `other` is a version because
`Version::NULL`'s anonymous class does not inherit from `Version`.
(The type check feels like it's probably a smell, but out of scope).
2018-05-26 14:45:53 +02:00
Markus Reiter
579a30c7bf Fix rspec deprecations. 2018-05-25 23:19:13 +02:00
Markus Reiter
de246cc528 Update Homebrew-Cask references. 2018-05-25 18:20:02 +02:00
Markus Reiter
c4222141ac Revert "Update Homebrew-Cask references."
This reverts commit 4475651b548afdcf15c4cf7a7cb57baca1885186.
2018-05-25 17:57:32 +02:00
Markus Reiter
4475651b54 Update Homebrew-Cask references. 2018-05-25 17:56:16 +02:00
Markus Reiter
675d5fe61f Fix spec_helper cleanup. 2018-05-25 17:28:43 +02:00
Markus Reiter
54834ccbe3 Move repo_var method to Tap class. 2018-05-25 16:21:37 +02:00
Gautham Goli
67a1235487
Merge pull request #4207 from GauthamGoli/switch-constraints
cli_parser: Add depends_on, required_for and conflicts for switch options
2018-05-25 14:28:00 +05:30
Gautham Goli
0d53002dbc cli_parser: Add depends and conflicts for switch options 2018-05-25 04:05:45 +05:30
Mike McQuaid
0408b78a23 tests: remove linkage cache env.
Otherwise this will mess with `brew tests`.
2018-05-24 15:09:41 +01:00
Mike McQuaid
4c365ea353 spec_helper: don't truncate output expectations.
It's really useful to be able to see the full output particularly when
a backtrace is in it.
2018-05-24 14:53:03 +01:00
Mike McQuaid
0c216bc5b8 spec_helper: don't truncate output expectations.
It's really useful to be able to see the full output particularly when
a backtrace is in it.
2018-05-24 14:28:20 +01:00
Mike McQuaid
97645d061d
Merge pull request #3720 from AndrewMcBurney/cache-optimization
Cache optimization for `brew linkage` command.
2018-05-24 09:14:02 +01:00
commitay
dc96e6f735
Merge pull request #4170 from commitay/new-formulae-options
audit: new formulae should not have options
2018-05-24 07:16:11 +10:00
Andrew R. McBurney
a9606b4a18 Added trivial integration tests for brew linkage. 2018-05-23 13:00:05 -04:00
Mike McQuaid
f6bf989378 Remove some integration tests
We have an awful lot of integration tests and they are (comparatively)
really slow. Let's kill those that test edge case conditions and focus
on those that test that our functionality works as expected. Edge cases
can be better tested with unit tests.
2018-05-23 14:41:31 +01:00
Andrew R. McBurney
218a7362dc Fixed failing tests. 2018-05-22 15:31:58 -04:00
Andrew R. McBurney
91f7a5eb76 Added unit tests for CacheStoreDatabase and LinkageCacheStore. 2018-05-22 15:01:56 -04:00
Shaun Jackman
434e8d8e2f test/cmd/install: Fix a test failure on Linux
Fix the error:
Error: Homebrew GCC requested, but formula gcc not found!
2018-05-22 10:48:17 -07:00
commitay
9d55fed15f audit: new formulae should not have options 2018-05-22 19:39:14 +10:00
Mike McQuaid
3794d53575
Merge pull request #3835 from GauthamGoli/bot-comment
audit:  `--new-formula`, Don't fail CI instead comment on PR about audit violations
2018-05-22 10:26:13 +01:00
Mike McQuaid
1c91c83eac Merge branch 'master' into bot-comment 2018-05-21 17:16:19 +01:00
Mike McQuaid
5c3ec3e7ca
Merge pull request #4174 from reitermarkus/cask-tap-migration
Add compatibility layer for handling Cask Tap migration.
2018-05-21 14:45:14 +01:00
commitay
16fbcd09da
Merge pull request #4188 from commitay/cask-audit-uninstall
cask audit: installer and pkg require uninstall
2018-05-21 10:25:19 +10:00
Markus Reiter
b4de801a01 Support both Homebrew and caskroom for now. 2018-05-21 01:43:49 +02:00
commitay
1ae2cf9709 cask audit: installer and pkg require uninstall 2018-05-19 12:38:52 +10:00
Markus Reiter
a6d9d45ec3 Clean up compat. 2018-05-17 19:13:37 +02:00
Markus Reiter
73bffbaca6
Merge pull request #4178 from dougal/alphabetical-outdated-formulae-listing
Alphabetize the `brew outdated` formula listing.
2018-05-16 19:13:06 +02:00
Douglas F Shearer
18b362aa96 Alphabetize the brew outdated formula listing.
Sorts by `Formula#<=>`.

Includes updated test example.
2018-05-16 13:01:12 +01:00
dependabot[bot]
a8bf1f7028
Bump rspec-retry from 0.5.7 to 0.6.0 in /Library/Homebrew/test
Bumps [rspec-retry](https://github.com/noredink/rspec-retry) from 0.5.7 to 0.6.0.
- [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.7...v0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-15 07:51:40 +00:00
Mike McQuaid
2a44f8e71b
Merge pull request #4036 from maxim-belkin/diagnostiks
Cross-platform diagnostic
2018-05-14 16:23:35 +01:00
Maxim Belkin
e5435dfeb7
Cross-platform diagnostics. 2018-05-14 04:44:15 -05:00
Mike McQuaid
840c97c1cc formula: add versioned formulae method. 2018-05-12 15:02:29 -04:00
Gautham Goli
efec2fa0c5 lines_cop: Add deprected options audit for depends_on 2018-05-06 15:42:51 +05:30
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