Commit Graph

358 Commits

Author SHA1 Message Date
ndr 2fc9d23239 cut v0.54.1 2015-06-13 19:55:40 +01:00
Vítor Galvão 5fe97c6d12 additions for El Capitan 2015-06-09 16:52:57 +01:00
Paul Hinze a952b87291 cut v0.54.0 2015-05-11 09:56:56 -05:00
Vítor Galvão e07eb157ca Separate caveats mini-dsl documentation into versioned sections 2015-04-20 18:20:08 +01:00
Vítor Galvão 230a116be8 added free_license caveat 2015-04-20 18:20:07 +01:00
Vítor Galvão e8549d3b17 added discontinued caveat 2015-04-20 02:12:59 +01:00
Tim Sheridan 0c36210dd3 Add dependency installation to test instructions 2015-04-19 12:28:55 +01:00
Radek Simko c1f24d5bad Merge pull request #10291 from radeksimko/uninstall-sudo
Allow :sudo in uninstall stanza (:script + :early_script)
2015-04-16 16:16:45 +01:00
Vítor Galvão 29213d5172 cask_language_reference: link :target examples to specific lines and revisions
This makes reasoning faster to spot, and protects in the even those ever change.
2015-04-05 19:47:15 +01:00
Radek Simko 64c682afa3 Allow :sudo in uninstall stanza (:script + :early_script) 2015-03-29 22:16:51 +01:00
Paul Hinze e65c40bb2b cut v0.53.3 2015-02-09 15:43:49 -06:00
Paul Hinze 5df43132cb cut v0.53.2 2015-02-09 09:50:07 -06:00
Paul Hinze 95ccc3dfe5 missed a spot on CHANGELOG 2015-02-08 08:54:53 -06:00
Paul Hinze ca79d4b3df cut v0.53.1 2015-02-08 08:42:14 -06:00
Roland Walker a7516e3c8e Iterate on the new maintainer doc: friendliness
* spellcheck
* move practical paragraph under "Reviewing Incoming Casks"
* add bullet points "Friendliness" and "Supporting each other"
2015-02-07 11:37:51 -05:00
Roland Walker 6366efc44b Merge pull request #9239 from caskroom/stub-maintainers-doc
stub doc for maintainers
2015-02-06 16:53:20 -05:00
Vítor Galvão 83c712741b Merge branch 'strip_launcher_from_names' of https://github.com/rolandwalker/homebrew-cask into rolandwalker-strip_launcher_from_names
Conflicts:
	Casks/googleappengine.rb
	doc/CASK_NAMING_REFERENCE.md
2015-01-29 13:54:06 +00:00
Paul Hinze a7f7e83f00 stub doc for maintainers 2015-01-25 16:47:12 -06:00
ndr 23887c8fdf cut v0.53.0 2015-01-23 10:58:08 +00:00
Vítor Galvão 0ae2edd707 Merge pull request #8840 from vitorgalvao/remove-alfred
Removed alfred command support
2015-01-13 21:27:17 +00:00
Vítor Galvão 078f0b0300 removed alfred support 2015-01-13 17:49:32 +00:00
ndr 57867eef32 Merge pull request #8870 from rolandwalker/remove_release_constants
remove homebrew-fork `MACOS_RELEASE` constants
2015-01-13 17:48:54 +00:00
Roland Walker a401047164 remove homebrew-fork MACOS_RELEASE constants
* contain logic within module Hbc::MacOS
* add release_with_patchlevel method
* allow MACOS_RELEASE and MACOS_RELEASE_WITH_PATCHLEVEL
  environment variables to override the determined release
  values regardless of whether under the test harness
2015-01-13 07:35:27 -05:00
Scott Bronson 29446f2bb2 Note which methods require the caveats block form 2015-01-12 11:00:11 -08:00
ndr d5722ee079 Merge pull request #8751 from vitorgalvao/remove-widget-support
Remove support for widgets
2015-01-11 12:29:00 +00:00
Vítor Galvão 529bd801e4 Removed support for widgets
Closes #2206.
2015-01-08 19:51:15 +00:00
Roland Walker 37be5ead09 v0.52.1 changelog didn't make it into the release
but was published on github
2015-01-07 18:33:19 -05:00
Roland Walker db23f90c3e Merge pull request #8723 from rolandwalker/move_homebrew_path_constants
recast `HOMEBREW_*` path constants as read/write location methods
2015-01-07 18:19:02 -05:00
Roland Walker de5b47f283 doc that brew-cask-cmd.rb can be invoked directly
* simpler and equivalent to being invoked from Homebrew,
  except for some environment variables.
