6868 Commits

Author SHA1 Message Date
Jack Nagel
8debc18839 Add repo_valid? to remaining VCS strategies 2014-12-06 15:02:49 -05:00
Jack Nagel
a2dbcfee5b Make repo_valid? private 2014-12-06 15:02:48 -05:00
Jack Nagel
f43fe41423 Make __path methods private 2014-12-06 15:02:48 -05:00
Jack Nagel
54785bb8a0 Make cache_tag private 2014-12-06 15:02:48 -05:00
Jack Nagel
6a56c45fbf Mark private VCSDownloadStrategy methods 2014-12-06 15:02:48 -05:00
Mike McQuaid
645e82df83 Remove {start,stop}doc as we're using Yard now. 2014-12-06 09:14:20 +00:00
Jack Nagel
566d6b3a46 CurlDownloadStrategy: initialize attributes in initializer
The downloader is instantiated on-demand, so we no longer need the lazy
initialization here.
2014-12-05 22:11:23 -05:00
Jack Nagel
d157301cdc Pass the downloader a proxy object instead of the resource
We need to limit the interface that is exposed to the downloader in
order to make future changes easier.

This will be important for work on new features, such as selecting
a mirror from the command line.

In the future, the existing Resource class will probably be split into
multiple classes.
2014-12-05 22:11:23 -05:00
Jack Nagel
853399da44 Provide VCSDownloadStrategy#head? 2014-12-05 18:57:28 -05:00
Jack Nagel
68a5268aef Download strategies should return a Pathname from cached_location 2014-12-05 18:08:21 -05:00
Jack Nagel
ecba7b4e7e Stop supporting hg found in share/python 2014-12-05 17:05:48 -05:00
Jack Nagel
72c21fe991 Simplify bsdmake wrapper, take 2 2014-12-05 16:54:53 -05:00
Jack Nagel
d85d5fba22 Revert "Simplify bsdmake wrapper"
Fixes Homebrew/homebrew#34713.

This reverts commit e4461afd36f04b1cd3cf56ec0636202150ce0570.
2014-12-05 16:54:33 -05:00
Jack Nagel
fed9c9a9be Simplify bsdmake wrapper
Since bsdmake is always specified as a dependency, our xcrun wrapper
will always be able to find it, so we can get rid of this wrapper.
2014-12-05 11:01:11 -05:00
Dominyk Tiller
0d2ae7147c Documenting keg-only outside of Homebrew.
How-to-use-keg-only-outside-of-brew:
* A new piece of documentation detailing how to deal with using
keg_only formula outside of Brew itself. We’ve had a lot of questions
and issues about this recently, and the solutions aren’t as easy and
explicit to find elsewhere, so detailing it here may help reduce some
of the questions we’ve seen recently.
* I possibly whinged too much in the second section. I’m open to
criticism and being called whiny.
* Details flags, prepending the $PATH, and dealing with pkg-config.

Closes Homebrew/homebrew#34608.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-05 11:25:08 +00:00
Jack Nagel
8f51541d41 Try to match unused symbol deps last 2014-12-05 01:38:14 -05:00
Jack Nagel
36b26c9bfc Update test gems 2014-12-03 20:49:36 -05:00
Jack Nagel
ed842246f7 Make the git download strategy default to :branch => "master"
Fixes Homebrew/homebrew#33437.
2014-12-03 17:25:51 -05:00
Alessio Bogon
0a8b0d4a5c Add brew-livecheck to the list of external commands. 2014-12-03 13:36:23 +00:00
Dominyk Tiller
b1a2104f0a os: xcode bump
Bumps to the latest Xcode 6.1.1.

Closes Homebrew/homebrew#34632.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-03 11:50:40 +00:00
Jack Nagel
f0e01a0578 Use add_attribute method instead of accessing attributes hash 2014-12-02 21:14:53 -05:00
Jack Nagel
b9474dfc42 Simplify appending CDATA 2014-12-02 21:14:53 -05:00
Jack Nagel
a463caae36 Combine conditionals 2014-12-02 21:14:52 -05:00
Jack Nagel
6fe2ccf854 Fix duplicated test methods 2014-12-02 11:15:20 -05:00
Jack Nagel
03159dd831 Remove unused entries from test/.gitignore 2014-12-02 11:14:56 -05:00
Dominyk Tiller
1e04a7f16a Documentation Changes
More proposed documentation updates.

Acceptable Formulae:

* Adds Perl to the list of stuff we offer Dupes of in the Core.
* Notes that OS X’s OpenSSL is usually horribly outdated.
* Removes the incorrect space between font and forge.

Common Issues:

* We said three issues, we listed four. Oops.

External Commands:

* The cache is usually at /Library rather than ~/Library, and the rest
of the documentation says /Library, so this makes the referencing
consistent.

