Commit Graph

154 Commits

Author SHA1 Message Date
Zhiming Wang 2ba0e43759
Fix external command example: Cask => Hbc 2015-08-24 21:02:32 -07:00
Vítor Galvão 6ae1a9889d add new maintainers: jawshooah and Ngrd 2015-07-26 02:18:02 +01:00
Josh Hagins 533e00a345 Clean up some logic in audit_modified_casks script 2015-07-24 13:07:08 -04:00
Josh Hagins 875c624e59 Verify sha256 if version stanza is modified 2015-07-24 13:07:08 -04:00
Josh Hagins ff93bfe3b8 Add developer script to audit modified Casks
This script runs `brew cask audit` on any Casks added or modified in the
given range of commits. If the `url` or `sha256` stanzas have been
modified and `sha256` is not `:no_check`, run the audit with
`--download` to verify the checksum.
2015-07-24 02:39:45 -04: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
Roland Walker 1ae9ce2bd0 namespace Hbc followups 2015-01-02 10:20:09 -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
Josh Hagins 53581d1637 Fix bug in list_apps_in_pkg script, probably a typo 2014-12-26 15:15:40 -06:00
Roland Walker e01ef5058a generate_cask_token Ruby 2.0 shebang line
It was just carelessness that this script was written in
a way limited to Ruby 2.0, but we may as well be explicit
about that pending a fix.

closes #8021
2014-12-11 11:15:52 -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 dd560acc4a devscript: add new maintainer claui
this mainly affects how the changelog is generated
2014-12-04 14:59:04 -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 1e737ab0cd missing require rubygems 2014-12-03 08:18:51 -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 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 06fe09d913 remove "launcher" terms in cask_namer 2014-11-25 09:41:19 -05:00
Roland Walker a1495a4729 "cocoa" is a framework to remove from Cask names 2014-11-25 09:22:34 -05:00
Roland Walker e0a3f8d017 whitespace 2014-11-22 09:02:36 -05:00
Roland Walker 93b39ed3c5 comment future possible whitespace irregularities
these don't seem to be followed by all Casks: what is the
existing general rule?
2014-11-22 09:02:29 -05:00
Roland Walker 62bd692387 detect new whitespace irregularities 2014-11-22 09:02:08 -05:00
Roland Walker 2520dd6483 adjust devscripts for DSL 1.0
* expect new-style header in irregular_cask_whitespace
2014-11-21 09:17:35 -05:00
Roland Walker ffc9f769dc use new header form in `cask_name` devscript 2014-11-13 11:45:35 -05:00
Caleb Xu d88385de32 devscript: check ruby version before execution 2014-11-02 15:43:30 -05:00
Roland Walker 73bc4fc532 hide error outputs from plutil 2014-10-21 07:31:18 -04:00
Roland Walker 41aec6cccd regularlize changelog whitespace 2014-10-07 10:26:35 -04:00
Roland Walker 4db0867307 add release date to changelog
retroactively and in template
2014-10-07 10:19:47 -04:00
Roland Walker 77a9012de7 add devscript `irregular_cask_whitespace` 2014-09-26 10:27:31 -04:00
Trey Harris 31d4bf8ce3 Refactor {develop,production}_brew_cask
Almost all of these two scripts are identical. Refactor out the common
bits, saving over 60 lines of repetition.

Right now this is handled by moving all the logic into "develop_brew_cask"
and symlinking "production_brew_cask".

This will be followed by another patch to add a "manage_brew_cask_links"
command to do the same with sub-commands, e.g.,
  manage_brew_cask_links status
returns "production" or "develop",
  manage_brew_cask_links production
does the same as production_brew_cask,
  manage_brew_cask_links develop
does the same as develop_brew_cask, etc. At that point, I'd like to
rename the script "manage_brew_cask_links" and have the two present
names be symlinked to that.

This was motivated by (besides DRY) getting tired of having to
manually check symlinks to see which state I was currently in.
2014-09-14 17:24:39 -04:00
Roland Walker b93206093a updates to release process after v0.40.0 2014-09-08 11:24:38 -04:00
Roland Walker ca45acad25 Merge pull request #5749 from rolandwalker/update_maintainers
update maintainer list
2014-08-12 16:09:47 -04:00
Roland Walker 5faacd885a minor amendments to release process/changelog
based on lessons learned from failed release v0.39.0,
`git push && git push --follow-tags` is smarter because
it reduces the chance of an unreleasable tag being pushed.
(git pushes the tags before it pushes the commits).
2014-08-12 09:00:49 -04:00
Roland Walker 6ce9517cb3 update maintainer list
- add @federicobond
- add @caskroom (it started appearing in the draft changelog)
- fix quoting
2014-08-12 08:53:12 -04:00
Roland Walker c9bedbd280 make example external command work again
`brewcask-dumpcask.rb` was broken by #4964.
2014-06-21 17:01:59 -04:00
Roland Walker 8e8e6399fd updates to release process after v0.37.0 2014-06-19 16:42:25 -04:00
Roland Walker e703bb3bbc update maintainers in devscripts 2014-06-14 08:31:01 -04:00
Roland Walker 6843fedc2d better stubs for changelog docs 2014-06-11 14:19:10 -04:00
Roland Walker 3bc4e32845 update contributor list 2014-06-11 14:19:10 -04:00
Roland Walker 5722cda946 Merge pull request #4729 from rolandwalker/add_list_url_attributes_on_file
devscript: add `list_url_attributes_on_file`
2014-06-06 20:56:38 -04:00
Roland Walker e7a01deb4d devscript: add `list_url_attributes_on_file`
Uses OS X extended attributes (via `xattr`) to find the source
of a downloaded file.
2014-06-06 20:53:26 -04:00
Roland Walker a979c8199a expand trailing '+' when not part of version number 2014-06-06 09:50:01 -04:00
Roland Walker c5940309bc move multiword value into array + quote it 2014-05-22 12:48:39 -04:00
Roland Walker 7cf4b19bdd defensive quoting 2014-05-22 12:37:35 -04:00
Roland Walker 6d494c2610 add missing quotes 2014-05-22 10:48:29 -04:00
Roland Walker 88d08deeff replace backticks with $() 2014-05-22 10:47:02 -04:00
Roland Walker 1465a07263 remove unused variable 2014-05-22 10:46:48 -04:00
Roland Walker 1d0b4f6042 avoid double-substitution in printf 2014-05-22 10:37:13 -04:00
Roland Walker 95c4a0cb42 improve warn construct 2014-05-22 10:29:26 -04:00
Vítor Galvão f85083cb0b Merge pull request #4300 from rolandwalker/bitcoin_core_name_exception
add exception for Cask name `bitcoin-core.rb`
2014-05-11 00:29:00 +01:00