Commit Graph
11908 Commits
Author SHA1 Message Date
Bob W. Hogg 7b6abc7630 Only run Linux-specific tests on Linux 2017-04-15 21:20:09 -07:00
Bob W. Hogg 608d72a35f OsxfuseRequirement: Port to Linux 2017-04-15 21:20:09 -07:00
Zhiming Wang 363b26801a install: do not search taps when a qualified formula is missing 2017-04-15 20:27:33 -04:00
Misty De Meo 944bff4de2 Mac Hardware: provide a more Mac-specific implementation of can_run? 2017-04-15 22:59:55 +08:00
Misty De Meo d7ff53fa1d Hardware: add helper to determine if an executable can be run 2017-04-15 22:59:55 +08:00
Mike McQuaid 02f0189335 Merge pull request #2483 from MikeMcQuaid/audit-no-devel-version-alias
audit: don't recommend version aliases on --devel.
2017-04-15 06:26:28 -07:00
numbermaniac 2a29b33fe9 Fix section header link for Environment
brew-cask.1.md
2017-04-15 15:59:16 +10:00
Reto Kromer 49c568a862 add date-based versioning 2017-04-14 11:04:18 +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
Mike McQuaid 88a75af1c3 audit: don't recommend version aliases on --devel.
As requested in #11462 by @neutric as this produces confusing,
incorrect output.
2017-04-10 19:03:44 -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
Mike McQuaid 0948d2013a audit: deprecate language module requirements.
Make `brew audit` complain about language module requirements because
they provide a crappy user experience compared to vendoring and we’re
not really fixing bugs in them any more.
2017-04-10 22:42:57 +01:00
Mike McQuaid 2c370f3677 audit: check for more universal usage.
Also check for `ENV.universal_binary` and `build.universal?`. The prior
is still required for `wine` and the latter should never be required any
longer.
2017-04-10 22:36:39 +01: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
John Hawkinson b0d25d83fe info: rubocop 2017-04-09 17:14:09 -04:00
John Hawkinson 971e53c001 info: Print reason for conflicts where available 2017-04-09 15:23:53 -04: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
John Hawkinson 31ce953f69 formula: conflicts_with doc: give realistic :because
The documentation should help a developer understand what the
parameter is for.  "stupid example" doesn't cut it.
2017-04-09 15:07:05 -04: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
mansimarkaur 7e455a623a Corrected test for access_lock_dir 2017-04-07 18:29:40 +05:30
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 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 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 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
mansimarkaur fda41919cf Added test for check_access_lock_dir 2017-04-03 07:06:59 +05:30
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
2017-04-02 17:49:12 +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
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
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 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
Eugene Nikolsky edd9a9717c Fix the 'export PATH' message in link for a keg-only formula
Commit 4cae6a724e 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