aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
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
2016-09-23Update `rubocop` dependency to `0.43.0`.Markus Reiter
2016-09-23Fix RuboCop CaseEquality.Markus Reiter
2016-09-23Merge pull request #1103 from MikeMcQuaid/update-upstream-tag-strictMike McQuaid
update.sh: only update to semver tags.
2016-09-23update.sh: only update to semver tags.Mike McQuaid
Otherwise random e.g. `pr-123` tags may cause `brew update` to update to the wrong version.
2016-09-23sandbox: tweak HOMEBREW_REPOSITORY handling.Mike McQuaid
If we have a HOMEBREW_REPOSITORY and HOMEBREW_PREFIX mismatch (now the default) then we can block access to the whole of HOMEBREW_REPOSITORY rather than just the HOMEBREW_LIBRARY and `.git`.
2016-09-22update.sh: don't print "checkout branch" message.Mike McQuaid
It’ll only get printed for people getting updated to tags now and these are people who haven’t run a `dev-cmd` so we want to air on the side of telling them less stuff that will confuse them and assume people who have manually made another `git` branch will know how to get back to it.
2016-09-21uninstall: improve pronoun for multiple version messageJoseph Frazier
When exactly two versions of a package were installed, the uninstall message should not read "Remove them all with...", since only one version remains. "Remove all versions with..." is flexible enough to avoid being interpreted as grammatically incorrect, and it still accurately describes the general behavior of `brew uninstall --force`.
2016-09-21update.sh: tweak tag handling.Mike McQuaid
- Don't let the `UPSTREAM_TAG` variable bleed into future repository checks. - Even if the tag branch is an ancestor of the tag ensure that it's forced back to the tag anyway.
2016-09-21update.sh: allow forcing tag update.Mike McQuaid
To test the tag update functionality allow setting `HOMEBREW_UPDATE_TO_TAG`.
2016-09-21update.sh: update to latest Homebrew/brew tag.Mike McQuaid
Rather than following every change on `master` let’s have non-developer users (i.e. those who have never run a `dev-cmd` or set `HOMEBREW_DEVELOPER`) update between tags. This provides a fairly natural beta (the `master` branch`) and stable (the tags) approach without restricting us to any particular way of managing our tags.
2016-09-20update.sh: force a full update if we have no tags.Mike McQuaid
2016-09-20update.sh: always fetch tags.Mike McQuaid
We use these for updating people who just follow tags.
2016-09-20update-report: link new completion/docs locations.Mike McQuaid
2016-09-20list: use new exclude paths.Mike McQuaid
2016-09-20Update documentation links.Mike McQuaid
2016-09-20update-report: migrate on newer auto-update.Mike McQuaid
If we have a `brew.sh` which has set `HOMEBREW_ENABLE_AUTO_UPDATE_MIGRATION` then let's allow an auto-update migration. That's because it contains the fix below it _before_ the update happened which means the auto-update won't fail in the same way as if updating from an old version.
2016-09-20update-report: print message on completion link failure.Mike McQuaid
2016-09-20update-report: don't migrate on auto-update.Mike McQuaid
2016-09-19update-report: Do not migrate `Caskroom` to `HOMEBREW_REPOSITORY`.Markus Reiter
2016-09-19Fix `brew style` from #971.Mike McQuaid
2016-09-19Merge pull request #971 from penman/follow_aliasMike McQuaid
Make `brew upgrade` and `brew outdated` follow alias changes
2016-09-19update-report: tweak migration failure message.Mike McQuaid
2016-09-19update-report: add missing comma.Mike McQuaid
2016-09-19update-report: also migrate Caskroom.Mike McQuaid
2016-09-19style: no args default to Library/Homebrew.Mike McQuaid
2016-09-19style: don't require HOMEBREW_DEVELOPER to fix.Mike McQuaid
2016-09-19style: allow passing taps as arguments.Mike McQuaid