Commit Graph

783 Commits

Author SHA1 Message Date
ndr 62c1ce5dfc Merge pull request #7530 from rolandwalker/enforce_min_dsl_version
enforce a valid minimum DSL version in headers
2014-11-23 11:14:58 +00:00
Roland Walker e2a0214de6 enforce a valid minimum DSL version in headers 2014-11-22 20:08:25 -05:00
Roland Walker 367e0f2880 Merge pull request #7529 from rolandwalker/remove_tap_migration
Remove automatic tap migration code and docs
2014-11-22 20:03:27 -05:00
Fabio Niephaus 62cbb3d7a6 get 'syncfolder' from Preferences. resolves #7216 2014-11-22 23:10:04 +01:00
Roland Walker 31f81cc8e9 remove all transitional tap migration code 2014-11-22 10:33:28 -05:00
ndr 5192156f92 Merge pull request #7507 from rolandwalker/remove_caskroom_only_support
DSL: remove support for `caskroom_only`
2014-11-21 18:41:49 +00:00
Roland Walker 8f67bb3ecb Merge pull request #7506 from rolandwalker/remove_destination_path_support
remove support for legacy form `destination_path`
2014-11-21 11:29:18 -05:00
Roland Walker f5d80c190d DSL: remove support for `caskroom_only`
obsoleted by `stage_only`
2014-11-21 09:56:33 -05:00
Roland Walker 850e8cf3c0 remove support for legacy form `destination_path`
replaced by `staged_path`
2014-11-21 09:47:13 -05:00
Roland Walker 7559c83e3a enforce version `:latest` as a symbol
`:latest` has special meaning.  The corresponding string
`'latest'` is disallowed.
2014-11-21 09:31:43 -05:00
Roland Walker 4d3d254a30 comment wording 2014-11-21 09:25:46 -05:00
Roland Walker ccf2f34b6c comment spelling 2014-11-21 09:24:42 -05:00
Roland Walker e1c773e8d8 cut v0.48.0 2014-11-20 07:55:15 -05:00
Roland Walker 80dd4caf8a Merge pull request #7450 from rolandwalker/remove_old_header_support
DSL Remove support for old-style header lines
2014-11-20 06:51:10 -05:00
Roland Walker 545fce9b1c DSL: remove support for `nested_container`
Obsoleted by new form `container :nested`.

This PR only removes DSL support; the job is incomplete.
Internally, `container :nested` is still implemented as a
pseudo-artifact named `nested_container`.  The intention
is to factor nested containers out of artifacts.
2014-11-19 11:08:06 -05:00
Roland Walker 6c53607967 require new-style header lines
and enforce that the cask name (per the header) must match
the filename
2014-11-19 10:57:39 -05:00
Roland Walker b02c921812 Merge pull request #7428 from rolandwalker/remove_caveats_manual_installer
DSL: remove `manual_installer` from `caveats` mini-DSL
2014-11-18 19:48:23 -05:00
Roland Walker c15fdadb8f Merge pull request #7429 from rolandwalker/remove_container_type
DSL: remove support for `container_type`
2014-11-18 19:48:12 -05:00
Roland Walker 1f24c7e8f2 Merge pull request #7430 from rolandwalker/new_header_test_casks
remove old-style header line from test Casks
2014-11-18 19:48:05 -05:00
Roland Walker 2692b5cd8d remove old-style header line from test Casks
This takes the form of a horrible hack: DSL version numbers may
end with "test", *eg* ":v1test". Such Casks are mapped to class
`TestCask` instead of class `Cask`.

The intention is that all of this logic will be removed when
Casks are migrated away from separate classes.

Tests driven by RSpec are still todo.
2014-11-18 09:09:01 -05:00
ndr 99296395d2 Merge pull request #7426 from rolandwalker/activate_suite
activate `suite` artifacts
2014-11-18 13:51:22 +00:00
Roland Walker e31264de00 DSL: remove support for `container_type`
obsoleted by new form `container :type`
2014-11-18 08:12:05 -05:00
Roland Walker 2fcf5b4b95 DSL: remove `manual_installer` from `caveats`
obsoleted by new form `installer :manual`.

Also remove missed obsolete documentation item.
2014-11-18 07:54:55 -05:00
ndr a21dbc85aa Merge pull request #7365 from rolandwalker/add_stage_only
DSL: add stanza `stage_only` (new spelling of `caskroom_only`)
2014-11-18 12:27:54 +00:00
Roland Walker 88b2e92015 DSL: add stanza `stage_only` (new `caskroom_only`)
`caskroom_only` was never documented.  Its original purpose was
obsoleted in #4865, and its use has been recently been reduced to
two Casks.

