{"action":"opened","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/10241","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/10241/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/10241/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/10241/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/10241","id":64524951,"number":10241,"title":"Add support for mirror URLs","user":{"login":"radeksimko","id":287584,"avatar_url":"https://avatars.githubusercontent.com/u/287584?v=3","gravatar_id":"","url":"https://api.github.com/users/radeksimko","html_url":"https://github.com/radeksimko","followers_url":"https://api.github.com/users/radeksimko/followers","following_url":"https://api.github.com/users/radeksimko/following{/other_user}","gists_url":"https://api.github.com/users/radeksimko/gists{/gist_id}","starred_url":"https://api.github.com/users/radeksimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radeksimko/subscriptions","organizations_url":"https://api.github.com/users/radeksimko/orgs","repos_url":"https://api.github.com/users/radeksimko/repos","events_url":"https://api.github.com/users/radeksimko/events{/privacy}","received_events_url":"https://api.github.com/users/radeksimko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/discussion","name":"discussion","color":"bfd4f2"},{"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-26T13:21:37Z","updated_at":"2015-03-26T13:21:37Z","closed_at":null,"body":"I can imagine there's a decent number of packages that have multiple (official) sources - download URLs and we should not limit ourselves to a single URL.\r\n\r\nIt may not be easy to add such functionality consider the Homebrew ruins we still have in the codebase, but I merely wanted to open the discussion in the first place to see if there's interest in such feature.\r\n\r\nThe initial implementation can be just to support array of URLs in `url` stanza, later on we can add things like weight/priority, some timeouts per each mirror etc.\r\n\r\nAny suggestion/objections?"}}