* correct bin subdir to lib
2015-01-07 09:14:17 -05:00
ndr 7c8d878c13 Remove doc/automation.md
Documented an obsolete process based on the deprecated `brew bundle`
command.
2015-01-07 12:26:34 +00:00
Roland Walker 076c5c4882 tweak releasing.md 2015-01-02 19:16:25 -05:00
Roland Walker 4e59f6c55b cut v0.52.0 2015-01-02 19:09:43 -05:00
ndr 9ce8c1e112 Merge pull request #8590 from rolandwalker/doc_depends_on_cask
document depends_on :cask
2015-01-02 15:13:40 +00:00
Roland Walker ca8799919c document depends_on :cask 2015-01-02 09:59:35 -05:00
Roland Walker 3171f4caa0 use inclusive conditionals in examples 2015-01-02 09:57:31 -05:00
Roland Walker 61bb650d7f fix broken doc links 2015-01-02 09:55:39 -05:00
Roland Walker 202d6019f8 Move all code under an Hbc:: namespace
* convert existing Cask:: namespace to Hbc::
* move Homebrew-fork code under Hbc::
* move freestanding classes such as Tty and TopologicalHash under Hbc::
* recast HOMEBREW_CASK_ constants as HBC_
* modify our Homebrew Formula for backward compatibility
* devscripts and dev docs
2015-01-02 07:27:03 -05:00
Roland Walker 9cb0b1cfdf expand @ symbols in tokens
refs: #8478
2014-12-29 09:41:47 -05:00
Vítor Galvão 7aa3df119a cask_language_reference.md: make clear licenses should never take into
account the vendor's business model.

Closes #8169.
2014-12-18 02:44:29 +00:00
Roland Walker 1413bea1c0 `sha256 :no_check` overrides `version <string>`
This behavior was traditionally present, and is now recovered
by removing the audit test added in #4743.  The doc is clarified
but did not require major change.

closes: #6356
refs: #8179
2014-12-17 08:21:51 -05:00
Roland Walker ae133faf2f Merge pull request #8152 from rolandwalker/ruby_2_0_transition
remove docs and code relevant to Ruby 1.8 compatibility
2014-12-16 21:18:10 -05:00
Roland Walker 50294ef0ce cut v0.51.1 2014-12-16 10:15:50 -05:00
Roland Walker 6c41fe493b remove docs and code relevant to Ruby 1.8 compat 2014-12-16 08:50:33 -05:00
Roland Walker 86556d4a59 cut v0.51.0 2014-12-16 08:15:31 -05:00
Roland Walker 1a238777ee Merge pull request #8089 from rolandwalker/homebrew_separation
Separate the Ruby backend from Homebrew + Require Ruby 2.x
2014-12-16 07:51:37 -05:00
Roland Walker ba12a2aaaa replace brew-cask.rb subcommand with bash shim
The `brew-cask` shim finds and executes `lib/brew-cask-cmd.rb`,
but only if Ruby 2.0+ is found.
2014-12-16 07:23:57 -05:00
Radek Simko 6bce46d2f2 Test options made consistent and documented 2014-12-14 13:16:10 +01:00
Roland Walker 8868e22bbd Merge pull request #8017 from rolandwalker/document_freemium_license
enable `license :freemium`
2014-12-12 09:23:10 -05:00
Roland Walker f7c444d034 document user-maintained BumpTop Tap
closes #7824
2014-12-11 11:27:15 -05:00
Roland Walker d96c17b9db enable `license :freemium` 2014-12-11 09:42:24 -05:00
Roland Walker 2c3119da03 cut v0.50.0 2014-12-09 19:56:19 -05:00
Roland Walker be1bf6dfac document `name` stanza
and undocument obsolete `tags :name`
2014-12-09 18:53:34 -05:00
Roland Walker 6482a7885b Merge pull request #7941 from rolandwalker/remove_unfinished_banner
doc: remove "incomplete" banner on deltas doc
2014-12-09 18:51:41 -05:00
Roland Walker 5f2d454d96 Merge pull request #7937 from rolandwalker/doc_macos_release
DSL: document `MacOS.release`
2014-12-09 18:51:04 -05:00
Roland Walker 6c14671fb8 Merge pull request #7938 from rolandwalker/doc_postflight_minidsl
document the `postflight` mini-DSL
2014-12-09 18:49:47 -05:00
Roland Walker 510b1ba7fc doc: remove "incomplete" banner on deltas doc 2014-12-09 11:01:27 -05:00
Roland Walker 72b8262eb0 dos: remove stray mention of assistive_devices
this method has been obsoleted
2014-12-09 09:21:39 -05:00
Roland Walker f5d27730e2 document the `postflight` mini-DSL
some portions are bumped to DSL 1.1
2014-12-09 09:20:13 -05:00
Roland Walker 78c3efed71 DSL: document `MacOS.release` 2014-12-09 08:44:49 -05:00
Roland Walker 82826b2687 DSL: add `accessibility_access` stanza
* accepts a Boolean value
* replaces the never-documented `postflight` methods `enable_accessibility_access` /
 `disable_accessibility_access` (`remove_accessibility_access`)
