12885 Commits

Author SHA1 Message Date
Misty De Meo
d7ff53fa1d Hardware: add helper to determine if an executable can be run 2017-04-15 22:59:55 +08:00
Markus Reiter
30582a5fbd Merge pull request #2486 from reitermarkus/fix-audit
Fix `brew cask audit` not working without argument.
2017-04-11 18:39:14 +02:00
Markus Reiter
2631474f25 Fix brew cask audit not working without argument. 2017-04-11 16:41:34 +02:00
ilovezfs
48e8cf7568 Merge pull request #2474 from MikeMcQuaid/xcode-8.3.1
xcode: 8.3.1 is latest version.
2017-04-11 03:54:09 -07:00
JCount
5d74069b98 Merge pull request #2471 from JCount/missing_formula-fix-undefined-method-nil
missing_formula: fix undefined method `path` for nil:NilClass
2017-04-10 21:22:31 -04:00
JCount
d363644221 Merge pull request #2461 from hsbt/workaround-downcase-with-pathname
formulary: Workaround for method missing for downcase on Pathname object
2017-04-10 21:18:45 -04:00
SHIBATA Hiroshi
b7ce111d00
formulary: Workaround for method missing for downcase on Pathname object. 2017-04-11 09:43:41 +09:00
JCount
171f65a1e4 missing_formula: fix undefined method path for nil:NilClass
This check for a nil `tap` is necessary because Tap.from_path(path)
will simply return a nil value in the event the tap path is invalid
2017-04-10 16:46:32 -04:00
Mike McQuaid
ce1920f7df xcode: 8.3.1 is latest version.
Our CI images are already updated with it.
2017-04-10 21:06:36 +01:00
Markus Reiter
4d6e31999a Merge pull request #2434 from JCount/gpg-spec-test-21-compatibility
gpg_spec test add 2.1.x compatibility
2017-04-09 21:08:53 +02:00
JCount
43b64bfed1 gpg_spec: use new version method to directly compare version objects 2017-04-08 20:20:26 -04:00
JCount
889d61660a gpg: add version method to retrieve current version in path 2017-04-08 20:20:26 -04:00
JCount
14a7ef591b gpg_spec: switch structure to if/else instead of rescue 2017-04-08 20:20:26 -04:00
JCount
239b873fb2 gpg2_requirement_spec: switch test to gnupg 2.1.x 2017-04-08 20:19:57 -04:00
Mike McQuaid
d84655efb9 Merge pull request #2442 from tdsmith/fix-symlink-relocation
Virtualenv relocation fixes
2017-04-05 09:32:52 +01:00
Mike McQuaid
1a87964e04 Merge pull request #2456 from MikeMcQuaid/probot-stale
Add probot-stale configuration.
2017-04-05 09:15:33 +01:00
Mike McQuaid
b0be928f69 Add probot-stale configuration. 2017-04-05 09:14:35 +01:00
Mike McQuaid
2144c35539 keg_relocate: slim long lines. 2017-04-05 09:00:11 +01:00
Mike McQuaid
3f51406212 Merge pull request #2242 from GauthamGoli/audit_custom_cops
Port audit_desc audit rules to a cop
2017-04-05 08:37:43 +01:00
Mike McQuaid
dbc9cd7aa3 Merge pull request #2454 from MikeMcQuaid/audit-fix-core-formula-alias-check
audit: fix core formula alias check.
2017-04-05 08:34:58 +01:00
Mike McQuaid
ecd81198f3 Merge pull request #2452 from MikeMcQuaid/update-installed-not-new
update-report: don't show new, installed formulae.
2017-04-04 18:39:40 +01:00
Mike McQuaid
57b230dd5c audit: fix core formula alias check.
Was missing a formula object being passed.
2017-04-04 18:38:18 +01:00
Mike McQuaid
39b8f106d2 update-report: don't show new, installed formulae.
These were those migrated from other taps but if they are installed
already: they aren't new to that user.
2017-04-04 15:15:42 +01:00
Mike McQuaid
36a340780a Merge pull request #2450 from Homebrew/revert-2036-rust-hack
Revert "keg_relocate: Don't relocate dylib IDs containing metavariables."
2017-04-04 14:26:34 +01:00
Mike McQuaid
715132642f Revert "keg_relocate: Don't relocate dylib IDs containing metavariables." 2017-04-04 13:29:27 +01:00
Mike McQuaid
2ba53eb272 Merge pull request #2448 from rwhogg/add-skylake-linux
Add Skylake to the Linux hardware list
2017-04-04 07:57:46 +01:00
Mike McQuaid
5ab904ed93 Merge pull request #2444 from rwhogg/java-req-add-newline
java_requirement: Add newline to failure message
2017-04-03 07:37:13 +01:00
Maxim Belkin
573aeff115 Add Skylake to Linux hardware list 2017-04-02 15:27:19 -07:00
Bob W. Hogg
c3b309e795 java_requirement: Add newline to failure message
Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-04-02 14:38:43 -07:00
Tim D. Smith
3b75075727 rubocop 2017-04-02 10:26:05 -07:00
Mike McQuaid
8ea778f7c7 Merge pull request #2412 from EricFromCanada/master
Xcode: update supported versions & download URLs for 8.3
1.1.12
2017-04-02 17:49:12 +01:00
Mike McQuaid
fabc5bc893 External Commands: document how --help works. 2017-04-02 17:38:31 +01:00
Mike McQuaid
a47c93fe2d Merge pull request #2441 from MikeMcQuaid/install-handle-missing-receipt
Handle missing receipt on `brew install`.
2017-04-02 17:29:40 +01:00
Mike McQuaid
a084776f95 diagnostic: also ignore outdated CLT on Travis CI. 2017-04-02 17:24:33 +01:00
Tim D. Smith
2f4eaf26a0 Use extend/OS mechanism for grep args 2017-04-02 09:04:49 -07:00
Mike McQuaid
879b3360d3 Handle missing receipt on brew install.
For example if this is for a really old keg, keg where a user has
manually removed stuff or used `brew diy`.
2017-04-02 17:02:56 +01:00
Mike McQuaid
9b5d1edc45 Merge pull request #2443 from Homebrew/new-issue-template
ISSUE_TEMPLATE: tweak instructions.
2017-04-02 17:01:23 +01:00
Markus Reiter
a365e16b48 Merge pull request #2431 from reitermarkus/fix-sudo-root-wheel
Use `sudo` if parent path of `target` is not writable.
2017-04-02 17:58:45 +02:00
Mike McQuaid
f7a9c6f0a7 ISSUE_TEMPLATE: tweak instructions.
Be clearer about what's expected and where to file things.
2017-04-02 16:24:45 +01:00
Tim D. Smith
d0feae0632 Unlink before rewriting link
ln_sf does the right thing when `dest` is a symlink pointing to a file:
the symlink gets overwritten with a link pointing to the new src. But
when dest points to a directory, we create a new symlink inside the
folder dest points to, which doesn't help us at all.
2017-04-02 08:19:29 -07:00
Tim D. Smith
51c4c84a3f Don't follow symlinks when hunting for strings
When we're assessing whether a bottle is relocatable, we shouldn't have
to descend into symlink paths we encounter. This is supposed to be the
default behavior but it doesn't appear to be (perhaps because we pass a
symlink to the keg on the command line?).