This PR
* continues the rationalization of naming by changing `caskroom_only`
  to `stage_only`. "stage" is the verb for "make a copy under the
  caskroom directory"
* documents `stage_only`
* adds tests for `stage_only`
* validates the argument to `stage_only`
* gives sensible output in `brew cask info` for `stage_only` Casks
* enforces that `stage_only` cannot coexist with any activatable
  artifacts

`caskroom_only` is still supported for backward compatibility,
but should be removed before 0.50.0.
2014-11-18 07:13:15 -05:00
Roland Walker ca93a872f1 activate `suite` artifacts
fixes #7382
2014-11-18 07:11:02 -05:00
Roland Walker f6079da815 Merge pull request #7401 from rolandwalker/remove_depends_on
DSL: remove support for `depends_on_formula`
2014-11-18 05:15:01 -05:00
Roland Walker d2132ac520 DSL: remove support for `depends_on_formula`
obsoleted by `depends_on :formula`
2014-11-17 11:16:08 -05:00
Roland Walker 562a985595 tighten sourceforge URL regular expressions 2014-11-17 10:06:24 -05:00
Roland Walker e43a59defb add sourceforge URL special case for excalibur
fixes #7373
2014-11-17 10:06:01 -05:00
ndr 69df51414a Merge pull request #7367 from rolandwalker/remove_uninstall_files
DSL remove support for old form `uninstall :files`
2014-11-16 11:07:36 +00:00
Roland Walker 4991f655c6 comment typo 2014-11-15 12:27:11 -05:00
Roland Walker 65c81d2752 DSL remove support for `uninstall :files` 2014-11-15 12:19:55 -05:00
Roland Walker fbc9e35556 DSL remove support for `after_install` and friends
in favor of new-style `preflight`/`postflight` forms
2014-11-14 11:06:01 -05:00
Roland Walker 113a667fcc flag backward-compatibility todo 2014-11-13 11:45:47 -05:00
Roland Walker 00747614f7 use new header form in `create` template 2014-11-13 11:45:06 -05:00
Roland Walker 3262c5a5e5 cut v0.47.0 2014-11-12 11:42:54 -05:00
Federico Bond da0412bd71 Remove unsupported -x option in launchctl command 2014-11-12 11:28:45 -05:00
Roland Walker 09ecd1eb79 DSL: remove support `install` stanza
now replaced by `pkg`
2014-11-11 11:23:51 -05:00
Federico Bond 75ee4ef812 Add key option to suppress_move_to_applications 2014-11-02 00:26:49 -03:00
Roland Walker b837d6c552 remove support for `link` artifact
* `app`, `suite`, and `artifact no longer implemented as
  synonyms for `link`
* backward-compatible code/comments removed
* creates class `Cask::Artifact::Suite`
* updates `brew cask info` to show specific artifact type
* fixes stray "Generic artifact" messages
2014-10-29 10:53:49 -04:00
Roland Walker 839ccb98d4 recast _checklinks verb as _checkurl
remove stray doc item missed in #6966
2014-10-28 12:12:10 -04:00
Roland Walker f7258c0e1b cut v0.46.0 2014-10-25 12:15:38 -04:00
Roland Walker 3f5551788c Merge pull request #6966 from rolandwalker/checklinks_internal
recast `checklinks` as internal command `_checklinks`
2014-10-25 06:44:36 -04:00
Roland Walker d70fdb20a4 Merge pull request #6965 from rolandwalker/url_corner_cases
better handling for invalid `url` stanzas
2014-10-24 21:40:56 -04:00
Roland Walker 431d00ebbb Merge pull request #6967 from rolandwalker/dump_tweak
improve error message in `brew cask _dump`
2014-10-24 21:40:48 -04:00
Roland Walker 66f2b722bb Merge pull request #6823 from ffleming/downgrade-error
Downgrade CaskAlreadyInstalledError to a warning
2014-10-24 11:40:23 -04:00
Roland Walker 6b69564066 improve error message in `brew cask _dump` 2014-10-24 09:51:23 -04:00
Roland Walker 2370400207 chg `checklinks` to internal command `_checklinks`
* `checklinks` is a very simple implementation useful only for development purposes
* it has no test coverage, only one line of documentation
* users regularly experiment with it and break it, especially
 `brew cask checklinks` with no arguments, which tests all Tapped Casks
2014-10-24 09:49:35 -04:00
Roland Walker db0b5aa9d9 better handling for invalid `url` stanzas 2014-10-24 09:36:11 -04:00