9745 Commits

Author SHA1 Message Date
Mike McQuaid
4e6990ed81 list: use new exclude paths. 2016-09-20 10:41:42 +01:00
Mike McQuaid
b85ee1cb8f Update documentation links. 2016-09-20 10:41:42 +01:00
Mike McQuaid
f87e3626bb Merge pull request #1039 from MikeMcQuaid/readme-tweaks
Readme tweaks
2016-09-20 09:49:38 +01:00
Mike McQuaid
51ed08d733 man: read lead, former maintainers, creator. 2016-09-20 09:31:19 +01:00
Mike McQuaid
2ecd73bca4 update-report: migrate on newer auto-update.
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-20 09:07:02 +01:00
Mike McQuaid
622e858b6e test-bot: always set PATH to HOMEBREW_PREFIX.
Set the `PATH` to always have the `bin` and `sbin` for the current
`HOMEBREW_PREFIX` at the beginning.
2016-09-20 08:42:30 +01:00
Mike McQuaid
f62223cb8a Merge pull request #1010 from rwhogg/update-linux-troubleshooting-page
os: update Linux troubleshooting url
2016-09-20 08:27:28 +01:00
Mike McQuaid
f78b737d9b Merge pull request #1035 from MikeMcQuaid/no-auto-update-migration
No auto update migration
2016-09-20 08:21:27 +01:00
Mike McQuaid
7ef74614e7 Merge pull request #985 from MikeMcQuaid/drop-mavericks
os/mac: mark Mavericks as outdated.
2016-09-20 08:20:25 +01:00
Mike McQuaid
5d7911fa71 Merge pull request #1028 from penman/install_gems_to_gem_home
Use user GEM_HOME for installing gems
2016-09-20 08:10:23 +01:00
Mike McQuaid
8bf405e5f7 update-report: print message on completion link failure. 2016-09-20 08:03:06 +01:00
Mike McQuaid
1f128331b6 update-report: don't migrate on auto-update. 2016-09-20 08:02:52 +01:00
Alyssa Ross
28f707c907 tab: test tap runtime dependencies 2016-09-19 21:03:55 +01:00
Alyssa Ross
41e25209f7 Save runtime dependencies in INSTALL_RECEIPT.json
Fixes #930
2016-09-19 20:53:39 +01:00
Alyssa Ross
4c773725c7 Use user GEM_HOME for installing gems
Save the value of GEM_HOME before unsetting it,
and resetting it when setting up a gem environment.

