3413 Commits

Author SHA1 Message Date
Dominyk Tiller
1cc6fa2e05 style: bump rubocop to 0.32.0
Closes Homebrew/homebrew#40506.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-09 09:20:57 +01:00
Xu Cheng
8604799f1a audit: add rules on field order
Closes Homebrew/homebrew#40472.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-09 16:03:53 +08:00
Jack Nagel
d3ab5e6034 Revert "audit: add rules for non-ascii character and encoding comment"
This reverts commit ab8fe812377bc60cc18fe8d7c1ea8ce2f0269294.
2015-06-08 22:27:28 -04:00
Xu Cheng
18bb32a04d tap: fix Homebrew/homebrew#40487 2015-06-08 22:13:50 +08:00
Xu Cheng
7a96b6a7fa info: fix plural 2015-06-08 19:05:12 +08:00
Xu Cheng
036b9f6913 cleanup: use bottle_resolve_version
Closes Homebrew/homebrew#40378.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-07 23:51:15 +08:00
Xu Cheng
3c418cfb4e bottle: add homepage and desc into regex
Some formulae put `desc` field behind `url` which can make bottle block go to strange place.
So let's add `homepage` and `desc` into bottle regex.

Closes Homebrew/homebrew#40469.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-07 20:33:25 +08:00
Xu Cheng
c6e1090c43 requirement: allow access default_formula directly 2015-06-07 20:32:45 +08:00
Peter Aronoff
965e2f50c3 brew tap: allow tapping non-GitHub repositories.
`brew tap` restricts users to GitHub and checks for private repos. I
created `brew any-tap` to support a wider variety of taps.

With very small changes (and no extra flags!), this change allows users
to use `brew tap` with GitHub as they always have or add one extra
argument and tap any repository of any type from anywhere.

    brew tap user/name              # Same as it ever was
    brew tap user/name URL          # Tap URL, whatever it happens to be

Closes Homebrew/homebrew#40326.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-05 21:54:12 +01:00
Baptiste Fontaine
d87f9d4359 singular/plural phrasing in audit report
Closes Homebrew/homebrew#40395.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-05 19:32:23 +02:00
Mike McQuaid
f4af833714 Revert "upgrade: announce usage of --all."
This reverts commit 9032f165bec3d0c7452169093fab32578816043b.

This seems to have been universally unpopular so let's revert it.

Closes Homebrew/homebrew#40372.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-05 14:20:21 +01:00
Baptiste Fontaine
919698fdde brew deps --installed support for formulae
Closes Homebrew/homebrew#40233.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-03 00:35:26 +02:00
Xu Cheng
023230cb6a update: only display version changed formulae
Closes Homebrew/homebrew#40090.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-02 17:24:05 +08:00
Xu Cheng
517ced731c test-bot: use bottle_resolve_formula_names
Closes Homebrew/homebrew#40134.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-02 16:45:44 +08:00
Xu Cheng
be18a816af bottle: remove bottle_filename_formula_name 2015-06-02 16:45:44 +08:00
Xu Cheng
296ca61510 test-bot: simplify the upload logic
If the bottle is already published, let's fail directly.
Also silent the curl output.

Closes Homebrew/homebrew#40295.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-02 15:41:12 +08:00
Xu Cheng
4cc21fb1f7 audit: audit formulae with the same name
Closes Homebrew/homebrew#40216.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-01 20:08:41 +08:00
Xu Cheng
938dc356c1 add official_taps 2015-06-01 20:08:41 +08:00
Xu Cheng
9382557a08 outdated: use Formula#full_name
Closes Homebrew/homebrew#40265.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-01 20:01:49 +08:00
Xu Cheng
6d93eee8bb test-bot: allow overwrite unpublished bottles
Closes Homebrew/homebrew#40260.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-06-01 18:14:28 +08:00
Mike McQuaid
66aae02527 test-bot: tweak bottle uploading. 2015-05-30 11:40:48 +01:00
Xu Cheng
d8f9bfa730 test-bot: remove obsolete tap --repair 2015-05-30 16:04:03 +08:00
Baptiste Fontaine
9e6934d00c brew-deps: improved --tree formatting
Closes Homebrew/homebrew#40018.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-05-29 19:26:27 +02:00
Xu Cheng
932afdd9be uses: use Formula#full_name 2015-05-29 17:02:23 +08:00
Xu Cheng
082ce482fc upgrade: use Formula#full_name 2015-05-29 17:02:23 +08:00
Xu Cheng
019bdb25f1 unpack: use Formula#full_name 2015-05-29 17:02:23 +08:00
Xu Cheng
85924eaf9f test-bot: use Formula#full_name 2015-05-29 17:02:23 +08:00
Xu Cheng
cd22a722e4 test: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
c1830828b2 search: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
3da315167c reinstall: use Formula#full_name 2015-05-29 17:02:22 +08:00
Xu Cheng
f47a4dac75 pull: use Formula#full_name 2015-05-29 17:02:22 +08:00
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