FAQ:

* Adds a tiny section on pinning formulae.

Interesting-Taps-And-Branches:
* Notes gaming-emulation software belongs in Homebrew/Games as well.
* nolith/Embedded hasn’t been touched for 28 months. I’ve cut it.
* anarchivist/forensics hasn’t been touched for 35 months. I’ve cut it.
* codebutler’s GTK+ experiment seems to have been terminated after one
commit. I’ve cut it.
* paxam/linux hasn’t been touched for 34 months. I’ve cut it.
* rmyers/homebrew hasn’t been touched in 42 months. I’ve cut it.
* nddrylliog/winbrew has moved, I’ve changed the URL to the new one.

Winbrew.md:
* Removed. It’s referenced in the prior file, and doesn’t really need
its own.

Closes Homebrew/homebrew#34599.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-02 14:31:32 +00:00
Jack Nagel
88b93b7aa3 Formula files are created in the repository
which is not necessarily the same as the prefix.
2014-12-01 12:11:56 -05:00
Jack Nagel
dd3d8a9060 Use better assertions 2014-12-01 11:22:58 -05:00
Peter Aronoff
f8b4c3603f Add brew any-tap to the list of user commands
Closes Homebrew/homebrew#34571.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-30 21:52:10 +00:00
Mike McQuaid
52cda8fd80 Allow searching/installing Homebrew Casks.
People want to install things like GIMP using Homebrew so let's make it
easier for them to find a decent installation method.

Closes Homebrew/homebrew#34496.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-30 17:59:02 +00:00
Jakukyo Friel
264886cfc9 Update doc/cookbook: use $HOMEBREW_PREFIX
Use $HOMEBREW_PREFIX instead of `/usr/local` when talking about
formula file path.

Closes Homebrew/homebrew#34568.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-30 17:08:02 +00:00
Jack Nagel
195cac8c91 Rescue ErrorDuringExecution when loading old formulae 2014-11-28 16:37:37 -05:00
Mike McQuaid
eae7363934 uninstall: notify on multiple versions removed.
Closes Homebrew/homebrew#34398.

Closes Homebrew/homebrew#34445.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-27 11:36:11 +00:00
Mike McQuaid
40080a4d3e caveats: don't need plist keg to_path, fix 10.8. 2014-11-27 11:00:58 +00:00
Mike McQuaid
b89bacb9c9 caveats: handle non-Homebrew plists.
Mentioned in Homebrew/homebrew#34484.
2014-11-27 10:48:24 +00:00
Misty De Meo
6017811397 doctor: handle non-extent methods passed as arguments 2014-11-26 17:54:53 -08:00
Tim D. Smith
d3ab27f860 docs: Python for formula authors
Closes Homebrew/homebrew#34228.
2014-11-26 00:21:43 -08:00
Jack Nagel
18d1d1511b Suppress output from cd
Closes Homebrew/homebrew#34246.
2014-11-25 22:27:03 -05:00
Mike McQuaid
13b770246a test-bot: more support for bottling taps. 2014-11-24 08:26:43 +00:00
Mike McQuaid
8581330d3a bottle: use --root-url instead of --root_url 2014-11-24 08:25:05 +00:00
Mike McQuaid
85f9883329 formula_installer: don't always post_install.
We don't want to do so when building bottles or we can end up with some weird stuff being bottled unintentionally (and it'll run twice; once before bottling, once afterwards).

Fixes Homebrew/homebrew#34349.

Closes Homebrew/homebrew#34397.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-23 21:24:00 +00:00
Mike McQuaid
54347843ed pull: support downloading bottles for taps. 2014-11-23 17:16:59 +00:00
Mike McQuaid
62815f4b3d test-bot: more tap upload improvements. 2014-11-23 16:59:54 +00:00
Mike McQuaid
c925c22158 test-bot: tap before attempting upload. 2014-11-23 16:50:19 +00:00
Mike McQuaid
342b09b855 test-bot: fix indentation. 2014-11-23 14:41:48 +00:00
Mike McQuaid
ed30b04911 test-bot: fix tap-from-url regex usage. 2014-11-23 14:38:40 +00:00
Mike McQuaid
00f0644106 test-bot: improve tap building.
- allow using (UPSTREAM_)GIT_URL to find the tap name
- push bottles to a remote based on the tap name
2014-11-23 14:11:46 +00:00
Mike McQuaid
c616fe737f brew-pull: die when bumping multiple formulae. 2014-11-23 11:21:26 +00:00
Slobodan Mišković
14c4c2fd67 SUPPORTERS.md: update a link.
Closes Homebrew/homebrew#34350.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-22 14:25:17 +00:00
Jack Nagel
dd820192ee Hashes do not iterate in insertion order on Ruby 1.8 2014-11-21 22:25:36 -06:00