* declarative: unlike the `postflight` approach, does not have to be
  invoked in two places
* de-document obsolete form `caveats` / `assistive_devices`
* bump Travis seed to avoid false test failures
2014-12-08 19:17:19 -05:00
Roland Walker 09bed7a53b Merge pull request #7845 from rolandwalker/depends_on_x11
DSL: add `depends_on :x11`, permit multiple `depends_on` stanzas
2014-12-08 05:40:45 -05:00
Roland Walker 5348260520 DSL: add depends_on :x11 2014-12-06 11:20:15 -05:00
Roland Walker e581347939 allow multiple depends_on stanzas + refactor
also:
* disallow combining depends_on :macos comparison expressions
* ohai message when depends_on is present
* explicit accessors for :cask and :formula
* simplify some logic and flatten nested conditionals
* reflow incidental doc
2014-12-06 11:06:30 -05:00
Roland Walker a870869f9a Merge pull request #7822 from rolandwalker/allow_leading_numbers
Remove constraint that Cask tokens cannot start with digits
2014-12-06 09:00:04 -05:00
Roland Walker 2a09a970cd Merge pull request #7819 from rolandwalker/depends_on_followup
followups on `depends_on` `:macos`/`:arch`
2014-12-06 07:55:13 -05:00
Roland Walker cb5a40f787 remove constraint that tokens can't start w/ digit
Class names are now completely hidden from the user.  This
commit works by adding a prefix to all Cask class names, which
is considered to be an ugly transitional hack on the way to
representing individual Casks as instances.
2014-12-05 11:54:56 -05:00
Roland Walker d14231a568 trivial tweak to token recipe
part of syncing font token docs with the main repo
2014-12-05 11:40:52 -05:00
Roland Walker 037ece852b followups on `depends_on` `:macos`/`:arch`
* always coerce `:macos` value to array; simplify code
 * remove warning comments about unset values
 * doc explicitly that requirements are covered as well as dependencies
 * doc that `depends_on` is not consulted until `install` time
 * in docs and code, say "release" instead of "version" for the :macos release
   * todo: provide our own variable styled "release" to use in Casks, instead of Homebrew's `MacOS.Version`
 * doc that symbols are preferred for `:macos` over strings in Casks (interally, all are converted to idential `Gem::Version` objects)
 * doc: remove `os_version_only` from `cask_language_deltas.md`
 * doc: improve internal links
 * doc: recast OS X release symbol list as table
 * doc: (incidental) regularize orthography of Formula and Cask
