aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
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
2016-09-19update-report: tweak migration messagingMike McQuaid
References #1023.
2016-09-19Merge pull request #1011 from MikeMcQuaid/migrate-legacy-repository-everyoneMike McQuaid
update-report: migrate everyone to new repository.
2016-09-19Merge pull request #1019 from MikeMcQuaid/macos-renameMike McQuaid
Use new "macOS" naming where appropriate.
2016-09-18update-report: remove cask dir after migration.Mike McQuaid
This will hang around otherwise due to e.g. running `bundle install` in here once.
2016-09-18update-report: cleanup git harder in migration.Mike McQuaid
Before stashing also try to cancel any current merge, rebase and reset. This will prevent any data loss but also make the stash more likely to succeed.
2016-09-18Merge pull request #1018 from MikeMcQuaid/update-migration-create-cellarMike McQuaid
update-report: also create Cellar on migration.
2016-09-18outdated: prefer .join over *.Mike McQuaid
2016-09-18brew outdated: use full name in verboseAlyssa Ross
2016-09-18install: don't install alias if already installedAlyssa Ross
2016-09-18upgrade, outdated: follow alias changesAlyssa Ross
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-18update-report: also create Cellar on migration.Mike McQuaid
Just on the off chance it doesn't exist (i.e. no-one has installed anything yet or you're a `test-bot` that's run `git clean -xdf` recently)
2016-09-18update-report: handle directory not existing.Mike McQuaid
This shouldn't be possible to occur after #1013 but it makes sense to add it anyway.
2016-09-18update-report: create top-level directories later.Mike McQuaid
Otherwise if they are created and empty they may be removed again before we try to create the `/usr/local/bin/brew` symlink.
2016-09-18update-report: migrate everyone to new repository.Mike McQuaid
Also migrate people without `HOMEBREW_DEVELOPER` set to the new location.
2016-09-18Merge pull request #963 from MikeMcQuaid/migrate-repositoryMike McQuaid
update-report: migrate /usr/local repository.
2016-09-18Merge pull request #1007 from MikeMcQuaid/update-remote-refMike McQuaid
update.sh: turn origin/branch into a variable.
2016-09-18update-report: migrate /usr/local repository.Mike McQuaid
Migrate a HOMEBREW_REPOSITORY and HOMEBREW_PREFIX of `/usr/local` so that the HOMEBREW_REPOSITORY is now in `/usr/local/Homebrew`. This gives us more flexibility on changing the repository layout in future and avoids putting junk in `/usr/local` when not necessary (e.g. our `README.md`).
2016-09-18update.sh: turn origin/branch into a variable.Mike McQuaid
Rather than repeating origin multiple times.
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-17Move LinkedKegs migration.Mike McQuaid
Move the `LinkedKegs` migration into `utils.rb` so it can also be called from `brew.rb` on startup.