Roland Walker
020aaca082
Merge pull request #3013 from rolandwalker/accept_trailing_rb
...
accept and ignore trailing `.rb` on CL arguments
2014-02-25 18:31:37 -05:00
Roland Walker
36cd9e4d72
accept and ignore trailing .rb on CL arguments
...
"Be conservative in what you do, be liberal in what you accept."
2014-02-25 18:24:58 -05:00
muescha
d7341a79b5
better error message (same like at cabextract)
2014-02-26 00:08:18 +01:00
Roland Walker
c7e0e5b2e5
support Bzip2 containers
...
bzips of tarballs are already supported via `tar`. This
adds support for a single file asset within a bzip2 container.
2014-02-25 16:36:36 -05:00
Roland Walker
9fa39c2681
add support for RAR containers
...
this will not pass Travis until #2744 is merged
2014-02-25 16:29:24 -05:00
Roland Walker
76eab0ad8a
Merge pull request #3040 from rolandwalker/stuffit_containers
...
add support for Stuffit containers
2014-02-25 16:27:16 -05:00
Roland Walker
fe90e266f5
Merge pull request #2705 from rolandwalker/search_exact
...
Divide search output into sections
2014-02-25 12:59:53 -05:00
Roland Walker
b90633d92a
add support for Stuffit containers
...
This will not pass Travis until #2744 is merged
2014-02-25 12:54:49 -05:00
Roland Walker
76602af5cf
Merge pull request #2744 from rolandwalker/sevenzip_containers
...
Add 7z container support
2014-02-25 12:51:21 -05:00
Võ Anh Duy
33a97a1a5f
CLI - Fetch
...
Add `fetch` command to cli like suggestion at the end of #2528
2014-02-26 00:44:22 +07:00
Roland Walker
a75a4840cf
Add 7z container support
...
relevant Casks must use `depends_on_formula unar`
2014-02-25 12:32:37 -05:00
Roland Walker
297cd6382a
Merge pull request #3058 from rolandwalker/exception_objects
...
raise exception objects
2014-02-25 12:30:30 -05:00
Roland Walker
cb627e463c
Merge pull request #3073 from rolandwalker/add_target_metadata
...
add extended attributes for `:target` links
2014-02-25 12:30:15 -05:00
Roland Walker
f3bbecb029
Merge pull request #3105 from rolandwalker/appcast_dsl
...
add optional appcast stanza to DSL
2014-02-25 12:30:08 -05:00
Roland Walker
abe1f175ca
Merge pull request #3107 from rolandwalker/dsl_no_check_syntax
...
`sha256 :no_check` as synonym for `no_checksum`
2014-02-25 12:29:48 -05:00
Roland Walker
22e24ea5c5
Merge pull request #3131 from rolandwalker/cmd_aliases
...
provide command aliases to match Homebrew
2014-02-25 12:29:22 -05:00
Roland Walker
a7647426ce
Merge pull request #2467 from vmrob/adobe-air-apps
...
Add support for Adobe Air app container
2014-02-25 12:23:08 -05:00
Roland Walker
45d72b8838
Merge pull request #3079 from rolandwalker/brew_cask_update
...
make `brew cask update` synonym for `brew update`
2014-02-24 19:08:02 -05:00
Roland Walker
4fcdab0583
provide command aliases to match Homebrew
...
fixes #2969
2014-02-24 08:15:52 -05:00
Roland Walker
6f6a07fc0f
mass whitespace cleanup
2014-02-22 21:13:52 -05:00
Roland Walker
3623d13e85
sha256 :no_check as synonym for no_checksum
2014-02-22 19:47:43 -05:00
Roland Walker
fe2ff07f2e
add optional appcast stanza to DSL
...
Appcasts are a standard way for applications to publish
information about available updates via RSS. Sparkle and
other update frameworks are built upon appcasts.
In a quick test, appcasts were found for 188/360 Casks examined.
This PR adds an optional `appcast` stanza, but does not add
`appcast` to any Cask or make use of the info in any way. It is
intentionally left undocumented.
2014-02-22 19:31:33 -05:00
Roland Walker
605003228f
Merge pull request #2931 from rolandwalker/remove_md5
...
remove md5 checksum support
2014-02-22 15:31:26 -05:00
Roland Walker
55e9cfc39d
make brew cask update synonym for brew update
...
for convenience/typo
2014-02-21 10:23:16 -05:00
Roland Walker
3ded5898b6
more reliable way to look up username
...
`ENV` is manipulable. `getpwuid` is reliable.
2014-02-21 09:30:37 -05:00
Roland Walker
3ad2d6c31c
create target directories on-demand
...
closes #2996 . Moves the logic for creating target directores
from init-time in cask.rb to install-time within the artifact
classes. Removes the need for special-case mkpath for each
new artifact type.
2014-02-21 09:22:37 -05:00
Roland Walker
066d58d336
add extended attributes for :target links
...
fixes #2847 . This PR adds OS X-specific extended attributes
(metadata) whenever :target is used on an artifact. The
extended attributes are available for search software such
as Spotlight or Alfred to discover the artifact under the
:target name.
Limitations: Spotlight specifically chooses to ignore this
attribute for App bundles. Alfred will also ignore this
attribute until the upcoming 2.2 release.
2014-02-21 08:49:07 -05:00
Roland Walker
43624e6fcb
Merge pull request #3057 from rolandwalker/caveat_method_spelling
...
bugfix: caveats DSL `os_version_only` spelling
2014-02-20 07:45:52 -05:00
Roland Walker
707b9091b0
Merge pull request #3042 from rolandwalker/curl_feedback_message
...
improve debug message from curl
2014-02-19 20:21:51 -05:00
Roland Walker
664bcb3c4e
caveats DSL os_version_only spelling
...
change method name to follow documentation
2014-02-19 18:51:45 -05:00
Roland Walker
113518e8cb
make checksum-missing message match Cask semantics
...
for copy/paste
2014-02-19 18:48:21 -05:00
Roland Walker
60378bcc7e
CaskError objects instead of strings, better msgs
2014-02-19 18:47:39 -05:00
Roland Walker
b81ea45d06
use new CaskInvalidError, improve messages
2014-02-19 18:46:55 -05:00
Roland Walker
330671dc03
Merge pull request #3025 from rolandwalker/no_font_search_hack
...
temporary hack: suppress searching the font tap
2014-02-19 17:23:58 -05:00
Roland Walker
7ed8cbf3bc
cut v0.29.2
2014-02-19 11:51:31 -05:00
Roland Walker
2e2364e5e9
BUGFIX: Homebrew chg, 3 args for checksum mismatch
...
Homebrew changed underneath us, requiring 3 arguments to
`ChecksumMismatchError.new`. This is causing total failure
on Travis, and probably a number of issues will be filed
until we merge and cut a bugfix release.
2014-02-19 11:03:07 -05:00
Roland Walker
f05990eccb
improve debug message from curl
2014-02-19 10:42:08 -05:00
Roland Walker
d2b779e509
temporary hack: suppress searching the font tap
...
this is needed to reduce noise on searches until search
can be made more configurable
2014-02-19 09:21:30 -05:00
謝致邦
0a93634416
Add strip to link_checker.
2014-02-19 00:52:47 +08:00
Roland Walker
21e8f49a27
Merge pull request #2994 from rolandwalker/symlink_artifact_simplify
...
further cleanup/refactor of link-derived artifacts
2014-02-18 07:57:05 -05:00
Roland Walker
cb4adbe3bd
Merge pull request #2991 from rolandwalker/defensive_abv_method
...
fork `abv` method with better odd-filename defense
2014-02-17 21:05:59 -05:00
Victor Robertson
026ca0c6e1
Add support for Adobe Air app installations
...
Adobe Air applications take the form of a .air file that the Adobe Air
runtime then installs and creates a .app -- typically in
/Applications. This patch provides a new container for those .air
files which the Adobe Air runtime installs to the Caskroom as well as
tests for Adobe Air app installations.
Presently, if homebrew-cask doesn't detect the Adobe Air runtime, it
will provide an informative error message and instructions to obtain
it via `brew cask install adobe-air`. This is obviously not ideal and
the installation process for the runtime should be automated in the
future.
2014-02-17 11:36:01 -06:00
Roland Walker
40ad897da8
further cleanup/refactor of link artifacts
...
Following up on #2874 , we should no longer need `linked_path`,
but instead simply refer to `target`.
This also fixes a bug in which some links were not removed
during `uninstall`. Example:
binary 'oclint-0.7-x86_64-apple-darwin-10/lib/oclint', :target => '/usr/local/lib/oclint'
2014-02-17 12:33:38 -05:00
Roland Walker
21702f5dfe
Merge pull request #2961 from rolandwalker/system_command_followups
...
System command followups
2014-02-17 11:35:01 -05:00
Roland Walker
6096cc8d57
fork abv method with better odd-filename defense
...
Fixes #2917 . New method is named `cabv`. The original `abv`
method is in Homebrew at `Library/Homebrew/extend/pathname.rb`
2014-02-17 11:13:39 -05:00
Roland Walker
4ffb624e87
cut v0.29.1
2014-02-15 12:31:59 -05:00
Roland Walker
660b4b08bf
enforce valid values for :stderr on command.run
2014-02-15 12:21:27 -05:00
Roland Walker
5ab9c712e4
typo: :stderr accepts :silence
2014-02-15 12:04:49 -05:00
Roland Walker
e4554a170a
force consistent timestamps for SVN downloads
...
to make checksumming work correctly
2014-02-15 12:04:00 -05:00
Roland Walker
ee29d1ee4a
cut v0.29.0
2014-02-15 08:50:49 -05:00