13386 Commits

Author SHA1 Message Date
Markus Reiter
326c425dc6 Refactor CLI::InternalAppcastCheckpoint. 2017-05-22 02:51:16 +02:00
Markus Reiter
33580c283a Refactor CLI::Install. 2017-05-22 02:51:16 +02:00
Markus Reiter
e17641bdd9 Refactor CLI::Info. 2017-05-22 02:51:16 +02:00
Markus Reiter
66e9a060de Refactor CLI::Home. 2017-05-22 02:51:16 +02:00
Markus Reiter
1f5828c72d Refactor CLI::Fetch. 2017-05-22 02:51:16 +02:00
Markus Reiter
276adc9e8b Refactor CLI::Edit. 2017-05-22 02:51:16 +02:00
Markus Reiter
8248345a9a Refactor CLI::Create. 2017-05-22 02:51:16 +02:00
Markus Reiter
b7347dcc44 Refactor CLI::Cleanup. 2017-05-22 02:51:16 +02:00
Markus Reiter
58db95c1d2 Refactor CLI::Cat. 2017-05-22 02:51:16 +02:00
Markus Reiter
1714c73b49 Refactor CLI::Audit. 2017-05-22 02:51:16 +02:00
Markus Reiter
a44d4ce88b Remove Cask’s CLI#debug?. 2017-05-22 02:51:16 +02:00
Markus Reiter
9e821863d0 Pass along CLI::Binaries. 2017-05-22 02:51:16 +02:00
Markus Reiter
8f068a356d Merge pull request #2601 from reitermarkus/audit-version-checksum
Add audit check to see if both version and checksum changed.
2017-05-22 02:23:33 +02:00
Markus Reiter
473bdadbcd Change error messages. 2017-05-22 02:04:02 +02:00
Markus Reiter
798af25466 Don’t run checksum check if no commit range is given. 2017-05-22 02:01:57 +02:00
Markus Reiter
330307b01a Use FormulaVersions for checksum check. 2017-05-22 02:01:57 +02:00
Markus Reiter
ade62aa1b1 Add the same check for Formulae. 2017-05-22 02:01:57 +02:00
Markus Reiter
1a96dc39d1 Add audit check to see if both version and checksum changed. 2017-05-22 02:01:57 +02:00
JCount
aa81f56356 audit: fix versioned alias errors in homebrew/core introduced in a7c6a57
This fixes #2657 which in turn were caused by an oversight in #2664
2017-05-21 12:00:56 -04:00
Mike McQuaid
6d8c170e50 Merge pull request #2660 from MikeMcQuaid/env-filtering-test
formula: ensure HOMEBREW_PREFIX/bin in test PATH.
2017-05-21 16:35:03 +01:00
Mike McQuaid
d8565ed21f Merge pull request #2661 from MikeMcQuaid/build-deps-not-missing
formula: build dependencies are never missing.
2017-05-21 16:34:46 +01:00
Mike McQuaid
d89c870621 formula: ensure HOMEBREW_PREFIX/bin in test PATH.
Only likely to kick in when environment filtering is enabled.

Otherwise we need to tediously add a dramatic number of PATHs to tests
or recurse through the runtime formulae dependencies and add all them.

CC @ilovezfs
2017-05-21 13:55:44 +01:00
Mike McQuaid
49e8c19feb formula: build dependencies are never missing.
If the formula is already installed and they've been removed: that's ok.

