Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							c0d06e015c 
							
						 
					 
					
						
						
							
							Merge pull request  #1114  from zmwangx/update-no-restore-stable-branch  
						
						... 
						
						
						
						update.sh: do not restore stable (tag) branch 
						
						
					 
					
						2016-09-24 17:19:44 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							58e36c7319 
							
						 
					 
					
						
						
							
							Fix Style/GuardClause.  
						
						
						
						
					 
					
						2016-09-24 12:24:35 +02:00 
						 
				 
			
				
					
						
							
							
								Zhiming Wang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							07866f0b54 
							
						 
					 
					
						
						
							
							update.sh: do not restore stable (tag) branch  
						
						... 
						
						
						
						Restoring stable branch post-update could lead to unsuspecting users
with homebrew.devcmdrun being stuck forever on an old tag.
Fixes  #1111 . 
						
						
					 
					
						2016-09-24 05:49:04 -04:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							25df0c03d6 
							
						 
					 
					
						
						
							
							Store the formula used to build the keg in the keg  
						
						... 
						
						
						
						Store the formula used to build the keg inside the keg in a
file named NAME/VERSION/.brew/NAME.rb after removing the
bottle do ... end block.
See https://github.com/Homebrew/brew-evolution/pull/6 .
Closes https://github.com/Homebrew/brew/issues/931 . 
						
						
					 
					
						2016-09-23 17:11:24 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							a5b11a6a5c 
							
						 
					 
					
						
						
							
							Fix Style/GuardClause.  
						
						
						
						
					 
					
						2016-09-23 15:30:07 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							ce6994b001 
							
						 
					 
					
						
						
							
							RuboCop has to be run inside HOMEBREW_LIBRARY.  
						
						
						
						
					 
					
						2016-09-23 15:30:06 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							21e0a7efb9 
							
						 
					 
					
						
						
							
							Update rubocop dependency to 0.43.0.  
						
						
						
						
					 
					
						2016-09-23 15:30:06 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							52ff988530 
							
						 
					 
					
						
						
							
							Fix RuboCop CaseEquality.  
						
						
						
						
					 
					
						2016-09-23 15:30:06 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							4cbeb1e981 
							
						 
					 
					
						
						
							
							Merge pull request  #1103  from MikeMcQuaid/update-upstream-tag-strict  
						
						... 
						
						
						
						update.sh: only update to semver tags. 
						
						
					 
					
						2016-09-23 14:26:04 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							b0dfd2d435 
							
						 
					 
					
						
						
							
							update.sh: only update to semver tags.  
						
						... 
						
						
						
						Otherwise random e.g. `pr-123` tags may cause `brew update` to update
to the wrong version. 
						
						
					 
					
						2016-09-23 11:26:24 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							536c48e804 
							
						 
					 
					
						
						
							
							sandbox: tweak HOMEBREW_REPOSITORY handling.  
						
						... 
						
						
						
						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-23 08:29:05 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							b33df4d0fa 
							
						 
					 
					
						
						
							
							update.sh: don't print "checkout branch" message.  
						
						... 
						
						
						
						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-22 09:05:07 +01:00 
						 
				 
			
				
					
						
							
							
								Joseph Frazier 
							
						 
					 
					
						
						
						
						
							
						
						
							66ca9e79fc 
							
						 
					 
					
						
						
							
							uninstall: improve pronoun for multiple version message  
						
						... 
						
						
						
						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-21 11:37:23 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							f9bd121e38 
							
						 
					 
					
						
						
							
							update.sh: tweak tag handling.  
						
						... 
						
						
						
						- 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-21 14:32:48 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							e8ebcb834b 
							
						 
					 
					
						
						
							
							update.sh: allow forcing tag update.  
						
						... 
						
						
						
						To test the tag update functionality allow setting