2014-12-05 09:55:47 -05:00
Roland Walker 7f5e5124f6 DSL: `depends_on :arch` functionality/tests/doc
* fill in functionality for the `depends_on :arch` stub
* de-document `caveats` method `arch_only`
2014-12-04 14:29:27 -05:00
Roland Walker ba911b9165 Merge pull request #7741 from rolandwalker/reduce_doc_shouting
uncapitalize several doc files
2014-12-03 08:46:39 -05:00
Roland Walker 52fdbcd671 cut v0.49.0 2014-12-02 13:04:59 -05:00
Roland Walker 6736f795f6 uncapitalize several doc files
* `alternate_cask_taps.md`
* `automation.md`
* `hacking.md`
* `releasing.md`
2014-12-02 12:20:13 -05:00
Roland Walker c59a5fcb80 DSL: `depends_on :macos` functionality/tests/doc
* Fill in the functionality for the `depends_on :macos` stub
* de-document `caveats` method `os_version_only`
* clean up some related docs re: version strings
* add `depends_on_test.rb`
* clarify some related `depends_on :formula` doc, tests, and code
* formatting in test Casks
2014-12-02 12:04:27 -05:00
Roland Walker a335d3b06d unify and recast "Cask name" & "title" as "token"
* "Canonical App Name" becomes "Simplified App Name"
* devscript `cask_namer` renamed to `generate_cask_token`
* doc file `CASK_NAMING_REFERENCE.md` renamed to `cask_token_reference.md`
* DSL uses `"#{token}"` for interpolation instead of `"#{title}"`
* documentation text
* backend code (variables, method, class names)
* error message text
* tests
* code comments
* Cask comments
* emphasize `tags :name`
* doc: use "vendor" consistently instead of "developer"
* doc: many man page argument descriptions were incorrect
* incidental clarifications

Many backend variables similar to `cask_name` or `cask` have
been standardized to `cask_token`, `token`, etc, resolving a long-
standing ambiguity in which variables named `cask` might contain
a Cask instance or a string token.

In many places the docs could be shortened from "Cask name" to
simply "token", which is desirable because we use the term "Cask"
in too many contexts.
2014-12-01 11:00:23 -05:00
Roland Walker e6fde53149 doc: update CASK_NAMING_REFERENCE.md
* add Purpose section
* clarify suffix-string removal in particular
* add Converting to ASCII section
* other clarifications
* broken links
* quoting/formatting
2014-11-28 10:50:15 -05:00
ndr b6814d925d Merge pull request #7608 from rolandwalker/remove_mac_todotxt
Rename todotxtmac.rb to todotxt.rb
2014-11-25 15:45:42 +00:00
ndr 65eed9d071 Merge pull request #7605 from rolandwalker/cocoa_framework_in_name
devscript + doc: "cocoa" is a framework to remove from the end of Cask names
2014-11-25 14:55:52 +00:00
Roland Walker 475e92baaf improve doc re: removing "mac" from Cask names 2014-11-25 09:54:11 -05:00
Roland Walker 16272f1a42 doc: remove "launcher" terms from end of Cask name 2014-11-25 09:40:08 -05:00
Roland Walker a1495a4729 "cocoa" is a framework to remove from Cask names 2014-11-25 09:22:34 -05:00
ndr 163e52aa85 Merge pull request #7582 from rolandwalker/move_stage_only
doc: move `stage_only` to the artifacts section
2014-11-25 14:04:47 +00:00
Roland Walker 518117f921 doc nit: consistency of case in table cells
with some trivial changes for shorter wording
2014-11-25 08:24:07 -05:00
Roland Walker 133dd96621 doc: move `stage_only` to the artifacts section
* `stage_only` is a pseudo-artifact
* satisfies the doc that "At Least One Artifact Stanza Is Also Required"
2014-11-25 08:17:31 -05:00
Roland Walker a773c1e6c6 fill in `cask_language_deltas.md`
Almost finalized. Todo: review of `caveats` mini-DSL
for removals.
2014-11-24 10:34:20 -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
Roland Walker a38419de4a remove legacy docs from CASK_LANGUAGE_REFERENCE.md 2014-11-22 11:18:47 -05:00
Roland Walker 06db039419 remove docs re: Tap migration
replace with a single FAQ entry describing manual untap/tap
2014-11-22 10:33:17 -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 e1c773e8d8 cut v0.48.0 2014-11-20 07:55:15 -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 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
Vítor Galvão 5ac9fd3a1a back to using sketchup (updated to 2015) in suite example in language reference 2014-11-17 17:53:33 +00:00
Vítor Galvão ecb1bafaab changed suite example to chemdoodle, is language reference docs 2014-11-17 16:20:18 +00:00
Roland Walker 6d8c622e24 doc: license values are always categories 2014-11-14 08:47:39 -05:00
Roland Walker 7c9cec2f4e use new header form in docs 2014-11-13 11:30:55 -05:00
Roland Walker f20e9472dc changelog nit 2014-11-12 11:46:10 -05:00
Roland Walker 3262c5a5e5 cut v0.47.0 2014-11-12 11:42:54 -05:00
Lee Hanxue b65d1dbad7 Fix broken links to Cask formulas 2014-11-11 12:44:08 +08:00