13531 Commits

Author SHA1 Message Date
Mike McQuaid
e1ef37953f Merge pull request #2577 from DomT4/keg_only_style_tweaks
caveats: tweak keg_only style
2017-05-03 11:19:33 +01:00
Gautham Goli
fed668b330 Add --only-cops,--except-cops options for brew style and simplify cop names 2017-05-03 14:49:23 +05:30
Mike McQuaid
935a3fd4fc Merge pull request #2579 from MikeMcQuaid/install-etc-var-postinstall
Install etc/var files on postinstall.
2017-05-03 09:35:28 +01:00
Markus Reiter
24b190cc14 Remove existing from PATH when adding Gem.bindir. 2017-05-03 10:18:07 +02:00
Mike McQuaid
6b005abd6a Merge pull request #2578 from MikeMcQuaid/utils-gem-dir-create
utils: create GEM_HOME when installing Gems.
2017-05-03 09:01:19 +01:00
Mike McQuaid
f951a22bea Install etc/var files on postinstall.
Also, don't delete them after that. This means that `brew postinstall`
becomes a way to easily reinstall configuration files for any formula
without needing any changes to any bottles or requiring a reinstall.
2017-05-03 09:00:17 +01:00
Mike McQuaid
5b19563937 utils: create GEM_HOME when installing Gems.
It may not exist before Gem installation which means that the resulting
installed gem will not be found in the PATH.
2017-05-03 08:26:30 +01:00
Markus Reiter
77b9ef84ee Merge pull request #2560 from reitermarkus/PATH-refactoring
Refactor PATH generation.
2017-05-03 01:00:03 +02:00
Dominyk Tiller
bf491e5102
audit_spec: add keg_only_style tests 2017-05-02 20:08:30 +01:00
Dominyk Tiller
9aeb8f0f0b
audit: match start of string, not line 2017-05-02 19:30:41 +01:00
Dominyk Tiller
80483c0206
audit: whitelist 'Firefox' in keg_only_style 2017-05-02 19:05:56 +01:00
Dominyk Tiller
c081b3d975
caveats: chomp keg_only reason 2017-05-02 19:03:03 +01:00
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
Reto Kromer
cb5316fc17 move before GitHub tarballs 2017-05-01 22:42:57 +02: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
Shaun Jackman
ffe1ee1636 Install a bottle from an URL 2017-05-01 10:58:26 -07: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
Markus Reiter
1be5eeec26 Add test and comment for PATH#existing. 2017-04-30 21:23:12 +02:00
Markus Reiter
1c7238e59b Add tests for PATH#select and PATH#reject. 2017-04-30 21:18:06 +02:00
Markus Reiter
005f165dcb Simplify PATH#parse. 2017-04-30 21:11:49 +02:00
Markus Reiter
24f48ae7d9 Use PATH#select. 2017-04-30 21:11:28 +02:00
Markus Reiter
4d5d6a65e3 Rename PATH#validate to PATH#existing. 2017-04-30 21:11:28 +02:00
Markus Reiter
22f624b373 Make PATH enumerable. 2017-04-30 21:11:28 +02:00
Markus Reiter
e70f2ec332 Make sure duplicates are remove from PATH. 2017-04-30 21:11:28 +02:00
Markus Reiter
0bb9b4918e Remove PATH#inspect. 2017-04-30 21:11:28 +02:00
Markus Reiter
d552ff316d Make PATH#validate return nil if empty. 2017-04-30 21:11:28 +02:00
Markus Reiter
cb1ac3f998 Don’t implement PATH#eql?. 2017-04-30 21:11:27 +02:00
Markus Reiter
f8ad9d7efd Use PATH where possible. 2017-04-30 21:11:27 +02:00
Markus Reiter
314483f75c Remove Array#to_path_s. 2017-04-30 21:11:27 +02:00
Markus Reiter
a16746906d Add PATH class. 2017-04-30 21:11:27 +02:00
Markus Reiter
e221d0481a Use to_path_s in install_gem_setup_path!. 2017-04-30 21:11:27 +02:00
Markus Reiter
3e4fe279b0 Use to_path_s for determine_pkg_config_libdir. 2017-04-30 21:11:27 +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