aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update-report.rb
AgeCommit message (Collapse)Author
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-14update-report: pass explicit sort to handle APFSDominyk Tiller
2017-10-08Clean up code style and remove `.rubocop_todo.yml`.Markus Reiter
2017-09-07Always output when tapping coreAlyssa Ross
Hiding all output makes it look like Homebrew is hanging while the tap operation (which can take a long time!) is running. Closes #3053.
2017-08-31Don't fail to migrate repo because of empty dirAlyssa Ross
I just ran into an issue where a colleague's Homebrew couldn't update. It seems to have been because it failed once just after the new repo directory was created. Since there was nothing in this directory, there really isn't any reason for us to fail here, so to avoid this problem in the future, try to `rmdir` the directory before failing because it already exists.
2017-07-27Use https for all docs.brew.sh links.Mike McQuaid
May as well use the more secure link when possible.
2017-06-28Refactor using `Forwardable` and `DelegateClass`.Markus Reiter
2017-04-04update-report: don't show new, installed formulae.Mike McQuaid
These were those migrated from other taps but if they are installed already: they aren't new to that user.
2017-03-31migrator: check if taps are from same user insteadMike McQuaid
This avoids needing to use `force: true` and still let's Homebrew do what we want with our own taps.
2017-03-31update-report: more forceful rename migration.Mike McQuaid
Migrate between different taps and delete relevant subdirectories if they can be safely. Also, tweak some naming and use utility methods.
2017-03-21update-report: check migration symlinks.Mike McQuaid
Check if `HOMEBREW_CELLAR/old_name` is a symlink. If so, it's already been migrated so can be skipped.
2017-03-21Merge pull request #2370 from MikeMcQuaid/update-migrate-all-formulaMike McQuaid
update-report: migrate all formulae every time.
2017-03-20update-report: migrate all formulae every time.Mike McQuaid
Unmigrated formulae cause hard-to-debug issues and relying on detection on Git alone is faster but not comprehensive. Instead, iterate through renamed, installed formulae every time and migrate them. Closes #1770.
2017-03-20update-report: migrated formulae were not deleted.Mike McQuaid
The taps they were migrated to are auto-tapped if not already tapped anyway so don't show them as deleted to avoid confusion.
2017-03-11Add `Formatter::pluralize`.Markus Reiter
2017-02-27Merge pull request #1708 from joshka/feature/install-tap-cmd-completionsMike McQuaid
install tap cmd completions
2017-02-26Install tap command completions and manpagesJoshua McKinney
Taps can include completion scripts for external commands under `completions/bash`, `completions/fish`, or `completions/zsh`. `brew tap` will automatically install these into the correct directories during install.
2017-02-17update-report: unlink rather than uninstall --force formula when ...Zhiming Wang
migrating a formula to a cask.
2017-01-04Use docs.brew.sh links.Mike McQuaid
2017-01-02update-report: handle homebrew/versions imports.Mike McQuaid
Imports from homebrew/versions are migrated from that tap and then renamed immediately when they hit homebrew/core. This did not trigger our previous rename detection so address these to improve the output and handle migration correctly.
2016-12-29tap_migrations: support renaming to/from casks.Mike McQuaid
Allow `tap_migrations` entries to have a `user/repo/formula` or `user/repo/cask` format for migration of formulae to/from casks.
2016-11-26update-report: allow skipping analytics message.Mike McQuaid
This is used by the install script so it can simplify it's logic and make the analytics messaging more prominent.
2016-11-26update-report: further tweak analytics output.Mike McQuaid
There were some bugs with the use of `HOMEBREW_NO_ANALYTICS_THIS_RUN` and some output glitches I missed with the previous PR (#1575).
2016-11-26update-report: further improve analytics messagingMike McQuaid
- Don't output the analytics message and mark it as read if `HOMEBREW_NO_ANALYTICS_THIS_RUN` is set. This mostly simplifies the installer code where we can display the message ourselves there rather than having `brew update` print it out sometimes and not others (i.e. when there's no system Git installed). - Use the shell's audible bell to nudge people to actually read this message (and give them less excuse to complain when they don't). - Add an extra newline and bold all the analytics messaging so it's more visible in the output.
2016-11-05update-report: default Caskroom moved to prefix.Mike McQuaid
Look at HOMEBREW_PREFIX rather than HOMEBREW_REPOSITORY for the default Caskroom location.
2016-10-15Convert `puts_columns` to `puts Formatter.columns`.Markus Reiter
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-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-02Remove `private_class_method` from commands.Markus Reiter
2016-10-02Use `module_function` for commands.Markus Reiter
2016-10-01Use Formatter for all URLs.Markus Reiter
2016-10-01Refactor Tty.Markus Reiter
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-20update-report: link new completion/docs locations.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-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-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-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-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.