13531 Commits

Author SHA1 Message Date
Mike McQuaid
6344989ca7 Merge pull request #2084 from ilovezfs/uninstal
brew uninstal alias for brew uninstall
2017-02-21 15:42:05 +00:00
Mike McQuaid
68bd744d0e readall: check for shadowed aliases.
This will become particularly relevant when there’s a new version of a
formula and the existing alias needs to be removed.
2017-02-21 15:36:50 +00:00
Mike McQuaid
606790d062 audit: check for version aliases.
Current version aliases should be provided for versioned formulae so
people can `brew install foo@1.2` to provide pin-like behaviour.
2017-02-21 15:36:49 +00:00
ilovezfs
a81bd81a14 brew uninstal alias for brew uninstall
If `brew instal` is permissible, `brew uninstal` should be, too.
2017-02-21 04:37:46 -08:00
Kimmo Lehto
f5a0ae176a
Syntax fail 2017-02-21 13:16:04 +02:00
Mike McQuaid
efd4d1554c Merge pull request #2075 from rwhogg/java-requirement-extend
java_requirement: Make macOS overrides extend Requirement
2017-02-21 09:31:55 +00:00
Kimmo Lehto
91c1a54b67
Extra check 2017-02-21 11:26:40 +02:00
Kimmo Lehto
df7ae5eb26
Use the env block 2017-02-21 11:24:53 +02:00
Kimmo Lehto
799da6dbe8
Prepend selected ruby to PATH in RubyRequirement 2017-02-21 11:12:34 +02:00
Markus Reiter
15d6810641 Convert os/mac/blacklist test to spec. 2017-02-21 06:09:09 +01:00
Markus Reiter
66e3541b12 Convert MacOS::Version test to spec. 2017-02-21 06:00:24 +01:00
Markus Reiter
423f22df00 Convert search_remote_tap test to spec. 2017-02-21 05:15:04 +01:00
Markus Reiter
9fc14e663b Convert GPG2Requirement test to spec. 2017-02-21 05:00:26 +01:00
Markus Reiter
5ec9597810 Convert OS::Mac::Keg test to spec. 2017-02-21 04:52:53 +01:00
Bob W. Hogg
e0d5afc237 java_requirement: Make macOS overrides extend Requirement
This doesn't actually seem to make that much difference,
but it is at least consistent with the main class body and with
the Linux overrides.
2017-02-20 19:19:26 -08:00
Markus Reiter
1be7852493 Convert SoftwareSpec test to spec. 2017-02-21 02:58:38 +01:00
Markus Reiter
9c1db3c820 Convert JavaRequirement test to spec. 2017-02-21 02:50:52 +01:00
Markus Reiter
bd0a1314c8 Merge pull request #2069 from reitermarkus/spec-compiler_failure
Use `alias_matcher` for `fail_with`.
2017-02-21 00:24:24 +01:00
Mike McQuaid
96a695bc6d Merge pull request #2054 from zmwangx/bump-formula-pr-smarter-dupe
bump-formula-pr: improve duplicate detection
2017-02-20 22:54:51 +00:00
Mike McQuaid
125a6eee21 audit: fix brew style. 2017-02-20 22:48:03 +00:00
Mike McQuaid
7fdbf6f47f Merge pull request #2067 from ilovezfs/insecure-mirror-check-handle-empty-stdout
audit: fix insecure mirror check when stdout is empty
2017-02-20 22:46:18 +00:00
Markus Reiter
b45b216ee3 Merge pull request #2059 from sparhomenko/cups-dir
Add /usr/libexec/cups to the list of system dirs
2017-02-20 23:35:01 +01:00
Markus Reiter
1ff6846218 Convert StringInreplaceExtension test to spec. 2017-02-20 22:33:28 +01:00
Markus Reiter
9904eae48a Convert FormulaPin test to spec. 2017-02-20 22:30:59 +01:00
Markus Reiter
25959927fa Merge pull request #2029 from reitermarkus/spec-formulary
Convert Formulary test to spec.
2017-02-20 22:26:40 +01:00
Markus Reiter
68a2471916 Use alias_matcher for fail_with. 2017-02-20 22:24:52 +01:00
Mike McQuaid
60ba0e481e Merge pull request #1192 from ilovezfs/optlink_aliases
keg: create symlinks in opt for formula aliases
2017-02-20 21:19:18 +00:00
David Broder-Rodgers
55bc2a3019 Merged 404 and security mirror auditing logic 2017-02-20 19:24:35 +00:00
David Broder-Rodgers
12501b4046 Prevent mirror curl for file:/// URL 2017-02-20 19:24:35 +00:00
David Broder-Rodgers
a699d284d0 Use DownloadStrategyDetector to classify mirror URLs 2017-02-20 19:24:35 +00:00
David Broder-Rodgers
81b3368c9c Added better check for HTTP git URLs 2017-02-20 19:24:35 +00:00
David Broder-Rodgers
a731f4e17c Updated HTTP mirror check to use new url_status_code method 2017-02-20 19:24:34 +00:00
David Broder-Rodgers
d3ac333197 Rubocop styling fixes 2017-02-20 19:24:31 +00:00
David Broder-Rodgers
3e7dfe4aab Updated mirror audit problem message 2017-02-20 19:24:25 +00:00
David Broder-Rodgers
ed9f775b77 Added support for returning HTTP status codes and for git and svn URLs 2017-02-20 19:24:19 +00:00
David Broder-Rodgers
ea440ca328 Markups to online mirror auditing 2017-02-20 19:24:13 +00:00
David Broder-Rodgers
7eec6a3a25 Updated resource auditing to detect invalid mirrors when using --online 2017-02-20 19:23:58 +00:00
Markus Reiter
f6fd7f9f5c Merge pull request #2030 from reitermarkus/spec-string
Convert String test to spec.
2017-02-20 20:05:43 +01:00
Markus Reiter
8e0940cc2f Convert Formulary test to spec. 2017-02-20 20:04:58 +01:00
Markus Reiter
e7d555375b Merge pull request #2066 from reitermarkus/formulary-module
Make `Formulary` a `module`.
2017-02-20 20:04:41 +01:00
Markus Reiter
aa7654beab Merge pull request #2055 from reitermarkus/spec-compiler_failure
Convert CompilerFailure test to spec.
2017-02-20 20:03:25 +01:00
Markus Reiter
7d855a539d Merge pull request #2037 from reitermarkus/spec-utils
Convert Utils test to spec.
2017-02-20 19:57:15 +01:00
Markus Reiter
3366ee7f51 Merge pull request #2044 from reitermarkus/spec-utils_shell
Convert Utils::Shell test to spec.
2017-02-20 19:56:13 +01:00
ilovezfs
c667a43b97 audit: fix insecure mirror check when stdout is empty 2017-02-20 07:51:04 -08:00
Zhiming Wang
81a7609213
bump-formula-pr: improve duplicate detection
Reduce the chance of false flagging by making sure that the existing pr
surfaced by GitHub.issues_for_formula actually contains the exact formula name
in its title.
2017-02-20 10:36:24 -05:00
Mike McQuaid
dfa2c247e0 keg: simplify code, handle exceptions. 2017-02-20 14:23:01 +00:00
ilovezfs
63295fd81a have opt alias symlink point into the Cellar
in case people expect to be able to find the prefix by only resolving
the symlink once (e.g., if they're using readlink not realpath)
2017-02-20 14:14:04 +00:00
ilovezfs
4c922a089b remove unless empty since each is no-op for empty 2017-02-20 14:14:03 +00:00
ilovezfs
14ef15f591 keg: create symlinks in opt for formula aliases 2017-02-20 14:14:03 +00:00
Markus Reiter
afb66d0c69 Merge pull request #2042 from mxl/expand-glob
Expand glob patterns.
2017-02-20 14:52:12 +01:00