5820 Commits

Author SHA1 Message Date
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
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
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
Mike McQuaid
c294ce22a7 audit: also run brew style on --strict.
Closes Homebrew/homebrew#35465.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-04 11:05:34 +00:00
Mike McQuaid
e0cacd3008 style: run Rubocop on formulae (new command) 2015-01-04 11:05:34 +00:00
Mike McQuaid
1cd0a47067 tests.rb: use Homebrew.failed to send exit code. 2015-01-04 11:05:34 +00:00
Viktor Szakats
fc2818b7a5 Use more https in urls and updated some lost links
Closes Homebrew/homebrew#35531.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-04 02:13:16 -05:00
Jack Nagel
9db8580414 Explicitly pass formulae to outdated_brews 2015-01-04 00:41:24 -05:00
Jack Nagel
318c103802 Remove unnecessary encoding comments
These files do not contain any non-ASCII characters.
2015-01-03 23:44:26 -05:00
Viktor Szakats
b81097cdee Use more https links and some link updates along the way
Closes Homebrew/homebrew#35529.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03 23:03:08 -05:00
Jack Nagel
a52143c63c Remove readline and zlib hacks 2015-01-03 22:39:07 -05:00
Jack Nagel
a2a24b3a0d Load formulae into private namespace 2015-01-03 22:39:07 -05:00
Xu Cheng
8ab4b9ae55 fixtures add test.ico
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03 22:37:59 -05:00
Baptiste Fontaine
fe0c57cd0f brew irb --help replaced with --examples
The --help flag is intercepted by brew.rb and prints the global usage
string. `irb` is never called when `brew irb --help` is executed.

Closes Homebrew/homebrew#35466.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03 21:31:26 -05:00
Jack Nagel
43aa00227a Get rid of mixed operator styles 2015-01-03 17:54:07 -05:00
Xu Cheng
fae84e5031 replace fixture png to 8x8 in size and rgb scale color
Closes Homebrew/homebrew#35456.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-03 20:50:01 +00:00
Mike McQuaid
39fb39288f utils: always set PATH in install_gem_setup_path. 2015-01-02 14:13:32 +00:00