4632 Commits

Author SHA1 Message Date
Xu Cheng
adedbb86f1 sandbox: record log
Closes Homebrew/homebrew#38711.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-17 14:09:24 +08:00
Mike McQuaid
ced7598d67 test-bot: delete cache files older than 30 days.
Closes Homebrew/homebrew#38567.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-16 17:52:11 -07:00
Mike McQuaid
451a07cc4e cleanup: add --prune to delete old cache files. 2015-04-16 17:52:10 -07:00
Xu Cheng
d1617e86d0 sandbox postinstall
Closes Homebrew/homebrew#38479.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-15 19:51:54 +08:00
Xu Cheng
b621edf89d sandbox test 2015-04-15 19:51:54 +08:00
Dominyk Tiller
3cc24528bf Revert "brew pull: add automatic tap repair"
This reverts commit bcd34ded9e4b17b8658b7ae947cd392a4e5942c0.

Closes Homebrew/homebrew#38658.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-14 22:40:12 -07:00
Dominyk Tiller
399388d8b9 brew pull: add automatic tap repair
At the moment, every time I pull a new formulae from a tap, I have to
fetch it with the fully qualified name, `brew fetch
homebrew/versions/duck123 `, which is fine, but then I also have to
install, test, and audit it in the same way, which isn’t fixed until I
tap repair, which gets a bit onerous.

This just adds a step to `brew pull` where it does the tap repair
automatically for taps.

Closes Homebrew/homebrew#37788.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-13 12:45:18 -07:00
Mike McQuaid
dfcb26b2c3 readall: use named to check if ARGV is empty.
Otherwise e.g. --debug will be interpreted as a (bad) tap argument.

Closes Homebrew/homebrew#38569.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-12 21:37:29 -07:00
Baptiste Fontaine
8363b35216 audit: don't split shell commands when using a glob pattern
Without this, `brew audit <some formula>` may ask people to change:

    system "./script.sh foo-*"

into:

    system "./script.sh", "foo-*"

These are not the same. In the first example the shell expansion occurs
while it doesn’t in the second one, breaking the build.

Closes Homebrew/homebrew#38540.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-12 21:34:53 -07:00
Mike McQuaid
c86166c43e pull: increase bottle publish wait timeout. 2015-04-09 10:34:33 +01:00
Mike McQuaid
63d8bcd314 tap: better match install format. 2015-04-09 09:00:18 +01:00
Mike McQuaid
6b41f38b69 untap: better match uninstall format. 2015-04-09 09:00:08 +01:00
Tim D. Smith
407b82406f test-bot: don't check deps until taps are tapped
brew deps will fail silently if a formula has dependencies which live in
taps that have not yet been tapped. Delay checking brew deps until after
tap dependencies are discovered.

Closes Homebrew/homebrew#38424.
2015-04-09 00:42:51 -07:00
Xu Cheng
cd00abab55 uninstall: display file size
Closes Homebrew/homebrew#38475.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-09 15:25:22 +08:00
Mike McQuaid
6acf05aea0 pull: sleep before fetching uploaded bottle. 2015-04-08 13:56:57 +01:00
Mike McQuaid
62df28a476 uses: also check the default formulae.
This means e.g. `elixir` will show up as using `erlang`.
2015-04-08 13:39:12 +01:00
Jack Nagel
3587dc441e Remove duplication from cleanup methods 2015-04-07 21:14:48 -04:00
Dominyk Tiller
45c9e84c15 cleanup: display file-sizes
Closes Homebrew/homebrew#38404
2015-04-07 18:32:29 +01:00
Mike McQuaid
631742c527 pull: try downloading bottles after upload. 2015-04-07 08:33:58 +01:00
Mike McQuaid
cfc8ac0190 test-bot: override existing Bintray bottles. 2015-04-07 08:31:17 +01:00
Dominyk Tiller
6370ccf9a8 list: exclude pypy from unbrewed
Excludes the PyPy paths from the unbrewed list, since we do the same
with Python.

