| Age | Commit message (Collapse) | Author |
|
|
|
Saves building our own tool to do the same job!
|
|
Added Formula::etc()
Added Pathname::write() convenience function which can write a string out to
the file it points too, raising if it would have to overwrite.
|
|
|
|
Discussion: d60fc4ba86d45255b0093303c45f6b1c2196fda2
|
|
|
|
We don't install documentation to save space. It seems pointless in this
modern age where the online docs are probably more up to date. However I do
believe this should be an option, defaulting to "don't install".
|
|
|
|
I confirmed this change with all relevant contributors first.
|
|
Because formula don't get named unless the brew kit instantiates them accessory formula were getting named "__UNKNOWN__". Which sucks.
This isn't ideal for me as I made the naming use @name and @version to ensure unique naming. Now it is possible to have name clashes in the cache. So I need to solve it better at some point.
|
|
|
|
|
|
Closes Homebrew/homebrew#8
|
|
Add a note that 'exit 1' will abort the installation in --debug mode.
Signed Off By: Max Howell <max@methylblue.com>
I ammended the text slightly and made the lines all 78 chars wide maximum.
|
|
|
|
Fix git download strategy
|
|
|
|
|
|
A formula can have just a @head url or the user can specify to install HEAD
with --head. We support subversion and git checkouts.
The version is set to HEAD for head builds.
Next step is making brew update handle these installs correctly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return nil instead
|
|
We'd gotten to the stage where Formula was so lean, it was pointless to
separate it.
|
|
Untested
|
|
Adds a new DownloadStrategy that checks files out from Subversion to the
cache, then exports over to the temp folder for the build.
To use checkout with the svn:// protocol or reimplement download_strategy and
return SubversionDownloadStrategy.
|
|
This patch adds a ArchiveDownloadStrategy that handles downloading
tarbarlls and decompressing them into the staging area ready for brewing.
Refactored safe_system and curl into utils.rb
Signed-off-by: Max Howell <max@methylblue.com>
Modifications to Adam's original patch:
I reverted objectification of checksum verification because I couldn't think
of any other download validation methods that might be useful to us in the
future, so allowing such flexibility had no advantages. If we ever need this
to be OO we can add it. But for now less complexity is preferable.
I removed the @svnurl class member. Instead download_strategy is autodetected
by examining the url. The user can override the download_strategy in case this
fails. Thus we already can easily add support for clones of git repositories.
|
|
|
|
|
|
Signed-off-by: Max Howell <max@methylblue.com>
|
|
Automagically determines prefix to install to for DIY installations.
README amended.
|
|
Because directories don't have extensions.
Included test
|
|
Signed-off-by: Max Howell <max@methylblue.com>
|
|
The default is p0, but if you return a Hash instead of an array from patches you can specify patch level. See the comment documentation.
Closes Homebrew/homebrew#10
|
|
Closes Homebrew/homebrew#13
|
|
|
|
Strange that they did often enough for my tests to work.
|
|
It was raising an exception, which stopped prune in its tracks when
something was installed root, eg. Fuse.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Speeds up Python formula plenty in clean phase
|
|
|
|
libpng and that are in the X11 formula
|