aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
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-18info: print requirementsAndrew Janke
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.
2016-09-17Always run LinkedKegs migration (if needed).Mike McQuaid
Ensure that `brew update` always runs the LinkedKegs migration if needed as it may not have been run by `brew update` if it was using `--preinstall` or a `git pull` etc. Also, if the old paths still exist: just use them instead. Finally, always try to unlink/unpin before link/pin. Fixes https://github.com/Homebrew/homebrew-core/issues/4918.
2016-09-16Move LinkedKegs/PinnedKegs/Locks from Library.Mike McQuaid
These don't make sense to be tied to the `HOMEBREW_REPOSITORY` but instead should live in the `HOMEBREW_PREFIX` as they all relate to its state.
2016-09-15Use constants for LinkedKegs/PinnedKegs/Locks.Mike McQuaid
These definitions are scattered throughout the codebase which makes it hard to refactor them later (my goal is to move them outside of HOMEBREW_LIBRARY). Unify their definitions for clearer code and easier movement later.
2016-09-14Merge pull request #903 from zmwangx/always-show-dev-commandsZhiming Wang
cmd/commands: always show developer commands
2016-09-11cmd/uses: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/upgrade: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/update-report: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/unpack: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/unlinkapps: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/uninstall: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/tap-info: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/search: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/prune: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/missing: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/log: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/list: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/install: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/info: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/help: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/fetch: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/doctor: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/desc: fix Rubocop warnings.Mike McQuaid
2016-09-11cmd/commands: fix Rubocop warnings.Mike McQuaid
2016-09-09cmd/commands: always show developer commandsZhiming Wang
Per discussion in #900. Closes #900.
2016-09-09Merge pull request #896 from MikeMcQuaid/no-chown-usr-localMike McQuaid
Don't require/recommend ownership of /usr/local.
2016-09-09Don't require/recommend ownership of /usr/local.Mike McQuaid
Apple reset this on every OS X major (and some minor) updates and it always proves a painful and unnecessary step. Instead just check the directories we actually care about are writable. This may mean if these directories do not already exist (although they are now created by the installed) that `brew link` will fail and require manual intervention but this seems to be superior for both new and the majority of existing users.
2016-09-08help: rename help section for developers.Mike McQuaid
2016-09-08help: use Commands module.Mike McQuaid