{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/49864","repository_url":"https://api.github.com/repos/Homebrew/homebrew","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49864/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49864/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49864/events","html_url":"https://github.com/Homebrew/homebrew/pull/49864","id":139128720,"number":49864,"title":"Add echo to brew update, so users don't think it's hanging","user":{"login":"ialexryan","id":2292782,"avatar_url":"https://avatars.githubusercontent.com/u/2292782?v=3","gravatar_id":"","url":"https://api.github.com/users/ialexryan","html_url":"https://github.com/ialexryan","followers_url":"https://api.github.com/users/ialexryan/followers","following_url":"https://api.github.com/users/ialexryan/following{/other_user}","gists_url":"https://api.github.com/users/ialexryan/gists{/gist_id}","starred_url":"https://api.github.com/users/ialexryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ialexryan/subscriptions","organizations_url":"https://api.github.com/users/ialexryan/orgs","repos_url":"https://api.github.com/users/ialexryan/repos","events_url":"https://api.github.com/users/ialexryan/events{/privacy}","received_events_url":"https://api.github.com/users/ialexryan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-07T23:41:38Z","updated_at":"2016-03-12T05:06:34Z","closed_at":"2016-03-08T09:51:47Z","pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49864","html_url":"https://github.com/Homebrew/homebrew/pull/49864","diff_url":"https://github.com/Homebrew/homebrew/pull/49864.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/49864.patch"},"body":"I propose that we print a warning along the lines of \"This may take some time.\" after starting the brew update process.\r\n\r\nA few days ago I ran brew update after several months of not using brew and it took more than 10 minutes to complete.\r\nI assumed it was hanging and almost gave up and reinstalled brew until I noticed that the process was slamming my network with update information.\r\n\r\nI think any user-facing process like this should warn the user if it can take more than a few seconds to complete, mostly so the user doesn't think (as I did) that the process isn't working.\r\n\r\nMy commit might not be right, since I'm not that familiar with brew's core, but I provide it as an option if it looks good."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/195661332","html_url":"https://github.com/Homebrew/homebrew/pull/49864#issuecomment-195661332","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49864","id":195661332,"user":{"login":"ialexryan","id":2292782,"avatar_url":"https://avatars.githubusercontent.com/u/2292782?v=3","gravatar_id":"","url":"https://api.github.com/users/ialexryan","html_url":"https://github.com/ialexryan","followers_url":"https://api.github.com/users/ialexryan/followers","following_url":"https://api.github.com/users/ialexryan/following{/other_user}","gists_url":"https://api.github.com/users/ialexryan/gists{/gist_id}","starred_url":"https://api.github.com/users/ialexryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ialexryan/subscriptions","organizations_url":"https://api.github.com/users/ialexryan/orgs","repos_url":"https://api.github.com/users/ialexryan/repos","events_url":"https://api.github.com/users/ialexryan/events{/privacy}","received_events_url":"https://api.github.com/users/ialexryan/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T05:06:34Z","updated_at":"2016-03-12T05:06:34Z","body":"Thanks for the comment! Allow me to provide additional data which leads me to respectfully disagree. \r\n\r\nYour answer made me think that maybe the problem last time was my six-month-old brew installation, so I just now re-ran `brew update`.\r\n\r\nDespite only being four days out of date, it took over 30 seconds before the first output was printed to the console. I'm on a rock-solid university WiFi network, ten feet from the nearest AP, <75ms ping to github.com.\r\n\r\nI didn't see any output from `git` during that 30 seconds. After 30 seconds, `Updated Homebrew from d08692f to 569c410.` was printed along with a list of changed packages.\r\n\r\nPersonally, I think the only way my original suggestion could be made irrelevant is if we could guarantee that `brew update` will always complete within 5 or 10 seconds regardless of network conditions, which is an essentially impossible guarantee to make."}}