`HOMEBREW_UPDATE_TO_TAG`. 
						
						
					 
					
						2016-09-21 09:03:52 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							b2c7d6d83d 
							
						 
					 
					
						
						
							
							update.sh: update to latest Homebrew/brew tag.  
						
						... 
						
						
						
						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-21 09:03:51 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							9623272283 
							
						 
					 
					
						
						
							
							update.sh: force a full update if we have no tags.  
						
						
						
						
					 
					
						2016-09-20 17:16:47 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							d62512095f 
							
						 
					 
					
						
						
							
							update.sh: always fetch tags.  
						
						... 
						
						
						
						We use these for updating people who just follow tags. 
						
						
					 
					
						2016-09-20 17:16:47 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							6ff7fed070 
							
						 
					 
					
						
						
							
							update-report: link new completion/docs locations.  
						
						
						
						
					 
					
						2016-09-20 10:41:42 +01:00 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							c0cc703516 
							
						 
					 
					
						
						
							
							update-report: Do not migrate Caskroom to HOMEBREW_REPOSITORY.  
						
						
						
						
					 
					
						2016-09-19 17:49:40 +02: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 
							
						 
					 
					
						
						
						
						
							
						
						
							b0f3e38ff9 
							
						 
					 
					
						
						
							
							update-report: tweak migration failure message.  
						
						
						
						
					 
					
						2016-09-19 14:32:56 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							a2f19f0a67 
							
						 
					 
					
						
						
							
							update-report: tweak migration messaging  
						
						... 
						
						
						
						References #1023 . 
						
						
					 
					
						2016-09-19 09:52:13 +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 
						 
				 
			
				
					
						
							
							
								Andrew Janke 
							
						 
					 
					
						
						
						
						
							
						
						
							245838d86d 
							
						 
					 
					
						
						
							
							info: print requirements  
						
						
						
						
					 
					
						2016-09-18 19:44:41 -04: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 
							
						 
					 
					
						
						
						
						
							
						
						
							8bae49941c 
							
						 
					 
					
						
						
							
							outdated: prefer .join over *.  
						
						
						
						
					 
					
						2016-09-18 19:58:12 +01:00 
						 
				 
			
				
					
						
							
							
								Alyssa Ross 
							
						 
					 
					
						
						
						
						
							
						
						
							d3788c58ef 
							
						 
					 
					
						
						
							
							brew outdated: use full name in verbose  
						
						
						
						
					 
					
						2016-09-18 19:58:12 +01:00 
						 
				 
			
				
					
						
							
							
								Alyssa Ross 
							
						 
					 
					
						
						
						
						
							
						
						
							c874b4e4c2 
							
						 
					 
					
						
						
							
							install: don't install alias if already installed  
						
						
						
						
					 
					
						2016-09-18 19:58:11 +01:00 
						 
				 
			
				
					
						
							
							
								Alyssa Ross 
							
						 
					 
					
						
						
						
						
							
						
						
							2a683f2569 
							
						 
					 
					
						
						
							
							upgrade, outdated: follow alias changes  
						
						
						
						
					 
					
						2016-09-18 19:58:09 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							3f9cce0a03 
							
						 
					 
					
						
						
							
							Use new "macOS" naming where appropriate.  
						
						... 
						
						
						
						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-18 19:57:19 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							fc04d8f4f6 
							
						 
					 
					
						
						
							
							update-report: also create Cellar on migration.  
						
						... 
						
						
						
						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-18 19:32:29 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							ee0fb3e999 
							
						 
					 
					
						
						
							
							update-report: handle directory not existing.  
						
						... 
						
						
						
						This shouldn't be possible to occur after #1013  but it makes sense to
add it anyway. 
						
						
					 
					
						2016-09-18 16:55:59 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							89ebffadec 
							
						 
					 
					
						
						
							
							update-report: create top-level directories later.  
						
						... 
						
						
						
						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-18 16:06:49 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							72d0154454 
							
						 
					 
					
						
						
							
							update-report: migrate everyone to new repository.  
						
						... 
						
						
						
						Also migrate people without `HOMEBREW_DEVELOPER` set to the new
location. 
						
						
					 
					
						2016-09-18 15:44:06 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							e20467971e 
							
						 
					 
					
						
						
							
							Merge pull request  #963  from MikeMcQuaid/migrate-repository  
						
						... 
						
						
						
						update-report: migrate /usr/local repository. 
						
						
					 
					
						2016-09-18 15:41:04 +01:00