aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2016-10-23tap_constants: rename HOMEBREW_CASK_TAP_FORMULA_REGEXJosh Hagins
New name is HOMEBREW_CASK_TAP_CASK_REGEX
2016-10-22Merge pull request #1345 from MikeMcQuaid/rubocop-styleMike McQuaid
Update Rubocop style.
2016-10-22Merge pull request #1331 from vladshablinsky/fix-outdated-group-byMike McQuaid
cmd/outdated: group specs of same formula
2016-10-22Update Rubocop style.Mike McQuaid
Another look at the current Rubocop rules and how they fit with our existing and desired future style. Almost all of these changes were automatic. Split some rules between formulae/brew where brew doesn't have millions of cases that need fixed.
2016-10-20cmd/outdated: group specs of same formulaeUladzislau Shablinski
Suppose you have devel and stable versions of `foo` installed. Their versions should be grouped together regardless their specs. Output before the change: foo (2.4), foo (3.28-01) < 5.1 Output after the change: foo (2.4, 3.28-01) < 5.1
2016-10-17brew info: include options to dependencies in displayAndrew Janke
2016-10-15Convert `puts_columns` to `puts Formatter.columns`.Markus Reiter
2016-10-15Don’t use `puts_columns` if `empty?` or single item.Markus Reiter
2016-10-11postinstall: allow write access to cellars in repository.Mike McQuaid
If HOMEBREW_CELLAR (or HOMEBREW_PREFIX) are children of HOMEBREW_REPOSITORY it’s important to deny write to the repository and enable write to the Cellar/prefix afterwards.
2016-10-06“Homebrew Cask” -> “Homebrew-Cask”Markus Reiter
2016-10-04Merge pull request #1145 from reitermarkus/module-functionMarkus Reiter
Use `module_function` for `Homebrew` module.
2016-10-02Merge pull request #1211 from vladshablinsky/list-version-codeMike McQuaid
list: fix exit code for --verbose and --pinned
2016-10-02update-test: fix tag updating, skip core tap.Mike McQuaid
Fix updating the `stable` branch used for tagged updates and ensure that the core tap isn’t retapped (the slowest part by far of this test).
2016-10-02list: fix exit code for --verbose and --pinnedUladzislau Shablinski
`brew list --verbose <formulae>` lists only those kegs that are installed and exits with 0 if all <formulae> installed. If one or more formulae from <formulae> are not installed, the command lists only installed versions and exits with 1. `brew --pinned formula` exits with 1 if formula is not pinned. Fixes #1172
2016-10-02Merge pull request #1205 from MikeMcQuaid/help-external-commandsMike McQuaid
help: support `#:` help in external commands.
2016-10-02Merge pull request #1206 from MikeMcQuaid/install-no-updated-warningMike McQuaid
install: remove not updated warning.
2016-10-02Merge pull request #823 from reitermarkus/refactoring-ttyMarkus Reiter
Refactor Tty.
2016-10-02Remove `private_class_method` from commands.Markus Reiter
2016-10-02Use `module_function` for commands.Markus Reiter
2016-10-01Merge pull request #1169 from reitermarkus/rubocop-separate-configsMike McQuaid
Use separate RuboCop configs for formulae and core code.
2016-10-01install: remove not updated warning.Mike McQuaid
This is no longer relevant after moving to taps/tags and if ever re-added it should probably target homebrew/core. Fixes #1194.
2016-10-01Use Formatter for all URLs.Markus Reiter
2016-10-01Add `Formatter` module.Markus Reiter
2016-10-01Refactor Tty.Markus Reiter
2016-10-01help: support `#:` help in external commands.Mike McQuaid
Fixes https://github.com/Homebrew/homebrew-test-bot/issues/3
2016-10-01Fix JSON output handling.Mike McQuaid
2016-10-01upgrade: tell people that --all is a no-op.Mike McQuaid
Apparently this is still run by people so let's tell them to save some typing.
2016-10-01Merge pull request #1052 from sjackman/store-formulaMike McQuaid
Store the formula used to build the keg in the keg
2016-10-01Use Library/.rubocop.yml file.Mike McQuaid
This allows having a shared style that’s use for Homebrew/brew and taps which can be overridden by Homebrew/brew.
2016-09-29`cd` to `HOMEBREW_LIBRARY` is not needed anymore for RuboCop.Markus Reiter
2016-09-29Use separate `.rubocop.yml` in `Library/Taps` and `Library/Homebrew`.Markus Reiter
2016-09-29Use separate RuboCop configs for formulae and core code.Markus Reiter
2016-09-29update.sh: use sort instead of git tag --sort.Mike McQuaid
Older versions of Git don't have this flag and we don't want to block updates for them when there's a (relatively) simple workaround.
2016-09-27update.sh: hide GITHUB_HEADERS missing output.Mike McQuaid
Will only happen once but could be confusing anyway.
2016-09-27Merge pull request #1004 from apjanke/print-requirementsMike McQuaid
info: print requirements
2016-09-26Merge pull request #1152 from MikeMcQuaid/doctor-remove-outdated-checkMike McQuaid
doctor: remove outdated Homebrew check.
2016-09-26doctor: remove outdated Homebrew check.Mike McQuaid
This is no longer relevant in the bright, new tagged future. Fixes #1151.
2016-09-26update.sh: don't restore branch to stable.Mike McQuaid
Only run for Homebrew developers so assume they don’t want to switch back to an old stable branch. Fixes #1141.
2016-09-25update.sh: use HOMEBREW_UPDATE_TO_TAG.Mike McQuaid
This makes the code easier to follow rather than having to know HOMEBREW_NO_UPDATE_CLEANUP implies not updating to a tag.
2016-09-25Fix `search_tap` regex/string matching.Markus Reiter
2016-09-24info: include versions and other details in Requirements displayAndrew Janke
2016-09-24update.sh: use GitHub tags API.Mike McQuaid
Otherwise if we've committed to `master` and someone `brew update`s before we cut the tag then they won't be updated to the latest version.
2016-09-24Merge pull request #1121 from MikeMcQuaid/update-stable-branchMike McQuaid
update.sh: always use stable branch for tags.
2016-09-24update.sh: always use stable branch for tags.Mike McQuaid
This avoids creating a new branch that’ll never be deleted for each tag and differentiates between the `master` and `stable` branches.
2016-09-24Merge pull request #1114 from zmwangx/update-no-restore-stable-branchMike McQuaid
update.sh: do not restore stable (tag) branch
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-24update.sh: do not restore stable (tag) branchZhiming Wang
Restoring stable branch post-update could lead to unsuspecting users with homebrew.devcmdrun being stuck forever on an old tag. Fixes #1111.
2016-09-23Store the formula used to build the keg in the kegShaun Jackman
Store the formula used to build the keg inside the keg in a file named NAME/VERSION/.brew/NAME.rb after removing the bottle do ... end block. See https://github.com/Homebrew/brew-evolution/pull/6. Closes https://github.com/Homebrew/brew/issues/931.
2016-09-23Fix Style/GuardClause.Markus Reiter
2016-09-23RuboCop has to be run inside `HOMEBREW_LIBRARY`.Markus Reiter