Commit Graph

656 Commits

Author SHA1 Message Date
Roland Walker 92e15b4a91 cut v0.40.0 2014-09-08 10:28:31 -04:00
Roland Walker 891bff1946 Merge pull request #6071 from rolandwalker/license_ncsa
DSL add NCSA OSS license type
2014-09-08 10:09:45 -04:00
Roland Walker 11e5376090 add NCSA OSS license type
Used for example by LLVM.
2014-09-08 10:06:21 -04:00
Roland Walker b8523e2603 Merge pull request #6068 from rolandwalker/container_dsl
DSL: change container_type to extensible container
2014-09-08 10:04:28 -04:00
Roland Walker ca21928b93 DSL: change container_type to extensible container
Late addition to DSL 1.0 (oversight in the roadmap)

References: #4688
2014-09-08 09:01:46 -04:00
Roland Walker 07158e455b Revise gpg stanza order and parameters
References: #5971
2014-09-01 10:04:17 -04:00
Roland Walker 9711ff8672 re-org more files under lib/cask/dsl 2014-08-27 07:50:38 -04:00
Roland Walker 31b778f702 Merge pull request #5923 from rolandwalker/internet_plugin_artifact
add support for internet_plugin artifact
2014-08-26 15:36:33 -04:00
Federico Bond 26275e2659 Merge pull request #5922 from federicobond/fix-info
Show correct GitHub file for casks with similar names
2014-08-26 13:07:10 -03:00
Roland Walker 1b05d18a3b add support for internet_plugin artifact
closes #5909
2014-08-26 11:22:25 -04:00
Federico Bond b6cc94a8a2 Show correct GitHub file for casks with similar names
Fixes #5915
2014-08-26 11:21:21 -03:00
Federico Bond 4724c32955 Reload QuickLook on plugin uninstall 2014-08-25 14:49:25 -03:00
Roland Walker 45a1b734d7 move tags.rb to dsl/tags.rb 2014-08-23 12:30:59 -04:00
Federico Bond 4fe1bd76d4 Add support for long format in list command 2014-08-20 18:07:39 -03:00
Federico Bond 1b1a7fde17 Merge pull request #5806 from federicobond/conditional-caveats
Avoid printing Caveats title when output is empty
2014-08-19 10:04:43 -03:00
Federico Bond ab4c5b13e5 Avoid printing Caveats title when output is empty
Closes #4878
2014-08-16 23:09:24 -03:00
Roland Walker 7c9c76c877 Merge pull request #5769 from federicobond/remove-decorator
Remove Cask::Decorator
2014-08-16 12:04:21 -04:00
Roland Walker 4e37017752 Merge pull request #5790 from federicobond/fix-cask-loading
Fix cask loading behavior
2014-08-15 17:06:19 -04:00
Federico Bond 950bc054bd Fix cask loading behavior. Refs #5769 2014-08-15 13:57:43 -03:00
Federico Bond ff0a5c10e3 Remove Cask::Decorator 2014-08-15 13:00:52 -03:00
Roland Walker 99e75bddfd cut v0.39.3 2014-08-13 07:47:41 -04:00
Roland Walker b58f2b2da2 Merge pull request #5754 from federicobond/fix-checklinks
Fix Error in checklinks
2014-08-12 16:53:56 -04:00
Federico Bond 2b2f60921c Fix Error in checklinks. Closes #5752 2014-08-12 17:05:00 -03:00
Roland Walker b65c4963ea cut v0.39.2 2014-08-12 08:17:12 -04:00
Roland Walker e86e94f6d3 cut v0.39.1 2014-08-12 07:36:38 -04:00
Federico Bond 19084bce63 Add uninstall_phase method to CaskroomOnly artifact 2014-08-11 23:07:36 -03:00
Federico Bond ef7190589c Merge pull request #5723 from federicobond/postflight-dsl
Add DSL for after_install and similar blocks
2014-08-11 22:07:36 -03:00
Federico Bond 3cb833c89e Add DSL for after_install and similar blocks 2014-08-11 21:41:06 -03:00
rochefort 5d61bb42a5 Implement list -1 2014-08-11 21:24:17 +09:00
Roland Walker 15e2f5586d Merge pull request #5622 from rolandwalker/xar_containers
add support for xar containers
2014-08-02 21:14:30 -04:00
Federico Bond 693e3b97fb Convert backtick commands to Cask::SystemCommand.run
Closes #4971
2014-08-02 16:43:30 -03:00
Roland Walker 99d001afa4 add support for xar containers
references: #5442
2014-08-02 14:51:51 -04:00
Roland Walker 04fd5c0494 rename seven_zip.rb to better match class name 2014-08-02 11:19:04 -04:00
Roland Walker baacc53d56 recast `containers` as `autodetect_containers`
and clarify which container types will not autodetect
2014-08-02 11:17:48 -04:00
Roland Walker aa0004d715 divide Cask::Container::Naked into explicit types
- Cask::Container::Pkg
- Cask::Container::Ttf
- Cask::Container::Otf

