4632 Commits

Author SHA1 Message Date
Xu Cheng
471c5502f5 test-bot: don't complain bottle errors when installing gcc and hg
Closes Homebrew/homebrew#39626.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-18 19:48:06 +08:00
Xu Cheng
ae41a51976 test-bot: unlink conflicted formulae 2015-05-18 19:48:06 +08:00
Dominyk Tiller
e4db0adf54 doctor: add homebrew_temp sticky bit check
Adds a small check to the Doctor command to ensure HOMEBREW_TEMP
has a sticky bit set. This has become a significant issue lately.

Closes Homebrew/homebrew#39735
Original issue: Homebrew/homebrew#39170

Closes Homebrew/homebrew#39739.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-14 21:24:49 +01:00
Viktor Szakats
a054005883 audit: fix two message typos
Originally submitted as part of https://github.com/Homebrew/homebrew/pull/38824/files,
later reverted due another hunk.

Closes Homebrew/homebrew#39753.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-14 21:24:49 +01:00
Mike McQuaid
0a2dd832b9 Install specific Rubocop version.
Closes Homebrew/homebrew#39620.
2015-05-14 16:05:00 +01:00
Mike McQuaid
7d88c110f6 test-bot: rerun brew update if it fails. 2015-05-14 09:40:53 +01:00
Mike McQuaid
d05d185d2e test-bot: cleanup more locks. 2015-05-14 08:45:39 +01:00
Jack Nagel
f242381e2a Tweak audit copy
URLs are not links.
2015-05-14 00:15:41 -04:00
Jack Nagel
c16a1d9aba Extend gnome stable/unstable audit to download.gnome.org URLs 2015-05-14 00:01:00 -04:00
Xu Cheng
68a654dd26 pull: warning if we are not in master
Closes Homebrew/homebrew#39708.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-13 18:32:37 +08:00
Misty De Meo
ce6885e784 Audit: stop warning about Github .patch URLs
These no longer have a git version appended; e.g.:
ddb966061f.patch
2015-05-12 20:20:13 -07:00
Dominyk Tiller
a80c2ae06f audit: tweak ftp.gnu.org language for clarity
Closes Homebrew/homebrew#39421.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-09 13:26:52 -04:00
Xu Cheng
fa9371e58e tap: support fast clone
Closes Homebrew/homebrew#37592.
Closes Homebrew/homebrew#38268.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-08 15:48:51 +08:00
Xu Cheng
8297810e3c add Formulary::path method
This is a little code refactoring splited from Homebrew/homebrew#36753

The idea is to eliminate `Formula#path` outside of `formulary.rb`.
And I indent to deprecate `Formula#path` method when I reimplement
symlink free tap function.

Closes Homebrew/homebrew#39313.
2015-05-08 13:51:26 +08:00
Viktor Szakats
6199da8fc7 audit: enforce SSL/TLS MetaCPAN urls
Closes Homebrew/homebrew#39513.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-08 00:44:01 -04:00
Jack Nagel
3895a0ae23 Rename method 2015-05-07 23:18:01 -04:00
Jack Nagel
41ecce7898 Push URL audits down to ResourceAuditor 2015-05-07 22:44:45 -04:00
Jack Nagel
5c8ceaa458 Warn about duplicated URLs
Closes Homebrew/homebrew#39486.
2015-05-07 22:15:57 -04:00
Xu Cheng
1f7c4ee644 replace brew upgrade with brew upgrade --all. 2015-05-06 16:19:07 +08:00
Alex Muller
83bcde2317 Update links to GitHub's personal access token
The link for the page that allows creation of API tokens has changed
from /settings/applications to /settings/tokens. Also the wording
on that page calls them "personal access tokens", so update
Homebrew to be consistent with that.

Closes Homebrew/homebrew#39378.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-05-05 15:46:42 -07:00
Xu Cheng
355e358ce0 audit: Don't complain about untapped conflicts
Closes Homebrew/homebrew#39304.
2015-05-05 23:26:11 +08:00
Dominyk Tiller
9dc8db12e4 audit: flag incorrect automake/autoconf/libtool dep handling
Just makes the audit cough out this:
```
 * :libtool is deprecated. Usage should be "libtool"
 * :autoconf is deprecated. Usage should be "autoconf"
 * :automake is deprecated. Usage should be "automake"
```

