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
d38a977fd1
Merge pull request #4205 from MikeMcQuaid/spec_helper_no_truncate
...
spec_helper: don't truncate output expectations.
2018-05-24 15:19:26 +01:00
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
ilovezfs
2c0474ae4c
Merge pull request #4201 from commitay/audit-patch
...
audit: add back new formulae condition for patches
2018-05-22 18:04:14 -07: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
Andrew R. McBurney
ddb7f06e9f
Fixed rubocop
offenses from brew style
.
2018-05-22 12:54:54 -04:00
Mike McQuaid
18d450122a
Merge pull request #4200 from GauthamGoli/newformula-audit-condition-fix
...
audit: Add condition check on new_formula_audits
2018-05-22 16:51:13 +01:00
Mike McQuaid
b48db150c3
Merge pull request #4199 from apjanke/shell-completion-doco
...
Doco: add a Shell Completion doc
2018-05-22 14:54:38 +01: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
Andrew Janke
36e961ad98
Doco: add a Shell Completion doc
...
This describes how to configure your shell to use Homebrew-managed completion
definitions. Needed because this is a manual step the user has to do.
2018-05-22 08:11:31 -04: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
8401cffe41
audit: remove "new formula" from messaging.
2018-05-22 09:55:41 +01:00
Mike McQuaid
4d1445a740
Merge pull request #4197 from apjanke/zsh-completions-multiple-formulae-args
...
zsh completions: complete multiple formulae for more commands
2018-05-22 08:49:47 +01:00
Andrew Janke
cafb9da708
zsh completions: complete multiple formulae arguments for more commands that accept them
2018-05-22 03:17:53 -04: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
Mike McQuaid
1003aff98a
Merge pull request #4192 from mbrickn/patch-1
...
Updated URL to use HTTPS instead of HTTP
2018-05-21 21:47:28 +01:00
Markus Reiter
77b5a11907
Merge pull request #4191 from reitermarkus/unnecessary-cd
...
Get rid of unnecessary `cd`s.
2018-05-21 22:37:16 +02:00
Maxwell Paul Brickner
ca3e51cf46
Updated URL to use HTTPS instead of HTTP
...
Updated URL to use HTTPS instead of HTTP to avoid redirect
2018-05-21 16:20:49 -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
1.6.4
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
11f81f41c9
Merge pull request #4182 from reitermarkus/version
...
Move `--version` logic into `cmd/--version.rb`.
2018-05-21 05:54:14 +02:00
Markus Reiter
c53a52daee
Move --version
logic into cmd/--version.rb
.
2018-05-21 05:35:44 +02: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
deaa8bf003
Use module Compat
style.
2018-05-21 01:43:49 +02:00
Markus Reiter
c623b0295c
Use ...
instead of ellipsis and only output if TTY.
2018-05-21 01:43:49 +02:00
Markus Reiter
b4de801a01
Support both Homebrew
and caskroom
for now.
2018-05-21 01:43:49 +02:00
Markus Reiter
c4c00e4ede
Use safe_system
instead of Utils.popen_read
.
2018-05-21 01:43:49 +02:00
Markus Reiter
b109e6da5d
Handle Tap migration in Tap#initialize
.
2018-05-21 01:43:49 +02:00
Markus Reiter
ff8d14fe2a
Add compatibility layer to convert caskroom/*
to homebrew/cask(-*)
.
2018-05-21 01:43:49 +02:00