Jack Nagel
d4c8f83381
Inline error message
2015-04-21 20:46:02 -04: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
305ced5360
Add RubyRequirement.
2015-04-21 09:33:41 +01:00
Jack Nagel
f0eca11d6b
Revert "Use real repo to run tests"
...
This reverts commit 5aaf13c6cf784cb4be62932b3e528e8f93580a65.
2015-04-20 22:33:25 -04:00
Jack Nagel
6278e08aec
Use real repo to run tests
2015-04-20 21:00:26 -04:00
Jack Nagel
f9900a5dbf
Remove assertion that is coupled to test prefix structure
2015-04-20 20:58:33 -04:00
Jack Nagel
2fb9890e07
Don't use deprecated API
2015-04-20 20:49:55 -04:00
Jack Nagel
136bc02374
Simplify setting load path
2015-04-20 20:31:16 -04:00
Jack Nagel
11c513efbd
Our internal directory structure is private
2015-04-20 20:25:13 -04:00
Mike McQuaid
033964fe87
pull: fetch bottles with --retry.
2015-04-20 19:52:39 +01:00
Mike McQuaid
24bdcb7b39
keg_fix_install_names: fixup plists.
2015-04-20 19:01:08 +01:00
Mike McQuaid
e370cd784b
formula_cellar_checks: fix memcached shadowing.
2015-04-20 12:47:34 +01:00
Mike McQuaid
3657633327
formula_cellar_checks: ignore memcached shadowing.
2015-04-20 10:17:31 +01:00
Tim D. Smith
af57cffeb0
work around missing __debug header in Xcode CLT 6.3
...
uses the LLVM 3.6 debug header from:
http://reviews.llvm.org/diffusion/L/browse/libcxx/tags/RELEASE_360/final/include/__debug
Workaround for Homebrew/homebrew#38514 .
Closes Homebrew/homebrew#38735 .
2015-04-19 13:41:26 -07: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
Xu Cheng
2f757ee5aa
bottle_version: support openssl style
2015-04-19 15:18:12 +08:00
Xu Cheng
61a711f802
stop supporting 0_5_0 style bottle version
...
The original formula (disco) has been moved to use 0.5.0 style version
string. So actually no one is using such style.
Stop supporting such style, so it wouldn't be ambiguous with revision
part in `Formula#pkg_version`.
Closes Homebrew/homebrew#38750 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-19 14:21:50 +08:00
Jack Nagel
47aae82d33
Remove bad test
2015-04-18 15:20:58 -04:00
Alex Dunn
6a916a080a
bbcp: move to head-only
...
Closes Homebrew/homebrew#38769 .
Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-04-17 23:25:21 -07: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
Jack Nagel
c2dcd91bd1
Eliminate a place where ARGV is mutated
2015-04-16 22:20:59 -04: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
Mike McQuaid
e8c0d8ac20
tap_migrations: migrate pebble-sdk.
...
Closes Homebrew/homebrew#35128 .
2015-04-16 17:16:27 -07:00
Jack Nagel
cc92f491c8
Fix test formula name so it matches the filename
2015-04-15 21:28:23 -04: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
Xu Cheng
a6be0b5bb8
sandbox: redesign API
2015-04-15 19:51:54 +08:00
Xu Cheng
06f72ab38f
move safe_fork into a standalone method
2015-04-15 19:51:54 +08:00
Xu Cheng
c952fda202
build: fix typo
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
3c2493f862
rubocop: update for 0.30.0
...
v0.30.0 has killed a couple of the methods being used and is throwing
warnings around like candy. This switches to the new methods.
Rubocops are obviously a matter of choice, and I’ve added choice here
based on what was said in previous PRs and my own personal views on
readability. Happy to be told to change things to different variables.
For upstream detail, see:
*
https://github.com/bbatsov/rubocop/blob/master/relnotes/v0.30.0.md#chang
es
* https://github.com/bbatsov/rubocop/pull/1721/files
* https://github.com/bbatsov/rubocop/pull/1655/files
Closes Homebrew/homebrew#38655 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-14 22:37:56 -07:00
Jack Nagel
0d6545363d
Update test dependencies
2015-04-13 20:04:39 -04: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
9cfd768bfe
formula: add more API docs for directories.
...
Closes Homebrew/homebrew#38571 .
2015-04-12 21:49:12 -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
Viktor Szakats
9c46e4be0a
download_strategy: automatically use apache.org https mirror
...
Discussion: https://github.com/Homebrew/homebrew/issues/37945
Patch by @jacknagel.
Closes Homebrew/homebrew#38492 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-10 08:39:18 +01:00
Dominyk Tiller
4d442b0316
os: support xcode 6.3
...
It’s Christmas. New stable OS X version, new Swift version, new Xcode,
new CLT and a new Clang version.
Closes Homebrew/homebrew#38468 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-09 11:25:15 +01:00
Xu Cheng
2f529220e7
preliminary write control only sandbox
...
Closes Homebrew/homebrew#38361 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-09 17:42:54 +08: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