Closes Homebrew/homebrew#39303.
Closes Homebrew/homebrew#39322.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-04 20:55:22 -04:00
Viktor Szakats
2e3a0263d4 audit: require https for all *.googlecode.com resources
Closes Homebrew/homebrew#39206.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-04 20:51:45 -04:00
Jack Nagel
fe588311cc Use predicate method 2015-05-01 00:00:55 -04:00
Jack Nagel
c7ca28a161 Fix encoding of output string 2015-04-30 19:42:54 -04:00
Jack Nagel
e023d869a2 Revert "test-bot: try to handle bad UTF-8 output."
This reverts commit b4c2b8f3b4b58ef10ab8f748c743a3352f4cee7d.
2015-04-30 19:41:58 -04:00
Jack Nagel
2ca8172fe9 Let the test environment inject its own load path 2015-04-29 19:15:11 -04:00
Mike McQuaid
ee0a553021 test-bot: try to handle bad UTF-8 output. 2015-04-29 12:57:13 +01:00
Xu Cheng
a972565739 bottle: matching url with options
Closes Homebrew/homebrew-versions#791.

Closes Homebrew/homebrew#39137.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-28 18:59:40 +08:00
Xu Cheng
9ed00fc7fa test-bot: print output if ARGV.verbose?
Closes Homebrew/homebrew#39078.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-27 23:59:59 +08:00
Jack Nagel
cac6f2f070 Fix variable name 2015-04-26 21:59:47 -04:00
Jack Nagel
b42259f628 Fix variable name 2015-04-26 21:56:22 -04:00
Mike McQuaid
c725059251 upgrade: announce usage of --all.
Tell users that we will soon be migrating `--all` so it is required if
you wish to upgrade all formulae.

Closes Homebrew/homebrew#38572.
2015-04-26 19:40:33 +01:00
Xu Cheng
b3a38ea871 brew-test-bot: use pkg_version when uploading bottles 2015-04-26 17:19:03 +08:00
Xu Cheng
e1611c4c22 brew-pull: use pkg_version when publishing bottles 2015-04-26 17:19:03 +08:00
Jack Nagel
16dfe3dd40 Add Formula#logs 2015-04-25 23:14:05 -04:00
enami tsugutomo
789390f378 Fix brew unpack --patch
Applying patches in `brew unpack` was broken since b76e26c9cf1f
("Decouple applying patches from staging the source").

Closes Homebrew/homebrew#38997.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-04-24 20:31:19 -04:00
Dominyk Tiller
ec7b513a53 search: add homebrew/tex to search params
Closes Homebrew/homebrew#38855.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-24 18:35:06 +01:00
Mike McQuaid
332497b154 cleanup-installed: remove command.
It's been deprecated for a few months and `brew bundle` is a far better
tool for this than `cleanup-installed` was.

Closes Homebrew/homebrew#38893.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-23 10:47:25 +01:00
Xu Cheng
fbc47d86ad sandbox: add deny_write_homebrew_library method 2015-04-23 12:33:54 +08:00
Alex Dunn
d85f2dabca cmd/search: notification on attempted regex searches
Closes Homebrew/homebrew#38760.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-21 10:54:29 +01:00
Xu Cheng
3287c5f388 test: add missing require "timeout"
When the timeout exception is propagated backed from `safe_fork`,
it requires "timeout" to restore the exception.
2015-04-21 16:59:37 +08:00
Mike McQuaid
033964fe87 pull: fetch bottles with --retry. 2015-04-20 19:52:39 +01:00
Jack Nagel
d6bca69347 Revert "audit: enforce new https url style for gnome downloads"
I would like there to be more discussion before making this change.

This reverts commit f16ffd2a9ee5d29c7c0ae672c17bd129240adbb5.
2015-04-19 12:48:09 -04:00
Viktor Szakats
86ee198af9 audit: enforce new https url style for gnome downloads
also delete extra closing parenthesis in two problem messages

Closes Homebrew/homebrew#38824.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-19 15:32:04 +01:00
Xu Cheng
64e07fc990 audit: version string should not be ambiguous with revision part
Closes Homebrew/homebrew#38810.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-19 20:29:52 +08:00
Jack Nagel
a5c9c586ff Move can_cleanup? off of the formula instance 2015-04-17 22:58:02 -04:00
Jack Nagel
338a08d8d6 Ask the formula if it can be cleaned up once 2015-04-17 22:58:02 -04:00
Jack Nagel
505d06c176 Simplify cleanup eligibility check 2015-04-17 22:58:02 -04:00
Dominyk Tiller
703de5556f linkapps: output nothing if no apps exist
The standard message can be somewhat confusing (#38695) in that it
outputs “finished linking” language regardless of whether an app is
actually present/linked or not.

This solution just stops it saying anything if there’s no app in the
directory. It needs a little tidying in the output here, but it’s a
discussion point.

Closes Homebrew/homebrew#38728.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-17 10:54:19 -07:00