6684 Commits

Author SHA1 Message Date
Geoff Nixon
12d2d08b9b Move pathfinder to the boneyard
Closes Homebrew/homebrew#37066.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-03-08 16:23:30 -04:00
Geoff Nixon
511c921581 Move dbslayer to the boneyard
Closes Homebrew/homebrew#37056.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-03-08 16:23:30 -04:00
Mike McQuaid
68a8d1a5e7 test-bot: check syntax with readall.
Closes Homebrew/homebrew#37471.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-08 11:13:34 +00:00
Mike McQuaid
d5f55334f1 cmd/readall: add --syntax to check for valid Ruby. 2015-03-08 11:13:33 +00:00
Mike McQuaid
3b15382029 audit: git tags should also specify revisions. 2015-03-08 10:48:58 +00:00
Mike McQuaid
b6a0105b7e download_strategy: raise on wrong tag revision.
Adds some added security to Git tags so we are able to provide an
effective checksum rather than letting them be changed without our
knowing.

Also:

- Reprioritise ref_types. Tag should take priority over branch and revisions over a single one.
- Add current_revision method. Used to verify the current repository revision matches the specified
revision. Currently only implemented for Git.
2015-03-08 10:48:58 +00:00
Mike McQuaid
5206a2523e test-bot: rename variable to avoid shadowing.
Closes Homebrew/homebrew#37487.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-08 09:39:16 +00:00
Mike McQuaid
fb99393422 test-bot: fix ambiguous arguments. 2015-03-08 09:39:15 +00:00
Mike McQuaid
36b7bae93c test-bot: remove unused variables. 2015-03-08 09:39:15 +00:00
Mike McQuaid
95a8a50aa0 install_renamed: ignore unused parameter. 2015-03-08 09:39:15 +00:00
Mike McQuaid
80714aaa7c uses: remove unused variable. 2015-03-08 09:39:15 +00:00
Mike McQuaid
1308070e66 pull: remove unused variable. 2015-03-08 09:39:15 +00:00
Mike McQuaid
2f4c02e106 pull: rename variable to avoid shadowing. 2015-03-08 09:39:14 +00:00
Mike McQuaid
57336ea68b commands: move argument to fix warning. 2015-03-08 09:39:14 +00:00
Mike McQuaid
3d71826e6d bottle: remove unused variable. 2015-03-08 09:39:14 +00:00
Xu Cheng
87a35e3580 doctor: $PATH should be insert as it is
Closes Homebrew/homebrew#37500.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-08 17:35:54 +08:00
Xu Cheng
b9c002a7cf doctor: export command should use double quotes
Closes Homebrew/homebrew#37496

Closes Homebrew/homebrew#37497.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-08 16:01:17 +08:00
Jack Nagel
eadf7de61b Decouple the install receipt from ARGV 2015-03-07 23:53:33 -05:00
Mike McQuaid
d57d63ad62 outdated: further fix tap version handling.
Closes Homebrew/homebrew#37317.

Closes Homebrew/homebrew#37480.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-07 16:26:29 +00:00
Xu Cheng
89325bbb19 cleanup: optimize perfermance
Only remove .DS_Store files from whitelisted directories.

