{"action":"created","issue":{"url":"https://api.github.com/repos/netz98/n98-magerun/issues/876","repository_url":"https://api.github.com/repos/netz98/n98-magerun","labels_url":"https://api.github.com/repos/netz98/n98-magerun/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/netz98/n98-magerun/issues/876/comments","events_url":"https://api.github.com/repos/netz98/n98-magerun/issues/876/events","html_url":"https://github.com/netz98/n98-magerun/issues/876","id":193403917,"number":876,"title":"Unable to download file","user":{"login":"Vinai","id":72463,"avatar_url":"https://avatars.githubusercontent.com/u/72463?v=3","gravatar_id":"","url":"https://api.github.com/users/Vinai","html_url":"https://github.com/Vinai","followers_url":"https://api.github.com/users/Vinai/followers","following_url":"https://api.github.com/users/Vinai/following{/other_user}","gists_url":"https://api.github.com/users/Vinai/gists{/gist_id}","starred_url":"https://api.github.com/users/Vinai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vinai/subscriptions","organizations_url":"https://api.github.com/users/Vinai/orgs","repos_url":"https://api.github.com/users/Vinai/repos","events_url":"https://api.github.com/users/Vinai/events{/privacy}","received_events_url":"https://api.github.com/users/Vinai/received_events","type":"User","site_admin":false},"labels":[{"id":10646347,"url":"https://api.github.com/repos/netz98/n98-magerun/labels/bug","name":"bug","color":"fc2929","default":true},{"id":399668408,"url":"https://api.github.com/repos/netz98/n98-magerun/labels/support","name":"support","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-05T03:31:11Z","updated_at":"2016-12-05T10:48:05Z","closed_at":"2016-12-05T09:50:43Z","body":"Installing magerun according to the documentation using the following commanda\r\n\r\n```\r\ncurl -sL https://files.magerun.net/n98-magerun.phar -o /usr/local/bin/n98-magerun\r\nchmod 0755 /usr/local/bin/n98-magerun\r\n```\r\n\r\ncauses the an endless loop of it's re-downloading itself from the same URL until the stack blow.\r\n\r\n```\r\nInfo: Magerun has not been downloaded yet, downloading it ...\r\nInfo: Download done, executing it with original parameters ...\r\nInfo: Magerun has not been downloaded yet, downloading it ...\r\nInfo: Download done, executing it with original parameters ...\r\nInfo: Magerun has not been downloaded yet, downloading it ...\r\n...\r\n```\r\nAs it turns out, the file at https://files.magerun.net/n98-magerun.phar is the same as https://github.com/netz98/n98-magerun/blob/master/n98-magerun.phar..\r\n\r\n```\r\ncurl -sL https://raw.githubusercontent.com/netz98/n98-magerun/master/n98-magerun.phar |  md5\r\ncurl -sL https://files.magerun.net/n98-magerun.phar | md5\r\n```\r\n\r\nBoth have a md5 hash of `d5fc665281a8efcfca17c3d38495dc57`.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/netz98/n98-magerun/issues/comments/264822765","html_url":"https://github.com/netz98/n98-magerun/issues/876#issuecomment-264822765","issue_url":"https://api.github.com/repos/netz98/n98-magerun/issues/876","id":264822765,"user":{"login":"Vinai","id":72463,"avatar_url":"https://avatars.githubusercontent.com/u/72463?v=3","gravatar_id":"","url":"https://api.github.com/users/Vinai","html_url":"https://github.com/Vinai","followers_url":"https://api.github.com/users/Vinai/followers","following_url":"https://api.github.com/users/Vinai/following{/other_user}","gists_url":"https://api.github.com/users/Vinai/gists{/gist_id}","starred_url":"https://api.github.com/users/Vinai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vinai/subscriptions","organizations_url":"https://api.github.com/users/Vinai/orgs","repos_url":"https://api.github.com/users/Vinai/repos","events_url":"https://api.github.com/users/Vinai/events{/privacy}","received_events_url":"https://api.github.com/users/Vinai/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T10:48:05Z","updated_at":"2016-12-05T10:48:05Z","body":"As an intermediate solution I'll try to use a local old copy of magerun in the builds, but it would be great if you could put the right file back to the file.magerun.net location please."}}
{"actor":{"display_login":"Vinai"}}