Fixes #944.
2016-09-19 19:09:55 +01:00
Markus Reiter
c0cc703516 update-report: Do not migrate Caskroom to HOMEBREW_REPOSITORY. 2016-09-19 17:49:40 +02:00
Markus Reiter
6fe7019020 Make HOMEBREW_PREFIX/Caskroom the default. 2016-09-19 17:49:40 +02:00
Mike McQuaid
3ffb9a2f7c Fix another brew style from #971. 2016-09-19 16:28:28 +01:00
Mike McQuaid
c9d9e54de6 Fix brew style from #971. 2016-09-19 16:04:32 +01:00
Mike McQuaid
c45119de75 Merge pull request #971 from penman/follow_alias
Make `brew upgrade` and `brew outdated` follow alias changes
2016-09-19 15:22:24 +01:00
Mike McQuaid
7ed7e3cd1a Merge pull request #1026 from MikeMcQuaid/migration-auto-update-fix
brew.sh: fix repository auto-update change.
2016-09-19 14:56:59 +01:00
Mike McQuaid
b0f3e38ff9 update-report: tweak migration failure message. 2016-09-19 14:32:56 +01:00
Mike McQuaid
c30665afa6 brew.sh: fix repository auto-update change.
On auto-update `HOMEBREW_LIBRARY` may change location which means that
it won't be found for the actual install command. Look for this having
occurred and then set the new `HOMEBREW_LIBRARY` (and
`HOMEBREW_REPOSITORY`) accordingly.
2016-09-19 14:12:44 +01:00
Mike McQuaid
13f08a2bd4 update-report: add missing comma. 2016-09-19 11:51:17 +01:00
Mike McQuaid
a212340cc1 update-report: also migrate Caskroom. 2016-09-19 11:43:11 +01:00
Mike McQuaid
7a9934ffa3 test-bot: brew prune after removing formulae. 2016-09-19 11:24:36 +01:00
Mike McQuaid
8a4f26f952 test-bot: run brew style. 2016-09-19 11:18:10 +01:00
Mike McQuaid
263a8a0b73 style: no args default to Library/Homebrew. 2016-09-19 11:18:10 +01:00
Mike McQuaid
3686243e5a style: don't require HOMEBREW_DEVELOPER to fix. 2016-09-19 11:18:09 +01:00
Mike McQuaid
e79f62b2ea style: allow passing taps as arguments. 2016-09-19 11:18:09 +01:00
Mike McQuaid
515f7b5255 Unify .rubocopy.yml files. 2016-09-19 11:18:09 +01:00
Mike McQuaid
569dbf4d05 utils: skip migration of broken formulae symlinks.
Closes https://github.com/Homebrew/homebrew-core/issues/4973
2016-09-19 10:40:18 +01:00
Mike McQuaid
a2f19f0a67 update-report: tweak migration messaging
References #1023.
2016-09-19 09:52:13 +01:00
Mike McQuaid
a09799f25a os/mac: fall back to old environment.
Can't see how this could ever happen but let's safe-guard it just in
case (as ilovezfs saw it).
2016-09-19 09:17:35 +01:00
Mike McQuaid
6e1312d4a1 Merge pull request #1011 from MikeMcQuaid/migrate-legacy-repository-everyone
update-report: migrate everyone to new repository.
2016-09-19 09:05:14 +01:00
Mike McQuaid
167af26a24 Merge pull request #1019 from MikeMcQuaid/macos-rename
Use new "macOS" naming where appropriate.
2016-09-19 08:17:36 +01:00
Mike McQuaid
7e7a714505 Merge pull request #1021 from MikeMcQuaid/update-migration-remove-cask
update-report: remove cask dir after migration.
2016-09-19 08:16:26 +01:00
Mike McQuaid
954de55323 Merge pull request #1022 from MikeMcQuaid/keg-prune-linked
keg: only prune var/homebrew/linked.
2016-09-19 08:16:13 +01:00
Mike McQuaid
e4fb2ce3bd Merge pull request #1015 from MikeMcQuaid/relocate-repository
Relocate HOMEBREW_REPOSITORY when necessary.
2016-09-19 08:14:44 +01:00
Alyssa Ross
d89a696d83 Remove unused variable
This will make brew readall --syntax pass
2016-09-19 02:24:21 +01:00
Alyssa Ross
6ec14288aa Formulae aren't outdated if replacement formula installed 2016-09-19 02:08:42 +01:00
Alyssa Ross
4abd48812b alias tracking: add formula tests 2016-09-19 02:08:39 +01:00
Alyssa Ross
e12c23faa8 Formula#old_installed_formula?: fix some bugs
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-18 23:59:55 +01:00
Mike McQuaid
ac31a6518e keg: only prune var/homebrew/linked.
`var/homebrew` is too broad and ends up deleting and recreating the
locks directory repeatedly.
2016-09-18 21:52:42 +01:00
Alyssa Ross
912b8d4776 formula tests: more consistent names 2016-09-18 21:43:54 +01:00
Mike McQuaid
d0204207ed update-report: remove cask dir after migration.
This will hang around otherwise due to e.g. running `bundle install` in
here once.
2016-09-18 21:42:44 +01:00
Mike McQuaid
42e9782dd6 update-report: cleanup git harder in migration.
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-18 20:25:18 +01:00
Mike McQuaid
027d8923f2 Merge pull request #1018 from MikeMcQuaid/update-migration-create-cellar
update-report: also create Cellar on migration.
2016-09-18 20:18:53 +01:00
Mike McQuaid
132ed2bcd5 Merge pull request #1016 from MikeMcQuaid/migrate-handle-more-symlink-fails
update-report: handle directory not existing.
2016-09-18 20:18:42 +01:00
Mike McQuaid
b383d95352 os/mac: mark Mavericks as outdated. 2016-09-18 19:59:08 +01:00