Commit Graph
13049 Commits
Author SHA1 Message Date
Gautham Goli fed668b330 Add --only-cops,--except-cops options for brew style and simplify cop names 2017-05-03 14:49:23 +05:30
Gautham Goli c3330c289d Add --only-cops,--except-cops options for brew audit
Also refactor audit cops into two "departments"
 - FormulaAudit
 - FormulaAuditStrict
2017-05-02 23:26:12 +05:30
Gautham Goli a4568a8697 Let cops run without --strict flag 2017-05-02 23:14:44 +05:30
Mike McQuaid 7a0e5d123c Merge pull request #2472 from DomT4/keg_only
caveats: tweak keg_only wording
2017-05-02 15:17:37 +01:00
Mike McQuaid b8e17502a3 README: update hosting providers. 2017-05-01 20:19:48 +01:00
Dominyk Tiller 25ffa301b8 formula_support: keg_only style harmonisation 2017-05-01 19:22:40 +01:00
Dominyk Tiller 85053b1476 audit: add audit_keg_only_style 2017-05-01 19:22:34 +01:00
Dominyk Tiller 285b0bc941 caveats: tweak keg_only wording
Current:
```
This formula is keg-only, which means it was not symlinked into /usr/local.

Qt has CMake issues when linked
```

After:
```
This formula is keg-only, which means it was not symlinked into /usr/local,
because Qt has CMake issues when linked.
```
2017-05-01 16:56:16 +01:00
Markus Reiter 8cba0352e0 Merge pull request #2571 from danielmartin/revert-2517-fix-select-blocking
Revert "Fix `IO#select` blocking."
1.2.0
2017-05-01 16:37:56 +02:00
Daniel Martín a98991a10f Revert "Fix IO#select blocking." 2017-05-01 15:45:32 +02:00
Mike McQuaid 0c9047a2b8 Merge pull request #2562 from DomT4/you_shall_not_pass_go_get
audit: formally ban go get usage
2017-04-30 13:32:22 +01:00
Mike McQuaid 59f78361c9 Merge pull request #2566 from zmwangx/pull-fix-check-bintray-mirror
pull: fix status code check in check_bintray_mirror
2017-04-30 13:28:32 +01:00
Mike McQuaid 9c8d968181 Interesting Taps and Forks: fix typo. 2017-04-30 13:22:56 +01:00
Zhiming Wang 7a75de7cb1 pull: fix status code check in check_bintray_mirror
The status code of the last redirect should be 2xx to be deemed successful.
2017-04-29 19:30:19 -04:00
Markus Reiter b067700fd7 Merge pull request #2563 from reitermarkus/plist
Update `plist` to 3.3.0.
2017-04-29 02:55:58 +02:00
Markus Reiter 989a19b676 Update plist to 3.3.0. 2017-04-28 20:51:07 +02:00
Dominyk Tiller ed1ae19aee audit_spec: test go get ban 2017-04-28 18:13:38 +01:00
Dominyk Tiller 2ad43cb1fd audit: formally ban go get usage
There's been an informal ban for a while but let's
be punchier because this crops up still.
2017-04-28 17:38:01 +01:00
Mike McQuaid 539881f51a Taps and Forks: remove mailing list mention. 2017-04-28 08:52:30 +01:00
Mike McQuaid 1c297ad5a2 Merge pull request #2554 from MikeMcQuaid/audit-dependency-option-tweak
audit: tweak dependency option audit.
2017-04-27 17:08:44 +01:00
Mike McQuaid 1c9cfb2419 audit: tweak dependency option audit.
Make sure that `if build.with?` isn't caught.
2017-04-27 16:30:05 +01:00
Mike McQuaid 698afa2ba7 Merge pull request #2559 from MikeMcQuaid/docs-css-tweaks
docs: tweak CSS.
2017-04-27 13:21:35 +01:00
Mike McQuaid a559cef5cc docs: tweak CSS.
Import new brew.sh CSS changes to improve the appearance of tables and
links.
2017-04-27 12:35:15 +01:00
Mike McQuaid 5c33355160 Merge pull request #2557 from MikeMcQuaid/tap-new-xcode-bump
tap-new: bump Xcode to 8.3.
2017-04-27 12:32:29 +01:00
Mike McQuaid 5199993672 Merge pull request #2556 from MikeMcQuaid/even-better-user-agent
brew.sh: tweak macOS user agent again.
2017-04-27 12:32:20 +01:00
Mike McQuaid 0cedb4db08 tap-new: bump Xcode to 8.3.
Update this to the current latest Travis CI supports (which we're using)
2017-04-27 08:56:46 +01:00
Mike McQuaid 9731f7a8c4 brew.sh: tweak macOS user agent again.
Safari uses `Mac OS X` not `OS X`. To avoid contaminating other parts of
Homebrew use a separate variable for just this part, too.
2017-04-27 08:53:57 +01:00
JCount 9427934aca Merge pull request #2555 from MikeMcQuaid/user_agent_osx
brew.sh: use OS X in user agent rather than macOS.
2017-04-26 11:43:28 -04:00
Mike McQuaid f02d7b93a7 brew.sh: use OS X in user agent rather than macOS.
This matches what Safari does on macOS 10.12 and is generally what
tools like Google Analytics expect the format to be.
2017-04-26 16:18:48 +01:00
Mike McQuaid 9624c1cac7 Merge pull request #2553 from MikeMcQuaid/audit-new-formula-git
audit: fix audit of new formulae.
2017-04-26 12:35:55 +01:00
Mike McQuaid 5647fdb2f9 audit: fix audit of new formulae.
When auditing new formulae without `--new-formula` the
`audit_revision_and_version_scheme` method fails ungracefully. Instead,
set some better defaults so fewer checks are needed.

Fixes #2551.
2017-04-26 11:33:13 +01:00
Mike McQuaid c6c930174e Merge pull request #2549 from MikeMcQuaid/fix-bottle-tag-ordering
software_spec: process macOS versions on Linux.
2017-04-25 15:01:43 +01:00
Mike McQuaid 4971855e9b software_spec: process macOS versions on Linux.
This module doesn't actually have any behaviour that's problematic at
runtime on Linux so we may as well use it to properly sort macOS
versions there.
2017-04-25 14:34:27 +01:00
Mike McQuaid 3589e24df0 tap: fix env typo. 2017-04-25 13:40:40 +01:00
Mike McQuaid 584ea84548 Merge pull request #2547 from MikeMcQuaid/improve-install-upgrade-message
formula_installer: improve install/upgrade message
2017-04-25 13:12:11 +01:00
Mike McQuaid 18c2713df4 formula_installer: improve install/upgrade message
If you `brew install` a formula that's already installed you get:
  Warning: ripgrep-0.5.1 already installed

If you `brew install` an outdated formula that's installed you get:
  Error: ripgrep-0.5.1 already installed. To install this version, first
  `brew unlink ripgrep`

Instead, suggest that the user should `brew upgrade` in this case. If
the formula isn't outdated use the previous message.
2017-04-25 12:45:39 +01:00
Mike McQuaid a3b6cbe23d Merge pull request #2548 from MikeMcQuaid/audit-search-taps-fix
audit: fix use of search_tap method.
2017-04-25 12:43:17 +01:00
Mike McQuaid b2a291529d audit: fix use of search_tap method.
This was removed in #2540 but this call site was note updated to use
the `search_taps` method instead.
2017-04-25 12:08:50 +01:00
Markus Reiter 24a339ee23 Merge pull request #2541 from reitermarkus/cask-search
Add remote search to `brew cask search`.
2017-04-25 12:50:23 +02:00
Markus Reiter 133e5ddf6a Remove unnecessary block. 2017-04-25 12:29:01 +02:00
Markus Reiter 4b804389e1 Add test for GitHub::search_code. 2017-04-25 12:29:01 +02:00
Markus Reiter 238cd5430f Add remote search to brew cask search. 2017-04-25 12:29:01 +02:00
Markus Reiter 2bda194bd9 Add GitHub::search_code method. 2017-04-25 12:29:01 +02:00
Mike McQuaid a38133e5a1 Merge pull request #2545 from JCount/xcode-update-clt
xcode: update Sierra CLT version to 802.0.42
2017-04-25 11:18:12 +01:00
Mike McQuaid 74c39b2310 Merge pull request #2546 from MikeMcQuaid/force-homebrew-org
Allow forcing Homebrew GitHub organisation.
2017-04-25 11:09:51 +01:00
Mike McQuaid 228239af31 Allow forcing Homebrew GitHub organisation.
On Linux this defaults to Linuxbrew but in some cases (i.e. a Linux
machine performing uploads for Homebrew) we want to allow this to be
overridden back to the defaults.

Relies on a change incoming to `brew test-bot` to set this there.
2017-04-25 09:13:36 +01:00
JCount 4b90f5fdc8 xcode: update Sierra CLT version to 802.0.42 2017-04-24 17:32:10 -04:00
Mike McQuaid 36a387da26 travis: post to Homebrew's Slack. 2017-04-24 17:00:56 +01:00
Mike McQuaid b54f5c40a8 Merge pull request #2540 from MikeMcQuaid/search-taps-code-search
search: use single HTTP call for tap searches.
2017-04-24 14:45:01 +01:00
Mike McQuaid b3c69aba87 search: use single HTTP call for tap searches.
Use GitHub's code search API to search using the filename based on the
search query. This means we only need a single HTTP call and no more
multithreading madness. This also means we're able to search everything
in the Homebrew and Caskroom organisation by default without having to
maintain a list of things to search (and not) in here.
2017-04-24 14:11:04 +01:00