1802 Commits

Author SHA1 Message Date
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
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