4632 Commits

Author SHA1 Message Date
Xu Cheng
cb73e38cfc options: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
8ff4f46e0c missing: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
4d27fe0979 leaves: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
e8f888a23e install: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
4c323cdf34 info: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
d976e43708 doctor: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
06133a8ae8 deps: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
82745ff9b6 cleanup: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
fbf1af24d7 bottle: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
9bf4bf5fee audit: use Formula#full_name 2015-05-29 17:01:53 +08:00
Viktor Szakats
26d1683039 audit: enforce gnome urls
Closes Homebrew/homebrew#40172.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-29 08:22:37 +01:00
Jack Nagel
5cb392d9d7 Revert "Check empty? to avoid introducing nils"
This reverts commit 580cd173cbf92aa9851e68d635af518a668a6cdc.
2015-05-28 23:57:02 -04:00
Jack Nagel
aac0e4a878 Fix variable reference 2015-05-27 23:32:06 -04:00
Jack Nagel
efd52da101 Remove dead code 2015-05-27 21:57:41 -04:00
Dominyk Tiller
6db8e1c5a9 audit: simplify ssl/tls audit failure messages
This cuts the amount of custom code fairly drastically, applying the
same generic syntax across the different SSL/TLS enforced areas.

It also makes the failure message fit onto one terminal line, which
looks cleaner than the multi-line message we currently print
for standard-size Terminals.

Changes something like:

`ftp.gnu.org urls should be https://, not http:// (url is http://ftp.gnu.org/gnu/gawk/gawk-4.1.1.tar.xz)`

Into:

`Please use https:// for http://ftp.gnu.org/gnu/gawk/gawk-4.1.1.tar.xz`

References: Homebrew/homebrew#39421 Homebrew/homebrew#39306

Closes Homebrew/homebrew#40054.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-05-27 11:44:29 +01:00
pmwheatley
c178d50f29 cmd/switch: fix exception.
keg_only? should use 'rack' not 'canonical_name'

Closes Homebrew/homebrew#40124.
Closes Homebrew/homebrew#40126.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-27 11:39:26 +01:00
Mike McQuaid
ef08db539b test-bot: always brew install as a non-developer.
Bored of dealing with the bottle conflicts errors here so I don't think
it's really worth working around.

Closes Homebrew/homebrew#40097.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-27 10:00:47 +01:00
Xu Cheng
e3ed1ccb15 uninstall: load formula from rack
Closes Homebrew/homebrew#39524.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-27 13:53:42 +08:00
Xu Cheng
bc41f947de test-bot: rescue TapFormulaAmbiguityError 2015-05-27 13:53:42 +08:00
Xu Cheng
e744e8b0f9 upgrade: use ARGV.resolved_formulae 2015-05-27 13:53:42 +08:00
Xu Cheng
3463a8fe6b unpin: use ARGV.resolved_formulae 2015-05-27 13:53:42 +08:00
Xu Cheng
356df9baee test: use ARGV.resolved_formulae 2015-05-27 13:53:42 +08:00
Xu Cheng
d338f291df reinstall: use ARGV.resolved_formulae 2015-05-27 13:53:42 +08:00
Xu Cheng
437a3182b0 postinstall: use ARGV.resolved_formulae 2015-05-27 13:53:41 +08:00
Xu Cheng
ba4d7fe615 pin: use ARGV.resolved_formulae 2015-05-27 13:53:41 +08:00
Xu Cheng
ebbeda850a outdated: use ARGV.resolved_formulae 2015-05-27 13:53:41 +08:00
Xu Cheng
da7d3c18ed missing: use ARGV.resolved_formulae 2015-05-27 13:53:41 +08:00
Xu Cheng
fb8548cae5 link: load formula from rack 2015-05-27 13:53:41 +08:00
Xu Cheng
c41c473513 gist-logs: use ARGV.resolved_formulae 2015-05-27 13:53:41 +08:00
Xu Cheng
04c274f727 doctor: load formula from rack 2015-05-27 13:53:41 +08:00
Xu Cheng
5ca7035e32 --prefix: use ARGV.resolved_formulae 2015-05-27 13:53:41 +08:00
Xu Cheng
75eac94b57 --cellar: use ARGV.resolved_formulae 2015-05-27 13:53:41 +08:00
Xu Cheng
dcf0efc9d2 cleanup: load formula from rack and using ARGV.resolved_formulae 2015-05-27 13:53:41 +08:00
Xu Cheng
8a4dcdd5a1 bottle: use ARGV.resolved_formulae 2015-05-27 13:53:41 +08:00
Xu Cheng
ef3f0f0945 audit: handle TapFormulaAmbiguityError 2015-05-27 13:53:41 +08:00
Xu Cheng
171c3dd2d9 tap/untap/update/prune: remove obsolete method, add migrate_taps 2015-05-27 13:53:40 +08:00
Xu Cheng
e2b0bca931 add Formula.core_names Formula.tap_names and Formula.full_names 2015-05-27 13:53:40 +08:00
Jack Nagel
be0a1e7635 Check empty? to avoid introducing nils
[].last => nil
[].max => nil
2015-05-26 19:51:30 -04:00
Mike McQuaid
d8f9552cab bottle: handle nil bottle revision case. 2015-05-26 15:49:39 +01:00
Ian Lancaster
c327fdafa9 bottle: discard bottle revision from prior pkg_version
Closes Homebrew/homebrew#38628.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-26 19:21:15 +08:00
Nikolaus Wittenstein
f1ed19d96b brew create adds a desc field to the new formula 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
39498af1c6 audit looks for and validates 'desc' 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
148cafa9cd brew search can take a --desc argument to search descriptions 2015-05-25 17:23:50 +01:00
Nikolaus Wittenstein
5e73e68ab1 Info shows the desc if present 2015-05-25 17:23:50 +01:00
Xu Cheng
60f2377853 audit: formula version string should have digit
Closes Homebrew/homebrew#40025.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-24 20:07:44 +08:00
Xu Cheng
78ccd41251 audit: add rules for non-ascii character and encoding comment
Closes Homebrew/homebrew#40042.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-24 20:07:33 +08:00
Xu Cheng
e4ff0a2f2e audit: move audit_java_home inside audit_line 2015-05-24 16:27:54 +08:00
Xu Cheng
cc0c9cf619 audit: don't complain ENV.fortran if depends_on :fortran
Fix the audit problem in Homebrew/homebrew#40000.

Closes Homebrew/homebrew#40012.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-23 19:40:55 +08:00
Xu Cheng
8b57871220 uses/deps: fix for recursive deps/reqs
Closes Homebrew/homebrew#39906.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-20 16:29:15 +08:00
Xu Cheng
cacad69a8e uses: make skip arguments work for requirement 2015-05-20 16:29:15 +08:00