6097 Commits

Author SHA1 Message Date
Alex Dunn
dba9675ed3 add EmacsRequirement
Closes Homebrew/homebrew#39326.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-08 14:37:15 +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
Tim D. Smith
5c414dca5b add audit check for explicit Python linkage
Verifies that CPython extension modules are not explicitly linked to a
Python framework, which should never be necessary.

Python's distutils uses -undefined dynamic_lookup, as seen here:
https://github.com/python/cpython/blob/9a77656/configure.ac#L2214-L2245

Closes Homebrew/homebrew#39405.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-05-07 00:16:41 -07:00
Tim D. Smith
86612c253d anticipate python 3.5 in .pth audit 2015-05-07 00:16:41 -07:00
Xu Cheng
417b1dffa5 manpage: fix brew upgrade sentence 2015-05-06 16:23:09 +08: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
Baptiste Fontaine
fb5ad8cb3f shell.fm: migrating to homebrew/boneyard
Closes Homebrew/homebrew#39290.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-05-05 15:10:08 -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
43ce8b0791 Stop testing implementation 2015-05-04 20:43:08 -04:00
Xu Cheng
272d68740f Use TapFormulaUnavailableError instead of HOMEBREW_TAP_FORMULA_REGEX
Closes Homebrew/homebrew#39307.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-03 22:53:22 +08:00
Jack Nagel
04ac482809 Revert "Default HOMEBREW_TEMP to Dir.tmpdir"
This reverts commit b95f27ce9f956c56d080b6dc29ba8efb841c6690.
2015-05-03 10:46:23 -04:00
Xu Cheng
74ea4bd31c fileutils: use rm_rf to clean temp dir
Honestly, I don't know why git is broken under sandbox. But this seems
fix the problem in Homebrew/homebrew#38978.

Closes Homebrew/homebrew#39138.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-01 15:21:58 +08:00
Jack Nagel
fe588311cc Use predicate method 2015-05-01 00:00:55 -04:00
Jack Nagel
a14085acd3 Default HOMEBREW_TEMP to Dir.tmpdir 2015-04-30 20:11:18 -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
Mike McQuaid
01c6c73709 utils: tweak access token text.
Closes Homebrew/homebrew#39214.
2015-04-30 18:39:10 +01:00
Jack Nagel
c10f19c838 Installation tests now use the actual installer 2015-04-29 19:15:11 -04:00
Jack Nagel
2ca8172fe9 Let the test environment inject its own load path 2015-04-29 19:15:11 -04:00
Jack Nagel
80403db9a1 Use Dir.tmpdir rather than /tmp in test environment 2015-04-29 19:15:11 -04:00
Jack Nagel
dc6af1a6ae Ensure HOMEBREW_TEMP is respected in all tests 2015-04-29 19:15:11 -04:00
Jack Nagel
44ca2043d0 Allow test tmpdir to be passed in 2015-04-29 19:15:11 -04:00
Jack Nagel
0397d68259 Extract runtime configuration from global.rb
This allows global.rb to be safely loaded in the test environment.
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
Jack Nagel
ba26567b03 Manage sandbox test resources in setup/teardown 2015-04-28 22:36:54 -04: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
Jack Nagel
c07da9485f The forked build process should never run at_exit handlers
We don't use at_exit anywhere that matters, but the test framework does.
2015-04-28 01:39:28 -04:00
Jack Nagel
bae31c0b9e Fix passed-in formula name to match the class name 2015-04-28 01:39:28 -04:00
Jack Nagel
92cbac7966 Simplify substitution 2015-04-27 20:39:20 -04: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
Mike McQuaid
a76a6b2a9b ruby_requirement: add/fix default_formula. 2015-04-27 14:07:04 +01:00
Larry Gilbert
c8efdf0a30 libqxt: retire to the boneyard
Closes Homebrew/homebrew#39074.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-27 08:18:14 +01:00
Xu Cheng
ff34b1af3b manpage: add missing document
Closes Homebrew/homebrew#38351.
Closes Homebrew/homebrew#38960.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-27 12:00:04 +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
Misty De Meo
8fe0b56810 Add support for extracting LHA archives 2015-04-26 11:11:56 -07:00
Xu Cheng
71c7781ecd remove Bintray.version method
Closes Homebrew/homebrew#38587.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-26 17:19:03 +08: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
913c12fd43 Keep subprocess code inside begin block 2015-04-25 23:22:58 -04:00
Jack Nagel
f7ded45bc7 Clean up socket and filesystem resources separately 2015-04-25 23:17:13 -04:00
Jack Nagel
16dfe3dd40 Add Formula#logs 2015-04-25 23:14:05 -04:00