Fixes #2625.
2017-05-21 13:51:33 +01:00
Mike McQuaid
7000f50d5f Merge pull request #2646 from sjackman/replace_text_in_files
replace_text_in_files: Regex match is greedy
2017-05-20 10:57:41 +01:00
Mike McQuaid
a7c6a57c8e Merge pull request #2644 from JCount/audit-fix-tap-versioned-aliases
audit: fix full versioned alias name resolution in taps
2017-05-20 10:57:30 +01:00
Markus Reiter
e1098b0e6d Merge pull request #2638 from reitermarkus/matchers
Use scoped RSpec matchers.
2017-05-19 23:24:35 +02:00
Markus Reiter
3139383fe6 Merge pull request #2623 from rednoah/master
Support GPG (signed data) container in Homebrew Cask
2017-05-19 20:48:35 +02:00
Markus Reiter
78296ab62b Merge pull request #2652 from ewang12/fix-brew-cask-no-args
Fix implicit conversion of nil into string error
2017-05-19 16:51:57 +02:00
Esther W
6325fb88c5 Make behavior clearer by returning false 2017-05-18 15:43:54 -07:00
Esther W
4da2f24b0e Remove to_s method 2017-05-18 13:41:36 -07:00
Reinhard Pointner
61db2a58a5 Exactly match extension "gpg" 2017-05-19 04:24:36 +08:00
Esther W
37222c1953 Fix implicit conversion of nil into string error 2017-05-18 13:08:19 -07:00
Markus Reiter
0977b4a17d Merge pull request #2494 from numbermaniac/fix-env
cask manpage: Fix section header link for Environment
2017-05-18 18:40:08 +02:00
Reinhard Pointner
6473a90c57 Extract to name without *.gpg extension 2017-05-18 22:32:00 +08:00
Numbermaniac
e02d5f7524 commit new manpages 2017-05-18 18:31:37 +10:00
Markus Reiter
f0dc1d96c5 Merge pull request #2537 from reitermarkus/pathname-to_str
Remove `to_s` from some `Pathname`s.
2017-05-18 09:39:07 +02:00
Shaun Jackman
175c2e9303 replace_text_in_files: Regex match is greedy
The regex matches the longest possible string. Order does not matter.
2017-05-17 23:55:29 -07:00
JCount
cd8d7a8a44 audit: fix full versioned alias name resolution in taps
This fixes an issue where audit would prompt for the creation
of an already existing versioned alias while at the same time
declaring the existing alias invalid.
2017-05-17 15:18:59 -04:00
Mike McQuaid
2b726383f1 info: fix conflicts formatting. 2017-05-16 10:05:05 +01:00
Mike McQuaid
aeaf9af711 Merge pull request #2470 from johnhawkinson/conflicts-info
Display formula conflict reasons
2017-05-16 08:45:45 +01:00
Markus Reiter
3cdf8f938a Use scoped RSpec matchers. 2017-05-15 17:23:40 +02:00
Mike McQuaid
8e2198ff01 info: tweak conflicts output code. 2017-05-15 10:40:07 +01:00
Mike McQuaid
ea8be174f6 Merge pull request #2631 from GauthamGoli/audit_homepage_rubocop
audit: Port audit_homepage method to rubocop and add tests
1.2.1
2017-05-15 10:02:47 +01:00
Mike McQuaid
9889b42ec4 Merge pull request #2628 from GauthamGoli/formula_desc_cop_fix
audit: Detect multiline and interpolated strings in formula desc cop
2017-05-15 10:01:38 +01:00
Mike McQuaid
1e6cf8f270 Merge pull request #2635 from MikeMcQuaid/no-set-blank-vars
bin/brew: don't set blank HOMEBREW_* variables.
2017-05-14 20:38:48 +01:00
John Hawkinson
33d4c95a28 info: use more string interpolation 2017-05-14 15:09:01 -04:00
Mike McQuaid
9c85d737ad bin/brew: don't set blank HOMEBREW_* variables.
When creating the necessary HOMEBREW_* variables ensure that they aren't
set if their value would be empty.
2017-05-14 20:05:26 +01:00
Gautham Goli
91efcb045e Port audit_homepage method to rubocop and add tests 2017-05-14 22:05:46 +05:30
Mike McQuaid
e0ab162f82 Merge pull request #2632 from MikeMcQuaid/sass
docs.brew.sh: use SCSS.
2017-05-14 15:27:06 +01:00
Mike McQuaid
75d230318a Merge pull request #2627 from MikeMcQuaid/audit-fix-option-detection
audit: fix dependency option detection.
2017-05-14 15:09:07 +01:00