Closes Homebrew/homebrew#37409.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-07 12:03:36 +08:00
Xu Cheng
11defcf847 formula_versions: use Utils.popen_read instead of backticks
Closes Homebrew/homebrew#37446.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-07 12:03:27 +08:00
Xu Cheng
144453368e test-bot pathname: use Utils.popen_read instead of backticks
Closes Homebrew/homebrew#37418.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-06 22:19:24 +08:00
Jack Nagel
4d5c152666 Remove unnecessary nil check
The backticks will either return a string or raise an exception, so
`executable` cannot be nil.
2015-03-05 20:48:47 -05:00
Jack Nagel
db772eee8a Use env DSL 2015-03-05 20:39:57 -05:00
Mike McQuaid
03d3f9d292 cmd/install: add force/debug/verbose to cask.
Closes Homebrew/homebrew#37217.
2015-03-05 15:36:40 +00:00
Dominyk Tiller
12861686b8 checksums: switch to sha256 for bottles and new formulae
Closes Homebrew/homebrew#37164.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-05 14:45:39 +00:00
Xu Cheng
c8835afead move formula_specialties to compat
Closes Homebrew/homebrew#37365.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-04 23:20:13 +08:00
Jack Nagel
cdb407435b Move git-flow-clone to the boneyard
Closes Homebrew/homebrew#32701.
2015-03-03 21:30:51 -05:00
Jack Nagel
162716f3fb Always output formula information on build errors 2015-03-03 21:11:00 -05:00
Xu Cheng
ce5d4a3b03 audit: deprecate ScriptFileFormula
Closes Homebrew/homebrew#37356.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-04 00:34:21 +08:00
Tim D. Smith
b1d9169ae6 language/python: add package_available? helper
Add helper to check whether a module is importable.

Closes Homebrew/homebrew#37345.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-03-03 06:31:29 -08:00
Xu Cheng
67554a7338 audit: deprecate AmazonWebServicesFormula
Closes Homebrew/homebrew#37355.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-03 21:18:01 +08:00
Viktor Szakáts
10d5c4f97b brew audit: req https for archive.apache.org urls
Closes Homebrew/homebrew#37313.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-02 11:53:53 +00:00
Jack Nagel
091ec41357 Update minitest 2015-02-27 22:06:10 -05:00
Jack Nagel
383929f336 Include more features in Hardware::CPU.features 2015-02-27 20:38:01 -05:00
Jack Nagel
1cca304f35 Make sysctl methods private rather than protected 2015-02-27 20:38:01 -05:00
Jack Nagel
889cfcc211 Drop unnecessary $?.success? check 2015-02-27 20:38:01 -05:00
Jack Nagel
1255f7b894 Move caching from sysctl_bool to sysctl_n 2015-02-27 20:38:01 -05:00
Jack Nagel
37c394f828 Add sysctl_n and sysctl_int methods to Mac hardware module 2015-02-27 20:38:01 -05:00
Jack Nagel
977981dcb9 Remove ivars from default Hardware::CPU methods
These methods are always overridden in the per-OS modules, so let's just
provide sensible defaults for documentation purposes.
2015-02-27 20:38:00 -05:00
Xu Cheng
2222834107 java: move java_dependency into a separate file and add Language::Java.java_home_env
Also update activemq to test against it

Closes Homebrew/homebrew#37218.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-28 01:42:09 +08:00
Mike McQuaid
f27f427d95 test-bot: use canonical names for taps. 2015-02-27 17:00:34 +00:00
Mike McQuaid
0161d50d7a audit: handle head/devel-only correctly. 2015-02-27 16:13:04 +00:00
Mike McQuaid
307ea17ba3 test-bot: cleanup old PR locks.
This is a problem on older versions of Git (such as on the Mountain Lion bot).
2015-02-27 13:53:29 +00:00
Mike McQuaid
b9790ffe3a exceptions: instruct not to file boneyard issues. 2015-02-26 19:17:12 +00:00
Mike McQuaid
8ec6245c18 bottle: fixup keg_contains method. 2015-02-26 19:13:10 +00:00
Mike McQuaid
17bfb0f804 Remove SourceForge references.
It was fun but we just love Bintray more than you.

Closes Homebrew/homebrew#37211.

Closes Homebrew/homebrew#37213.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-26 11:32:42 +00:00
Xu Cheng
328fa80f41 pathname: skip directory in env_script_all_files
Closes Homebrew/homebrew#37180.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-25 20:17:22 +08:00
Xu Cheng
be15a514eb audit: suggest setting JAVA_HOME by depends_on :java
Closes Homebrew/homebrew#37174.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-25 16:44:25 +08:00
Xu Cheng
747542352d JavaDependency: stop appending trailing +
Closes Homebrew/homebrew#37175.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-25 16:43:30 +08:00