6628 Commits

Author SHA1 Message Date
Xu Cheng
b109e4f1f1 metafile: extend ext list
Closes Homebrew/homebrew#35820.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-13 16:35:24 -05:00
Jack Nagel
7f7742c2b6 Add message to the exception raised when tests return false 2015-01-13 12:35:50 -05:00
Jack Nagel
4bdfb27d9f Move assertion setup into formula_assertions.rb 2015-01-13 12:33:50 -05:00
Jack Nagel
b61528e757 Save and restore ENV around test invocations
This prevents mutations that happen in individual tests from leaking
into other tests.
2015-01-13 12:19:56 -05:00
Dominyk Tiller
1b74a4f5c2 pulse: boneyarding
Incredibly frustratingly, given it seemed like a promising project
taking some steps that its forked predecessor has struggled to thus
far, particularly around encryption, and it’s already mature codebase,
upstream have nonetheless decided to stop supporting Pulse as an
individual project, thus, boneyard it goes. Sigh.

Closes Homebrew/homebrew#35800.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-13 11:37:24 +00:00
Jack Nagel
909a5af075 Omit post-install warning unless formula defines it
Closes Homebrew/homebrew#34744.
2015-01-12 21:57:47 -05:00
Jack Nagel
d298e54e50 doctor: check access on HOMEBREW_PREFIX/opt 2015-01-12 21:29:22 -05:00
Jack Nagel
d0a1800e37 doctor: check access on all important HOMEBREW_PREFIX subdirs 2015-01-12 21:26:18 -05:00
Jack Nagel
b1514c1c40 doctor: check cellar access 2015-01-12 21:26:18 -05:00
Jack Nagel
aa4ff175ff doctor: fix grammar 2015-01-12 21:26:18 -05:00
Jack Nagel
9ff211f212 doctor: remove incorrect statement from HOMEBREW_LOGS check 2015-01-12 21:26:18 -05:00
Jack Nagel
7a49c143e4 Use attr_accessor for checksum 2015-01-12 00:37:24 -05:00
Mike McQuaid
3f08b8881b cleanup-installed: use uninstall --force. 2015-01-11 10:12:44 +00:00
Tim D. Smith
c195f072d1 language/python: add --no-user-cfg to setuptools options
Closes Homebrew/homebrew#35681.
2015-01-09 23:13:36 -08:00
Xu Cheng
1818799634 test-bot: unlink conflict formulae during the test
Closes Homebrew/homebrew#35697.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-09 15:37:29 +00:00
Mike McQuaid
ae0a7bcad4 formula: set HOME to testpath in tests. 2015-01-09 11:35:03 +00:00
Mike McQuaid
26b80ecccc test-bot: improve output of dependent testing. 2015-01-09 11:35:03 +00:00
Mike McQuaid
424ded8fdb test-bot: ignore changed dependents. 2015-01-09 11:35:03 +00:00
Shaun Jackman
38cca5324d newick-utils 1.6: Move to Homebrew/science
Closes Homebrew/homebrew#35671.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-09 08:22:14 +00:00
Jack Nagel
2ad9cd20e6 Allow java dependency to accept normal dependency tags 2015-01-08 14:39:48 -05:00
Jack Nagel
459f92b065 Remove another use of the direct url writer
masgn is hard to grep for :/
2015-01-08 14:28:43 -05:00
Jack Nagel
0f01e9ff43 Remove the direct url writer from Resource 2015-01-08 14:18:41 -05:00
Jack Nagel
ba8926ea11 Don't rely on PATH when invoking xcrun shim 2015-01-07 23:12:24 -05:00
Jack Nagel
4bbefc12e3 Eliminate boolean argument to Version.new 2015-01-07 15:21:20 -05:00
Jack Nagel
35793f0e0c Let Version.parse instantiate subclasses 2015-01-07 15:21:20 -05:00
Dominyk Tiller
dd8950d0a9 apr 1.5.1 (new formula)
Migrates Apr from Homebrew/Apache to Homebrew/Homebrew, adds a
requirement to allow people to use this Apr instead of requiring
people to download the full CLT package. Tested against subversion
with consistent success.