which are autodetected based on filetypes as with other
containers.  Cask::Container::Naked remains available
for explicit use in a container_type stanza.
2014-08-02 11:09:00 -04:00
Roland Walker f9d4fef45f use `const_get` in container.from_type
instead of iterating over container list
2014-08-02 11:05:30 -04:00
Roland Walker b84d605035 improve criteria `extension` method
casecmp was a bug as a substring could match
2014-08-02 11:03:20 -04:00
Roland Walker 3d343cb32d comment 2014-08-02 11:02:15 -04:00
Roland Walker caae9de479 Merge pull request #5596 from rolandwalker/permissions_before_rmtree
force permissions and delete ACLs if `rmtree` fails
2014-07-31 16:19:19 -04:00
Roland Walker 954de1332f Merge pull request #5598 from rolandwalker/allow_multiword_container_types
bug: `container_type :seven_zip` was ignored
2014-07-31 16:18:26 -04:00
Roland Walker f5063a2e8a Merge pull request #5599 from rolandwalker/generic_unar_container
refactor GenericUnar container class
2014-07-31 16:18:16 -04:00
Roland Walker c301b27043 force permissions and delete ACLs if rmtree fails
This logic is ugly as the installation directory will be left
in a mangled state if it fails partway through.  However, the
same is true when `rmtree` fails partway through, which this
code is intended to minimize.

References: #5504
2014-07-31 14:43:05 -04:00
Roland Walker cd18107db3 Merge pull request #5591 from rolandwalker/move_digest_require
move require 'digest' to where it is actually used
2014-07-31 14:35:45 -04:00
Roland Walker 04ea21e03c refactor GenericUnar container class
This is just a matter of semantics: renaming the abstract base
class `Cask::Container::UnarBase` so that it makes sense when
referring to it in a `container_type` stanza.
2014-07-31 11:18:50 -04:00
Roland Walker 9a20a564a4 bug: `container_type :seven_zip` was ignored
because interior capitalization was not done
2014-07-31 11:09:39 -04:00
Roland Walker 0c609fbfe6 cut v0.38.1 2014-07-31 09:24:45 -04:00
Roland Walker 14011ba507 move require 'digest' to where it is actually used 2014-07-31 09:17:47 -04:00
Roland Walker eaa1eef6b1 Merge pull request #5590 from rolandwalker/depends_on_via_cli
fix Formula dependencies by invoking Homebrew CLI
2014-07-31 09:17:39 -04:00
Roland Walker 42eea1f0bf fix Formula dependencies by invoking Homebrew CLI
According to the logic of #5080, we should move away from calling
Homebrew internals, in part because things break over time, as
happened here with the implementation of `depends_on_formula`
(shortly to become `depends_on :formula`).

This re-implements formula dependencies by invoking the Homebrew
CLI, which is the only stable API Homebrew guarantees.

Fixes #5475
Fixes #4010
2014-07-31 09:09:16 -04:00
Roland Walker 71c57b3569 bug: use install_phase in caskroom_only / qlplugin
Missed in #4865.  install method was renamed.
Bug exercised by Cask amazon_music.rb.
2014-07-30 13:11:57 -04:00