Markus Reiter
d1fb1d2abc
Use simpler check.
2018-05-25 22:47:41 +02:00
Markus Reiter
50a43cf678
Reset repo_var
in clear_cache
.
2018-05-25 22:47:31 +02:00
Markus Reiter
054229be90
Update Cask tap regex.
2018-05-25 18:53:08 +02:00
Markus Reiter
de246cc528
Update Homebrew-Cask references.
2018-05-25 18:20:02 +02:00
Markus Reiter
27f1613cd3
Reset repo_var
so it actually is re-computed.
2018-05-25 18:02:12 +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
7b017b6ca9
Add compatibility layer for brew update
revisions.
2018-05-25 16:22:46 +02:00
Markus Reiter
54834ccbe3
Move repo_var
method to Tap
class.
2018-05-25 16:21:37 +02:00
Markus Reiter
8895acf059
Activate Homebrew-Cask tap migration.
2018-05-25 15:55:28 +02:00
Maxim Belkin
f7e308ab44
list.rb: use new syntax correctly
2018-05-25 06:17:40 -05:00
Maxim Belkin
288c9c6dc7
list.rb: new syntax for multiple + versions flags
2018-05-25 06:17:40 -05:00
Maxim Belkin
da66bf96b7
list.rb: use CLI::Parser to better handle args
...
* --multiple now assumes --versions
* Use CLI::Parser (that, in turns, uses OpenStruct) to handle arguments
2018-05-25 06:17:40 -05: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
63aacd71d3
linkage_checker: fix bad instance variable usage.
2018-05-24 14:53:03 +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
24025a3ab5
Merge pull request #4202 from MikeMcQuaid/remove-some-integration-tests
...
Remove some integration tests
2018-05-23 15:07:46 +01: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
Mike McQuaid
63ffbd3298
Merge pull request #4161 from alyssais/pull-gpg
...
Fix brew pull with git commit.gpgsign enabled
2018-05-23 14:21:40 +01:00
commitay
c297d39420
audit: add back new formulae condition for patches
2018-05-23 07:36:59 +10:00
Alyssa Ross
bdfbc70c87
pull: only add gpg to path if enabled in git
2018-05-22 23:35:50 +02: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
d587177fef
shims/linux/super/cc: Factor out remove_superbin_from_path
2018-05-22 11:16:03 -07:00
Shaun Jackman
c507408fd4
shims/linux/super/cc: Do not fix gcc -R for Linux
2018-05-22 11:09:02 -07: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
Shaun Jackman
40afe1cf29
shims/linux/super/cc: Revert unnecessary changes
2018-05-22 10:25:19 -07:00
Andrew R. McBurney
ddb7f06e9f
Fixed rubocop
offenses from brew style
.
2018-05-22 12:54:54 -04:00
Mike McQuaid
c7aa286336
audit: tweak line length/style.
2018-05-22 14:52:02 +01:00
Mike McQuaid
44f5d3ec79
Refactor cache store code.
2018-05-22 14:46:14 +01:00
Gautham Goli
38c832b029
audit: exit with code 1 if regular audit errors or new formula audit errors when comment is not created
2018-05-22 19:14:18 +05:30
Gautham Goli
b01446d059
audit: Add condition check on new_formula_audits
2018-05-22 17:55:40 +05:30
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
8401cffe41
audit: remove "new formula" from messaging.
2018-05-22 09:55:41 +01:00
Andrew R. McBurney
010207b982
Changed cache usage behavior.
...
1. Running `brew linkage some_package` does not set the cache.
2. Running `brew linkage --cached some_package` when `DatabaseCache.empty?` returns `true` should build the cache.
3. Running `brew linkage --cached some_package` when `DatabaseCache.empty?` returns `false` should use the cache.
2018-05-21 17:36:30 -04:00
Markus Reiter
42db173851
Get rid of unnecessary cd
s.
2018-05-21 20:44:25 +02:00
Andrew R. McBurney
360a301503
Fix file path issue caused by dbm implicitly appending .db
to end of file path provided.
2018-05-21 12:27:53 -04:00
Mike McQuaid
f904017d72
Merge pull request #4187 from commitay/virtualenv
...
python_virtualenv_constants: update virtualenv to 16.0.0
2018-05-21 17:17:17 +01:00
Mike McQuaid
1c91c83eac
Merge branch 'master' into bot-comment
2018-05-21 17:16:19 +01:00
Mike McQuaid
e2968c7889
Various cleanup and fixes.
...
Rename some variables and use existing regexes and a single variable.
2018-05-21 15:36:26 +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
Markus Reiter
c53a52daee
Move --version
logic into cmd/--version.rb
.
2018-05-21 05:35:44 +02:00