Closes Homebrew/homebrew#34987.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-06 17:29:06 +00:00
Dominyk Tiller
aaca6edfaa requirements: externalise apr requirement
Removes the apr requirement from this internal document in favour
of making it an external requirement, which allows us to use an
apr formula to provide apr instead of asking people to install the
whole CLT package.
2015-01-06 17:08:32 +00:00
Dominyk Tiller
50d64da1ec audit: improve ssl/tls detection
I don’t know how maintainers are going to feel about this, to be
honest. If it’s too clunky, perhaps we could externalise the entire two
main blocks here and then require that file into the audit instead?

Basically, I’m pushing changes here to better detect a wide-array of
SSL/TLS available links that either have no auto-redirect in place or
is a common linking error in formulae. I haven’t spotted any false
positives yet, but obviously, feel free to try and break the changes
and I’ll fix as necessary ;).

IMO, this would allow us gradual updates without having to mass-update
everything at once and stress the bot and inform users they have
hundreds of updates pending when really it’s just style/basic changes.

Closes Homebrew/homebrew#35551.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-06 08:16:25 +00:00
Jack Nagel
b459f953c4 Stop caching the downloader on the resource instance 2015-01-06 00:25:04 -05:00
Jack Nagel
dcad08339e Fix syntax error 2015-01-05 15:28:31 -05:00
Jack Nagel
d79a7c0fcf Always use exec_editor to exec the editor 2015-01-05 15:27:07 -05:00
Jack Nagel
04f600bb50 Emit warning when no editor is set
Closes Homebrew/homebrew#34647.
2015-01-05 15:23:35 -05:00
Mike McQuaid
dc16371e19 utils: install_gem_setup_path! now checks PATH.
Check the executable is present to give a better error message if it isn't.

Closes Homebrew/homebrew#35541.
2015-01-05 19:14:55 +00:00
Mike McQuaid
6fe0c3a83b rubocop.yml: tweak rules to match existing format.
Don't want to enforce more than we need to.
2015-01-05 19:01:39 +00:00
Jack Nagel
e0286c5aae Avoid shell quoting issues when extracting xz and lz archives 2015-01-05 10:46:14 -05:00
Jack Nagel
120bd43f87 Buffer 16K at a time 2015-01-05 10:45:05 -05:00
Mike McQuaid
3821c190f9 style: explicitly point to config file.
Closes Homebrew/homebrew#35556.
2015-01-05 08:01:20 +00:00
Mike McQuaid
980cad0717 audit (strict): only run brew style with Ruby 2. 2015-01-05 07:52:47 +00:00
Dominyk Tiller
e871a91958 install: fail on devel where devel doesn't exist
Just equalises a little how we treat HEAD and devel. The former already
fails if there isn’t a head defined, It seemed logical that devel
should fail in the same way.

Closes Homebrew/homebrew#35554.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-05 00:04:23 -05:00
Jack Nagel
f937e5f920 Forward arguments in IRB formula helpers 2015-01-04 21:37:27 -05:00
Jack Nagel
eec4feccaa Include selected spec in Formula#inspect 2015-01-04 21:36:22 -05:00
Jack Nagel
8535c037ac Remove unused assignment 2015-01-04 15:37:33 -05:00
Jack Nagel
50514678d1 Make active_spec protected 2015-01-04 15:33:25 -05:00
Jack Nagel
bda3b4d91e Decouple LocalBottleDownloadStrategy from CurlDownloadStrategy 2015-01-04 15:33:25 -05:00
Jack Nagel
799d2571e3 Extract non-curl parts of CurlDownloadStrategy into a base class 2015-01-04 15:33:25 -05:00
Jack Nagel
683e209b10 Remove unused argument 2015-01-04 14:29:00 -05:00
Jack Nagel
991f540855 Doc most DSL methods as write-only
The public readers for these attributes are on the instance, not the
class.
2015-01-04 14:25:59 -05:00
Jack Nagel
85dfece168 Fix markup 2015-01-04 14:25:59 -05:00
Jack Nagel
6eb0b3505b Top-level DSL methods only manipulate the stable spec 2015-01-04 14:25:59 -05:00
Jack Nagel
4398660cdd Checkout outdatedness in brew upgrade <formula>
Fixes Homebrew/homebrew#35523.
2015-01-04 14:03:56 -05:00