aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-09-19Merge pull request #1015 from MikeMcQuaid/relocate-repositoryMike McQuaid
Relocate HOMEBREW_REPOSITORY when necessary.
2016-09-19Remove unused variableAlyssa Ross
This will make brew readall --syntax pass
2016-09-19Formulae aren't outdated if replacement formula installedAlyssa Ross
2016-09-19alias tracking: add formula testsAlyssa Ross
2016-09-18Formula#old_installed_formula?: fix some bugsAlyssa Ross
Previously, this method would: - Include the current formula - Include the current target of the installed alias, which by definition is not "old" This commit fixes both of these issues. Only formulae that are the current target of the alias they were installed with are now considered to have old installed formulae.
2016-09-18keg: only prune var/homebrew/linked.Mike McQuaid
`var/homebrew` is too broad and ends up deleting and recreating the locks directory repeatedly.
2016-09-18formula tests: more consistent namesAlyssa Ross
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-18Merge pull request #1016 from MikeMcQuaid/migrate-handle-more-symlink-failsMike McQuaid
update-report: handle directory not existing.
2016-09-18os/mac: mark Mavericks as outdated.Mike McQuaid
2016-09-18Make Formula#installed_alias_target_changed? clearerAlyssa Ross
2016-09-18outdated: prefer .join over *.Mike McQuaid
2016-09-18Update formula tests for #outdated_kegsAlyssa Ross
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-18Add Formula#installed_alias_pathAlyssa Ross
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-18test-bot: uninstall all formula on cleanup.Mike McQuaid
Need to do this manually now that we can't rely on `git clean -xdf` to do it for us.
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-18Relocate HOMEBREW_REPOSITORY when necessary.Mike McQuaid
Now that the default from the installer, our CI and soon all users is `/usr/local/Homebrew` it's a lot easier to check if there's references to it (as we cannot look for `/usr/local` as it's a too commonly hardcoded path).
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-18os: update Linux troubleshooting urlBob W. Hogg
The existing one has two issues: * It doesn't reflect Linuxbrew's move to a separate GitHub org * It redirects to the legacy-linuxbrew (pre-core/brew split) wiki
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-18Merge pull request #989 from MikeMcQuaid/rubocop-finalMike McQuaid
Rubocop: apply auto-corrections and don't use hash-rockets
2016-09-17Merge pull request #1003 from zmwangx/utils-pathname-to-stringilovezfs
utils: convert formula name from pathname to string
2016-09-18Merge pull request #982 from zmwangx/dumb-term-in-testZhiming Wang
formula: set TERM to dumb during test
2016-09-17utils: convert formula name from pathname to stringZhiming Wang
`name` is passed as argument to Formulary.factory which could later be downcased at formulary.rb:349, but Pathname doesn't have a downcase method. Converting `name` to String as it should be fixes the problem. Fixes #1000.
2016-09-17utils: create missing kegs directories if needed.Mike McQuaid
2016-09-17utils: remove bad symlink if it already exists.Mike McQuaid
2016-09-17Merge pull request #992 from MikeMcQuaid/migrate-legacy-symlinks-harderMike McQuaid
Improve legacy symlink migration.
2016-09-17Improve legacy symlink migration.Mike McQuaid
Read the old symlinks and migrate them across rather than assuming a unlink/link will work fine (as users have conflicts.)
2016-09-17Improve rescue nesting.Mike McQuaid
2016-09-17no_weak_imports: always check for supportilovezfs
ENV.no_weak_imports should be a no-op when Xcode doesn't support the feature to avoid breaking builds with <= Xcode 7.
2016-09-17Add Rubocop TODO list.Mike McQuaid
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-17rubocop --auto-correct all remaining files.Mike McQuaid
But remove some manual `.freeze`s on constants that shouldn't be constants.
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-17Merge pull request #984 from MikeMcQuaid/support-sierraMike McQuaid
os/mac: officially support Sierra.
2016-09-17Merge pull request #983 from MikeMcQuaid/update-force-linkedkegs-migrationMike McQuaid
Always run LinkedKegs migration (if needed).
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-17os/mac: officially support Sierra.Mike McQuaid
We have a GM, a bunch of bottles and CI setup.
2016-09-17test-bot: generate coverage reports on Sierra.Mike McQuaid
We may have two Sierra nodes available which could speed up this relatively slow operation.