All of the switches that control this behavior differ between BSD and
GNU grep, so sniff the grep flavor first.
2017-04-02 08:17:07 -07:00
Mike McQuaid
081461a268 Merge pull request #2440 from MikeMcQuaid/document-short-flags
Document all short flags.
2017-04-02 12:30:13 +01:00
Mike McQuaid
ae97a9c34e docs: use long flags. 2017-04-02 10:14:58 +01:00
Mike McQuaid
566d3cb58b Document all short flags. 2017-04-02 10:14:58 +01:00
Mike McQuaid
bfcfdb4f01 man: strip </?var> from Markdown output. 2017-04-02 10:14:57 +01:00
Mike McQuaid
1d5e906e65 Merge pull request #2438 from eunikolsky/fix/link_PATH_message
Fix the 'export PATH' message in `link` for a keg-only formula
2017-04-02 09:50:39 +01:00
Eugene Nikolsky
edd9a9717c Fix the 'export PATH' message in link for a keg-only formula
Commit 4cae6a724e6d684eb157dd6d7328755694f228b2 introduced the message,
but it printed the wrong path, e.g. for `brew link sqlite`:

```
If you need to have this software first in your PATH instead consider running:
  echo 'export PATH="/usr/local/opt/sqlite:$PATH"' >> ~/.zshrc/bin
```

where `/bin` is appended at the end, but should be inserted before
`:$PATH`: `echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.zshrc`.
This patch fixes that and updates a test to verify it.
2017-04-01 20:12:00 -07:00
JCount
0e1b7ce8ea gpg_spec: make test compatible with gnupg 2.1.x
maintain existing compatibility with gnupg 2.0.x
2017-04-01 21:29:09 -04:00
Mike McQuaid
974b5e2fa2 Merge pull request #2433 from MikeMcQuaid/keg-remove-symlinks
keg: correctly remove alias symlinks.
2017-04-01 20:07:16 +01:00
Mike McQuaid
82858176f0 keg: correctly remove alias symlinks.
Fixes #2427.
2017-04-01 16:33:24 +01:00