Jack Nagel
e04e898d5c
Avoid explicit control flow
2015-05-12 20:33:34 -04:00
Larry Gilbert
fca020cde1
texwrapper: emigrating to homebrew/tex tap
...
Closes Homebrew/homebrew#39196 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-12 19:04:24 +08:00
Jack Nagel
71f4e90cdb
Handle deprecated options in dependency specifications
...
Fixes Homebrew/homebrew#38069 .
2015-05-11 22:07:14 -04:00
Jack Nagel
37b5fb2e1e
Stop enforcing the use of "fail" instead of "raise"
...
We use raise everywhere else in the codebase.
2015-05-10 20:40:10 -04:00
Xu Cheng
64c0927087
sandbox: fix the rules
...
1. `script` (used to fake the tty) requires write access to /dev/ptmx
and /dev/ttys*
2. sandbox profile only accepts `[0-9]` instead of `\d`.
2015-05-10 17:39:53 +08:00
Dominyk Tiller
a80c2ae06f
audit: tweak ftp.gnu.org language for clarity
...
Closes Homebrew/homebrew#39421 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-09 13:26:52 -04:00
Jack Nagel
dcaaa20b34
Remove conditional
2015-05-08 22:23:30 -04:00
なつき
6181a786c0
compilers: support gcc 5
...
Closes Homebrew/homebrew#39470 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-08 22:23:30 -04:00
Margeaux Spring
85cf16868d
CODEOFCONDUCT.md: phrasing
...
phrasing/grammar fix in CONSIDERATE paragraph
Closes Homebrew/homebrew#39534 .
Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-05-08 19:19:28 -07:00
Xu Cheng
fa9371e58e
tap: support fast clone
...
Closes Homebrew/homebrew#37592 .
Closes Homebrew/homebrew#38268 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-08 15:48:51 +08:00
Larry Gilbert
9daeef5d95
git-latexdiff: migrate to homebrew/tex tap
...
Closes Homebrew/homebrew#39463 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-05-08 15:10:38 +08:00
Xu Cheng
73277e71b1
RubyRequirement: clean up
...
1. Remove dead code (RubyRequirement always has a version)
2. Perfer `Utils.popen_read` instead of backticks.
2015-05-08 14:41:38 +08:00
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
Eli Young
241831e263
Add upgrade --all flag to bash completion script
...
Closes Homebrew/homebrew#39359 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-04 20:54:21 -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
Xue Fuqiao
c5243b0e5c
faq: replace brew upgrade
with brew upgrade --all
.
...
Closes Homebrew/homebrew#39262 .
Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-05-01 16:32:13 -07: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