Commit Graph

130 Commits

Author SHA1 Message Date
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
Roland Walker aa6ebd8e41 add exception for Cask name `bitcoin-core.rb`
references #4277, #3634
2014-05-09 09:34:17 -04:00
Roland Walker e8c73b7b66 expand the `+` symbol in Cask names
closes #4275. references discussion in #4106.
2014-05-09 09:32:47 -04:00
Paul Hinze f54eaf7082 update all references to new caskroom org home
global replace of:
  'phinze/homebrew-cask' -> 'caskroom/homebrew-cask'
  'phinze/cask' -> 'caskroom/cask'
  'phinze/homebrew-testcasks' -> 'caskroom/homebrew-testcasks'

and various other specific places that needed updates

<3 the homebrew-cask community!
2014-05-03 10:29:17 -05:00
Roland Walker 400433be20 Adapt to homebrew's move of the tap directory
Closes #4035. Closes #4029. Closes #4026.
2014-04-26 09:42:16 -04:00
Roland Walker b6e65e0409 rescue LoadError for optional `require`
Following up on #3503. Should merit a bugfix release.
2014-03-25 11:22:05 -04:00
Roland Walker b27a385d0b cask_namer: remove activesupport requirement
ActiveSupport is from a gem and not available in a clean
install.  The relevant functionality is made optional. It
is not very commonly called and is furthermore poorly
implemented.
2014-03-11 09:38:11 -04:00
Roland Walker 58db20192f Merge pull request #3443 from rolandwalker/cask_namer
devscript: add `cask_namer`
2014-03-10 10:33:23 -04:00
Roland Walker d76b4a2ef8 devscripts: prefer GNU xargs
Apple-supplied xargs has bugs/limitations, especially
relevant to the -I flag
2014-03-08 11:40:27 -05:00
Roland Walker 99ecfc3651 devscript: add `cask_namer`
This script implements naming rules for App-based Casks
as currently documented.  After some real-world testing, this
logic should be merged into `brew cask create`.  This commit adds
`doc/CASK_NAMING_REFERENCE.md`, and reduces `CONTRIBUTING.md` by
422 words.
2014-03-07 13:43:40 -05:00
Roland Walker af009793a1 devscript: add list_pkg_ids_by_regexp
Inspired by @alebcay in #3431 .
2014-03-07 09:58:25 -05:00
Roland Walker 1c7a6d58e5 devscripts: add new maintainers
make variable name more consistent
2014-03-01 12:42:08 -05:00
Roland Walker 2814bc6a36 add "doutdated" example external command
it acutally does something useful, unlike my previous examples
2014-02-26 06:24:36 -05:00
Roland Walker 6f6a07fc0f mass whitespace cleanup 2014-02-22 21:13:52 -05:00
Roland Walker 74fadd0ac8 devscript: add bump_version script for releasing 2014-02-15 10:53:52 -05:00
Roland Walker 5e0e34a2a6 devscript: no leading `v` on tags for changelog
make the scripts which draft changelog raw material match
the format used in `CHANGELOG.md`
2014-02-15 10:00:20 -05:00
Roland Walker dd4fbbda13 Merge pull request #2925 from rolandwalker/the_long_tail
A histogram view on contributor statistics
2014-02-15 07:37:26 -05:00
Roland Walker e1820d4cf1 A histogram view on contributor statistics 2014-02-14 12:20:31 -05:00
Roland Walker 46cd13e54b devscript: support binary/json plist transparently
minor doc tweak
2014-02-14 12:05:35 -05:00
Roland Walker 273a9d95b3 devscript: add command list_payload_in_pkg 2014-02-10 10:47:12 -05:00
Roland Walker 672a2e52e1 devscript: show new release in changelog draft
rather than the old release
2014-02-10 10:46:57 -05:00
Roland Walker a0c773a14b devscript: missing bangs on line.chomp! 2014-02-10 10:46:50 -05:00
Roland Walker 6a7fa33b08 devscript: format project_stats output 2014-02-10 10:46:40 -05:00
Roland Walker fd9012d7b5 devscript: add docs to projects_stats 2014-02-10 10:46:34 -05:00
Roland Walker aba0f3d76d add Documentation section to Changelog template 2014-02-08 16:32:06 -05:00