Closes Homebrew/homebrew#38399.
2015-04-06 20:16:22 -07:00
Jack Nagel
deebf86683 switch: do not require an existing formula 2015-04-05 14:57:06 -04:00
Viktor Szakáts
1b5fc1fb02 audit: enforce https for bare bintray.com domain
Closes Homebrew/homebrew#38302.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-02 16:39:00 +01:00
Jack Nagel
a4ff45e5ee Use pkg_version when comparing against keg versions 2015-04-01 21:15:18 -04:00
Mike McQuaid
30de8f0f74 pull: make the bintray message stronger. 2015-03-31 13:11:21 +01:00
Viktor Szakáts
f6946cd9f6 audit: enforce https on *.bintray.com urls
Closes Homebrew/homebrew#38209.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-31 12:55:24 +01:00
Jack Nagel
60fe954bfd unpack: expand destdir in case a relative path is given
Fixes Homebrew/homebrew#38067.
2015-03-25 22:22:51 -04:00
Xu Cheng
453990f1aa add method to detect shell profile file based on users' preference shell
Closes Homebrew/homebrew#38017.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-24 21:18:32 +08:00
Mike McQuaid
28f26e0c9f reinstall, upgrade: tweak use of tab build_bottle.
In the case where a bottle wasn't around before and is now it probably
doesn't make sense to use `build-bottle` to build something that will
be identical to the binary bottle package anyway. After all, when you
use the bottle you will end up with something that has been built with
`build-bottle` anyway (just not by you).
2015-03-24 12:11:40 +00:00
Mike McQuaid
959d92a84a test-bot: first git clean should not be a test.
We don't care if it fails as we'll immediately run a stronger version
afterwards (and we care if that fails).
2015-03-24 09:13:42 +00:00
Mike McQuaid
a4f474ddb9 test-bot: uninstall build deps before bottle test.
This should hopefully more often catch the situation where things are
marked as build dependencies incorrectly.

Closes Homebrew/homebrew#37927.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-23 13:30:55 +00:00
Mike McQuaid
e7053ac35a test-bot: allow skipping homebrew step. 2015-03-23 13:30:55 +00:00
Mike McQuaid
a46ab0d641 test-bot: tweak documentation indentation. 2015-03-23 13:30:55 +00:00
Mike McQuaid
a09641a581 deps: allow skipping build, optional deps. 2015-03-23 13:30:54 +00:00
Baptiste Fontaine
edf205f5ca aspell-dictionaries: use sha256 for resources
Closes Homebrew/homebrew#37962.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-22 16:28:34 +00:00
Mike McQuaid
862c0ddf4a test-bot: remove --debug flag.
Too spammy in the output. May consider readding later to specific
commands.
2015-03-20 20:22:54 +00:00
Mike McQuaid
cf204b6234 pull: die on invalid parameters. 2015-03-20 17:46:19 +00:00
Mike McQuaid
3f9d5aad74 pull: allow pulling from API URLs.
Jenkins has started spitting these out; no idea why.
2015-03-20 17:46:18 +00:00
Mike McQuaid
2d1c8b4de4 test-bot: don't run readall on <=10.8.
The Ruby 1.8 implementation seems to be really flaky, unfortunately.
2015-03-20 16:59:21 +00:00
Mike McQuaid
3fd45673a5 pull: always publish bottles.
The previous logic was flawed as it wasn't publishing new versions of
bottles.
2015-03-18 18:15:40 +00:00
Viktor Szakáts
3d23580ff2 audit: fix to enforce https for apache homepage
It was failing to recognize the URL without an ending slash.

Closes Homebrew/homebrew#37808.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-18 12:29:00 +00:00
Viktor Szakáts
02cb05f22b audit: enforce https for apache.org
- including all apache.org subdomains
- for `homepage` as well

Closes Homebrew/homebrew#37778.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-17 13:31:08 +00:00
Mike McQuaid
514910e812 test-bot: remove more bad unicode characters. 2015-03-16 18:39:45 +00:00
Mike McQuaid
fffba3dc7d test-bot: remove another invalid XML character. 2015-03-16 10:29:56 +00:00
Xu Cheng
e2994bb078 audit: suggest to not using git as dependency
Closes Homebrew/homebrew#37696
Closes Homebrew/homebrew#37703

Closes Homebrew/homebrew#37735.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-15 20:55:55 +08:00
Jack Nagel
abb0cb3aa0 Switch to a more useful serialization of tap info
Closes Homebrew/homebrew#37383.
2015-03-14 21:14:37 -04:00
Baptiste Fontaine
04508b0c4d brew style: --fix to auto-correct issues.
Closes Homebrew/homebrew#37670.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-13 13:21:15 +00:00
chdiza
21314474cd audit: Clarify GNU url warning message
"ftpmirror.gnu.org" must have a protocol prefix of "http", not
"https".

Closes Homebrew/homebrew#37567.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-12 08:19:37 +00:00
Xu Cheng
b136a0acdf install: refactoring blacklist check
Closes Homebrew/homebrew#37590.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-11 17:27:49 +08:00
Xu Cheng
7d7081a18b audit: whitelist pipe, redirect etc in the system check
Closes Homebrew/homebrew#37523.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-10 00:57:21 +08:00